试图执行这个shell脚本。# Proper header for a Bash script.
# Insert code here to print error message and exit if not root.
# Variables are better than hard-coded values.cat /dev/null >
但它在linux环境中运行时显示错误。我也想实现的程序,如果用户移动的鼠标在x轴不同的距离,如2厘米,4厘米,然后它将打印一些声明。如何在linux中初始化鼠标,并在用户移动鼠标时获得光标坐标(x,y)。#include <dos.h> union REGS in, out; void detect_mouse ()