From: jj@franjam.org.uk   
      
   On 2026-03-01, Jim Diamond wrote:   
   >   
   > After I sent my last email, I started to wonder whether it could be a   
   > window manager thing.   
   >   
   > I am using fvwm3.   
   >   
   > By the way, I looked only (only for a few minutes), and didn't find any web   
   > page or "cheat sheet" or ... which mentioned using '30' to set the window   
   > title. Did you get that off some web site somewhere, deep inside some   
   > documentation, or ... ?   
      
   Sorry don't understand the "30" reference.   
      
   Sending control sequences to the terminalemulator can be difficult to   
   understand, as you have to get the control characters "past" the shell   
   interface you are using to type the command. Someone above (sorry I   
   forget the attribution) made the best suggestion of   
      
    echo -en "\033]0;Hello World\007"   
      
   where every character is from the ascii display character set and there   
   is no confusion as to control keys etc.   
      
   \033 tells echo to send the character whose octal value is 033 (or   
   decimal 27) which is the control code, ESC, that starts a command sequence   
   to the terminalemulator software. \007 codes for the control code, BEL   
   (confusingly!) which terminates this command sequence. The command "0;"   
   is used to set the title to the characters that follow upto the BEL.   
      
   For the full list of xterm command sequences see   
      
    https://www.xfree86.org/current/ctlseqs.html   
      
   and search for "title".   
      
   cheers   
      
   p.s. apologies if I was teaching you to suck eggs!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|