/
'@' key moves the cursor to new line

'@' key moves the cursor to new line

PROBLEM DESCRIPTION


When I enter the '@' key, cursor moves to new line.



RESOLUTION


In some UNIX/Linux servers, '@' key is configured to send the terminal control character, 'intr'. Control character, 'intr', interrupts the current operation. When the server receives this control character, it stops the current operation and moves cursor to the new line. The main difference between the enter key and the intr key is that the Enter key sends the command as opposed to the intr key which cancels the current command input and moves to the new line so nothing is executed.


To use the '@' key as normal 'at sign' character, you need to assign the interrupt signal to a different character. The following command assigns ctrl-c to intr.
stty intr ^C 
To list all the terminal control characters, use the following command:
$ stty -a

Related content

Sending Strings to Multiple Open Sessions
Sending Strings to Multiple Open Sessions
Read with this
Maping of keys [1]
Maping of keys [1]
More like this
Making an SSH connection to an AWS EC2 server
Making an SSH connection to an AWS EC2 server
Read with this
Ctrl+C 대신 새로운 키 매핑을 통한 프로세스 중단(interrupt) 방법
Ctrl+C 대신 새로운 키 매핑을 통한 프로세스 중단(interrupt) 방법
More like this
'@'키를 눌렀을 때 라인이 변경되는 경우
'@'키를 눌렀을 때 라인이 변경되는 경우
More like this
How do I send a 'break' in telnet and serial connections? [3]
How do I send a 'break' in telnet and serial connections? [3]
More like this