Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Escape | 5 comments | Create New Account
Click here to return to the 'Escape' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Escape
Authored by: signals on Jan 24, '03 09:11:37AM

Just FYI, not only is ^[ a Control-[, but it is also an escape. You can insert escapes by hitting Control-V then pressing the escape key while in insert mode in vi.

One minor annoyance with these echo aliases for terminal control is that if you do somehting like "alias" by itself, or "cat .bashrc" each of the Terminal.app aliases executes and the window bounces all over the screen. (At least it does in bash.)

-Signals



[ Reply to This | # ]
Escape
Authored by: erikh on Jan 07, '05 11:17:07PM

For just this reason, bash has an escape 'escape macro' (how's that for recursion!) in it's overloaded 'echo' as \e. I would be surprised if tcsh doesn't have an equivalent function.



[ Reply to This | # ]