'screen ctrl s'에 해당되는 글 1건

  1. 2012.07.23 screen에서 ctrl+s 잘못 눌러서 먹통 됐을 때...


ctrl + q를 눌러주면 된다.  자세한 내용은 아래를 참조하자.

Screen CTRL-S Bug

When switching between terminals and text editors the occasional ctrl-s gets accidentally typed into the terminal. For along time I thought that this was a bug in screen but it is a standard terminal feature. Ctrl-s calls the software flow control method XOFF which stops the character flow to the terminal, which when you did not realise what you pressed just seems to freeze the terminal.

ctrl-q calls XON and starts the terminal again.

For a more permanent fix you can add this to your .bashrc (not sure how other shells are effected).

stty ixany

Which allows any character to call XON, so the character press is sent and displayed and you will never be aware of the terminal freezing.

If this does not work for you, or you also don't seem to be able to send ctrl-s ctrl-q commands to terminal applications you can use
stty stop undef To unmap ctrl-s
stty start undef To unmap ctrl-q

Or to stop XOFF and XON being sent from the keyboard but still allowing other software to send the commands use
stty ixoff -ixon
NB: ctrl-q can now be used to shutdown rtorrent

신고

'리눅스 > 스크립트/유틸' 카테고리의 다른 글

.svn 지우기  (0) 2012.08.05
Code Sourcery 설치하기  (0) 2012.07.31
screen에서 ctrl+s 잘못 눌러서 먹통 됐을 때...  (0) 2012.07.23
vi 검색한 내용 copy, paste 하기  (0) 2012.07.02
samba 로그인 정보 지우기/보기  (0) 2012.06.23
SVN in conflict  (0) 2012.06.21
Posted by code cat

티스토리 툴바