[clug] Terminal Control Sequences

Scott Ferguson prettyfly.productions at gmail.com
Sun Jul 4 22:57:50 MDT 2010


On Mon, 5 Jul 2010 00:53:53 +1000  moncojhr wrote:
> To: linux at lists.samba.org
> Subject: Re: [clug] Terminal Control Sequences
> Message-ID:
> 	<AANLkTinlnbUhWJyBgl9IZ35p46SiClKrtT4AAiFjaWdV at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks for the input, so for instance with this:
>
> echo -e '\033]2;Hello\007'
>
> which is ESC ] 2 ; Hello BEL
>
> Am I able to actually type this in?
>
> So far i tried to type in the sequence
>
> ESC ] 2 ; H e l l o Ctrl+G
>
> But nothing happens? Where as echo -e '\033]2;Hello\007' does work, so...
> maybe ctrl+g is not inputing a BEL character?
>
> Thanks!
>
>   
I no longer run GNOME (and I don't run Ubuntu) so I am unable to
determine why you can't "actually type this in". Perhaps some of the
other list posters can help?

You asked about using cat to change the window title, hence the example.
(which I know to work in the past in gnome-terminal).

I "suspect" you need to look at David Schoens' post for your answer.

Best wishes :-)


More information about the linux mailing list