[clug] Terminal Control Sequences

steve jenkin sjenkin at canb.auug.org.au
Sun Jul 4 16:11:47 MDT 2010


Duncan Roe wrote on 5/07/10 7:59 AM:
> This works for me:
> 
> e c h o   ' Ctrl+V ESC ] 2 ; H e l l o Ctrl+V Ctrl+G '
> 
> 3 points to note:
> 
> 1. You need to use echo so xterm sees the control sequence
> 2. You need to quote the string to escape the contained semicolon

D'oh!!! missed that. unescaped ";" or ":" is a killer for any shell :-(

> 3. You need to escape typed control characters with Ctrl+V to get them past bash
> 
> Cheers ... Duncan.


More information about the linux mailing list