Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #240159
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: A bug in Vim, in Mate Terminal or in Debian 11? |
| Date | 2021-09-19 16:00 +0200 |
| Message-ID | <CZ5wm-7TD-9@gated-at.bofh.it> (permalink) |
| References | <CYTER-Hm-3@gated-at.bofh.it> <CYTER-Hm-1@gated-at.bofh.it> <CYUKB-1oH-1@gated-at.bofh.it> <CYZKi-4ry-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Sep 19, 2021 at 09:44:58AM +0200, tomas@tuxteam.de wrote:
> I've no Mate terminal here (just plain xterm), but this fourth way is
> the one Debian chose for me: the shell prompt (via the PS1 variable)
> is the one working the magic. I guess Mate terminal works as Xterm
> here.
>
> It's defined to be
>
> tomas@trotzki:~$ echo $PS1
> \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
Ah yes, good old Debian /etc/skel/.bashrc at work. Presumably you
mean this section:
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
I don't know what mate-terminal uses for $TERM, or what it used back
in stretch, but it's something the OP could research, I suppose. If
it changed from "xterm" to "mate-terminal" or something along those
lines, that would certainly explain the change.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A bug in Vim, in Mate Terminal or in Debian 11? Dedeco Balaco <dedeco.balaco@yahoo.com> - 2021-09-19 03:20 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? Jeremy Hendricks <jwh1981@gmail.com> - 2021-09-19 03:30 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? Jeremy Hendricks <jwh1981@gmail.com> - 2021-09-19 03:50 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? Greg Wooledge <greg@wooledge.org> - 2021-09-19 04:30 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? <tomas@tuxteam.de> - 2021-09-19 09:50 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? Greg Wooledge <greg@wooledge.org> - 2021-09-19 16:00 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? <tomas@tuxteam.de> - 2021-09-19 17:20 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? Greg Wooledge <greg@wooledge.org> - 2021-09-19 18:00 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? <tomas@tuxteam.de> - 2021-09-19 19:50 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? <tomas@tuxteam.de> - 2021-09-19 20:50 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? <tomas@tuxteam.de> - 2021-09-19 21:30 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? David Wright <deblis@lionunicorn.co.uk> - 2021-09-19 21:40 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? <tomas@tuxteam.de> - 2021-09-19 22:00 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? David Wright <deblis@lionunicorn.co.uk> - 2021-09-19 22:20 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? <tomas@tuxteam.de> - 2021-09-19 22:10 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? Greg Wooledge <greg@wooledge.org> - 2021-09-19 16:00 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? Mark Neyhart <Mark.Neyhart@akleg.gov> - 2021-09-20 22:40 +0200
Re: A bug in Vim, in Mate Terminal or in Debian 11? Dedeco Balaco <dedeco.balaco@yahoo.com> - 2021-09-20 22:40 +0200
csiph-web