stty 설정이 적용 안될 때
글쓴이: closeyes / 작성시간: 목, 2006/11/30 - 10:44오전
stty라는 걸로 terminal 설정을 변경했습니다.
변경한 옵션은
eof=^D 를 eof= 로 바꿨습니다.
터미널에서 ctrl+D를 눌렀을 때 해당 커넥션이 종료되는데요. 위에 설정으로 단축키를 해제했습니다.그런데 설정하고도 ctrl+d를 누르면 끈기네요.
설정해본거는 RHE3, fedora core5, solaris 입니다.RHE3랑 fedora core5에서는 설정을 해도 변화가 없는데, solaris 8에서 적용했을 때는 ctrl+D를 눌러도 안끈기네요.그래서 solaris옵션이랑 이리저리 비교가면서 설정을 바꿔봐도 원인이 파악안되네요. 헬프 미~
아래는 리눅스랑 솔라리스 stty 옵션리스트 입니다.
==================================================================== RHE ==================================================================== %stty -a speed 9600 baud; rows 34; columns 89; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = <undef>; 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 ===================================================================== Solaris ===================================================================== %stty -a speed 38400 baud; rows = 34; columns = 89; ypixels = 0; xpixels = 0; csdata ? eucw 1:0:0:0, scrw 1:0:0:0 intr = ^c; quit = ^\; erase = ^h; kill = ^u; eof = <undef>; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^q; stop = ^s; susp = ^z; dsusp = ^y; rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v; -parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff -parext -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc ixon -ixany -ixoff imaxbel isig icanon -xcase echo echoe echok -echonl -noflsh -tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
Forums:
man 님 왈:값에다
man 님 왈:
감사합니다. ^-로
감사합니다. ^-로 설정하니까 되네요! ^_^
댓글 달기