LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 863|回复: 1

完善一个信号和shell中键盘促发的对应关系列表

[复制链接]
发表于 2003-9-19 09:09:36 | 显示全部楼层 |阅读模式
希望大家知道什么就添什么,一下使我所的到的


SIGINT            ctrl + c
SIGTSTP      ctrl + z
SIGQUIT           ctrl +  \
===============================================================
我就知道以上三个,大家补充一下,thank you !

SIGHUP        
SIGILL         
SIGTRAP        
SIGBUS         
SIGSEGV        
SIGFPE         
SIGIOT         
SIGKILL        
SIGPIPE        
SIGALARM
SIGTERM
SIGSTOP
SIGCONT
SIGURG  
SIGIO   
SIGCHLD
SIGTTOU
SIGTTIN
SIGXGPU
SIGXFSZ
SIGWINCH
SIGPROF
SIGUSR1
SIGUSR2
SIGVTALRM
发表于 2003-9-19 10:47:16 | 显示全部楼层
$stty -a
speed 38400 baud; rows 34; columns 99; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q;
stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany
-imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke

我认为是 stty 的设置,不是所有的 SIGNAL 都有键盘对应的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表