Special characters
Hi,
How can I program characters like ESCAPE, CTL- , ALT+, in a shell script. Thans for help |
this might help:
schneidz@lq> echo 55"\012" 6 55 6 schneidz@lq> echo 55"\010" 6 5 6 "\012" is the octal for line feed. and "\010" is the octal for backspace. good luck, |
Hi,
If you are using the vi (vim) editor, you can hit "control-v" followed by the character you want while in insert mode. "Control-v" instructs vi to take the next character literally. So for an escape you would type control-v and press the esc key, for CTL+ you would hit control-v and then press control-+, etc. |
Quote:
|
All times are GMT -5. The time now is 12:16 PM. |