GNU bug report logs - #61393
Guix System's PS1 does not set the terminal title

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Thu, 9 Feb 2023 18:39:02 UTC

Severity: normal

Merged with 35424, 72172

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 61393 <at> debbugs.gnu.org
Subject: bug#61393: Guix System's PS1 does not set the terminal title
Date: Thu, 09 Feb 2023 13:38:39 -0500
Hi,

The tabs in GNOME's Console (kgx command) are blanks (no names).  This
appears to be due to not having a title set via an ANSI escape in our
default prompt (PS1 environment variable).

We should look at what Fedora is using and extend our PS1 with it.

To confirm that it works, type the following in Console:

--8<---------------cut here---------------start------------->8---
echo -e "\033]0;[title]\07"
--8<---------------cut here---------------end--------------->8---

And you'll see the tab becomes named "[title]".

-- 
Thanks,
Maxim




This bug report was last modified 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.