[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Xterm OSC not working inside screen
From: |
Michael Schroeder |
Subject: |
Re: Xterm OSC not working inside screen |
Date: |
Mon, 8 May 2006 14:28:28 +0200 |
User-agent: |
Mutt/1.4.2.1i |
On Mon, May 08, 2006 at 03:00:19PM +1000, Dennis McGregor wrote:
> $ echo -n "\eP\e]4;1;?\007\e\\"
> works for me.
>
> from the manual: Virtual Terminal->Control Sequences:
> ESC P (A) Device Control String
> Outputs a string directly to the host
> terminal without interpretation.
>
> and I'm not sure why, but while in xterm this works when ending the string
> with
> either BEL ( \007 ) *or* ST ( \e\ ), in screen it seems to require both...
The \e\\ ends the ESC P sequence you send to screen, the \007 ends
the sequence for the xterm.
Cheers,
Michael.
--
Michael Schroeder address@hidden
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}