Re: Titles in lxterminal

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Titles in lxterminal
De : gordon+usenet (at) *nospam* drogon.net (Gordon Henderson)
Groupes : comp.sys.raspberry-pi
Date : 19. Feb 2026, 17:24:44
Autres entêtes
Organisation : Drogon Towers
Message-ID : <10n7dgc$3l8u3$1@dont-email.me>
References : 1
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <10n560g$2u42e$1@dont-email.me>,  <bp@www.zefox.net> wrote:
From time to time I get badly confused about which terminal window does what.
This is on a Pi5 running bookworm, if it matters.

This is on "generic Linux" if it matters:

In ~/bin I have an executable script:

#!/bin/sh

if [ "x$*" = x ]; then
  echo -n "\033];`hostname`\007"
else
  echo -n "\033];$*\007"
fi

I call it 'xtt' (xterm title - works in xterm and other terminals I use)
You make it yours and call it what you like.

So xtt on it's own resets the title to your hostname (handy if you login
to many systems) othrwise it sets the title to whatever you put on the
command line

  xtt silly editing session

for example

Your challenge is to make it work automatically for every command
you type.. (I don't need that functionality, I use it inside other
scripts that start stuff)

Gordon

Date Sujet#  Auteur
18 Feb 26 * Titles in lxterminal34bp
18 Feb 26 +* Re: Titles in lxterminal4Jim Jackson
19 Feb 26 i`* Re: Titles in lxterminal3bp
19 Feb 26 i +- Re: Titles in lxterminal1Jim Jackson
20 Feb 26 i `- Re: Titles in lxterminal1Jim Diamond
19 Feb 26 +* Re: Titles in lxterminal25Theo
19 Feb 26 i+* Re: Titles in lxterminal14bp
19 Feb 26 ii`* Re: Titles in lxterminal13Richard Harnden
19 Feb 26 ii +* Re: Titles in lxterminal11bp
19 Feb 26 ii i+- Re: Titles in lxterminal1Richard Harnden
22 Feb 26 ii i`* Re: Titles in lxterminal9bp
23 Feb 26 ii i `* Re: Titles in lxterminal8Richard Harnden
23 Feb 26 ii i  `* Re: Titles in lxterminal7bp
24 Feb 26 ii i   `* Re: Titles in lxterminal6druck
25 Feb 26 ii i    `* Re: Titles in lxterminal5Jim Jackson
25 Feb 26 ii i     `* Re: Titles in lxterminal4druck
25 Feb 26 ii i      +* Re: Titles in lxterminal2Lawrence D’Oliveiro
27 Feb 26 ii i      i`- Re: Titles in lxterminal1Jim Jackson
27 Feb 26 ii i      `- Re: Titles in lxterminal1Jim Jackson
19 Feb 26 ii `- Re: Titles in lxterminal1Jim Jackson
20 Feb 26 i`* Re: Titles in lxterminal10Jim Diamond
20 Feb 26 i `* Re: Titles in lxterminal9Theo
26 Feb 26 i  `* Re: Titles in lxterminal8Jim Diamond
27 Feb 26 i   `* Re: Titles in lxterminal7Jim Jackson
28 Feb 26 i    +* Re: Titles in lxterminal5Jim Diamond
28 Feb 26 i    i`* Re: Titles in lxterminal4Jim Jackson
28 Feb 26 i    i +- Re: Titles in lxterminal1Lawrence D’Oliveiro
1 Mar 26 i    i `* Re: Titles in lxterminal2Jim Diamond
1 Mar 26 i    i  `- Re: Titles in lxterminal1Jim Jackson
3 Mar 26 i    `- Re: Titles in lxterminal1Jim Diamond
19 Feb 26 `* Re: Titles in lxterminal4Gordon Henderson
19 Feb 26  `* Re: Titles in lxterminal3bp
19 Feb 26   `* Re: Titles in lxterminal2Gordon Henderson
19 Feb 26    `- Re: Titles in lxterminal1Theo

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal