[08.05.06 05:38] Nikolai Weibull <[EMAIL PROTECTED]> wrote:
> Yes, I've tried
> termcapinfo xterm* XT
> in my screenrc, but it still doesn't work.
> Am I missing something here?
> I'm "echo -n"-ing "^[]4;1;?^[\", which works fine inside an xterm, but
> not inside a screen.
> (What I'm trying to achieve is to get the value of a given color in xterm.)
> Thanks.
> nikolai
$ 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...
^d
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users