[clug] Terminal Control Sequences

Owen rcook at pcug.org.au
Sun Jul 4 23:21:54 MDT 2010


> On 05/07/2010, at 00:53 , moncojhr wrote:
>
>> 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?
>
> I have this function defined in my collection of ZSH scripts:
>
> function settitle
> {
>         print -Pn "\e]0;$1\a"
>         return 0
> }

>
> Sadly I haven't had the time/motivation to make the same thing work
> for Bash or other shells.




More information about the linux mailing list