Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #37798

Re: Titles in lxterminal

From Jim Jackson <jj@franjam.org.uk>
Newsgroups comp.sys.raspberry-pi
Subject Re: Titles in lxterminal
Date 2026-03-01 11:39 +0000
Organization A noiseless patient Spider
Message-ID <slrn10q89b0.2c4.jj@iridium.wf32df> (permalink)
References (4 earlier) <slrn10pv8mf.jdb.zsd@x360.localdomain> <slrn10q3h9c.gle.jj@iridium.wf32df> <slrn10q4brk.app.zsd@x360.localdomain> <slrn10q5kag.4oh.jj@iridium.wf32df> <slrn10q77og.dlq.zsd@x360.localdomain>

Show all headers | View raw


On 2026-03-01, Jim Diamond <zsd@jdvb.ca> 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!

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Titles in lxterminal bp@www.zefox.net - 2026-02-18 20:04 +0000
  Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-18 20:15 +0000
    Re: Titles in lxterminal bp@www.zefox.net - 2026-02-19 03:22 +0000
      Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-19 16:53 +0000
      Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-20 15:50 -0400
  Re: Titles in lxterminal Theo <theom+news@chiark.greenend.org.uk> - 2026-02-19 00:43 +0000
    Re: Titles in lxterminal bp@www.zefox.net - 2026-02-19 03:47 +0000
      Re: Titles in lxterminal Richard Harnden <richard.nospam@gmail.invalid> - 2026-02-19 16:01 +0000
        Re: Titles in lxterminal bp@www.zefox.net - 2026-02-19 16:54 +0000
          Re: Titles in lxterminal Richard Harnden <richard.nospam@gmail.invalid> - 2026-02-19 17:52 +0000
          Re: Titles in lxterminal bp@www.zefox.net - 2026-02-22 00:21 +0000
            Re: Titles in lxterminal Richard Harnden <richard.nospam@gmail.invalid> - 2026-02-23 10:26 +0000
              Re: Titles in lxterminal bp@www.zefox.net - 2026-02-23 18:18 +0000
                Re: Titles in lxterminal druck <news@druck.org.uk> - 2026-02-23 23:46 +0000
                Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-25 19:45 +0000
                Re: Titles in lxterminal druck <news@druck.org.uk> - 2026-02-25 20:42 +0000
                Re: Titles in lxterminal Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-25 22:28 +0000
                Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-27 16:29 +0000
                Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-27 16:29 +0000
        Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-19 16:57 +0000
    Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-20 15:42 -0400
      Re: Titles in lxterminal Theo <theom+news@chiark.greenend.org.uk> - 2026-02-20 20:49 +0000
        Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-25 21:33 -0400
          Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-27 16:24 +0000
            Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-27 19:57 -0400
              Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-02-28 11:28 +0000
                Re: Titles in lxterminal Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-28 22:15 +0000
                Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-02-28 22:06 -0400
                Re: Titles in lxterminal Jim Jackson <jj@franjam.org.uk> - 2026-03-01 11:39 +0000
            Re: Titles in lxterminal Jim Diamond <zsd@jdvb.ca> - 2026-03-02 21:16 -0400
  Re: Titles in lxterminal Gordon Henderson <gordon+usenet@drogon.net> - 2026-02-19 16:24 +0000
    Re: Titles in lxterminal bp@www.zefox.net - 2026-02-19 17:03 +0000
      Re: Titles in lxterminal Gordon Henderson <gordon+usenet@drogon.net> - 2026-02-19 20:06 +0000
        Re: Titles in lxterminal Theo <theom+news@chiark.greenend.org.uk> - 2026-02-19 22:55 +0000

csiph-web