Re: ANN: xterm patch #236

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Having studied the

   http://invisible-island.net/xterm/ctlseqs/ctlseqs.html

document I discovered several very useful xterm escape-sequence
features. There is one of which I am not able to put to work properly though, so here is the puzzle. :-)


Lets consider the sequence category

   CSI P s ; P s ; P s t     Window manipulation ...

and in particular

   P s = 2 1   -> Report xterm window’s title as OSC l title ST

(It appears  " OSC l title ST "  means  " ESC] l title ESC\ ")


Obviously something like

   #!/bin/sh
   t=`echo -ne "\033[21t"`
   for i in 5 4 3 2 1
   do
     echo -ne "\033]2;...wait $i...\07"
     sleep 1
   done
   echo "$t"


doesn't work as l above needs to be replaced by 2; and ESC\ by \07 provided this is kind of approach is possible at all.

Is there any way to use this above escape sequence in the sense as apparent from the above shell script? ... or how is this sequence supposed to be used?

Thanks in advance for your time,

    Eeri Kask

_______________________________________________
Devel mailing list
Devel@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [XFree86]     [XFree86 Newbie]     [X.Org]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux