Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-20 Thread Dedeco Balaco
when it was launched. >> >> After the upgrade, when i quit vim, the terminal title becomes empty, >> instead of returning to the default title "Terminal". >> >> Why is this happening? A bug in Vim? In mate-terminal? Or in Debian 11? > > I did not see it mentio

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-20 Thread Mark Neyhart
terminal title becomes empty, > instead of returning to the default title "Terminal". > > Why is this happening? A bug in Vim? In mate-terminal? Or in Debian 11? I did not see it mentioned anywhere, but $PROMPT_COMMAND (if it exists) might be setting the terminal title.

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread David Wright
On Sun 19 Sep 2021 at 21:51:57 (+0200), to...@tuxteam.de wrote: > On Sun, Sep 19, 2021 at 02:36:14PM -0500, David Wright wrote: > > On Sun 19 Sep 2021 at 21:27:49 (+0200), to...@tuxteam.de wrote: > > > On Sun, Sep 19, 2021 at 04:21:56PM -0300, Dedeco Balaco wrote: > > > > Em 19/09/2021 15:48, to...

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread tomas
On Sun, Sep 19, 2021 at 04:53:09PM -0300, Dedeco Balaco wrote: [...] > The PS1 change i said, i meant, is that i used a changed PS1 since many > years ago [...] Thus, i expected that everything should continue > working as before [...] Yes, definitely: something changed which is breaking your e

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread tomas
On Sun, Sep 19, 2021 at 02:36:14PM -0500, David Wright wrote: > On Sun 19 Sep 2021 at 21:27:49 (+0200), to...@tuxteam.de wrote: > > On Sun, Sep 19, 2021 at 04:21:56PM -0300, Dedeco Balaco wrote: > > > Em 19/09/2021 15:48, to...@tuxteam.de escreveu: > > > > On Sun, Sep 19, 2021 at 03:06:28PM -0300,

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread David Wright
On Sun 19 Sep 2021 at 21:27:49 (+0200), to...@tuxteam.de wrote: > On Sun, Sep 19, 2021 at 04:21:56PM -0300, Dedeco Balaco wrote: > > Em 19/09/2021 15:48, to...@tuxteam.de escreveu: > > > On Sun, Sep 19, 2021 at 03:06:28PM -0300, Dedeco Balaco wrote: > > [...] > > > Fine. I understand that you say

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread tomas
On Sun, Sep 19, 2021 at 04:21:56PM -0300, Dedeco Balaco wrote: > > Em 19/09/2021 15:48, to...@tuxteam.de escreveu: > > On Sun, Sep 19, 2021 at 03:06:28PM -0300, Dedeco Balaco wrote: [...] > Fine. I understand that you say that i could change my PS1 to always > reset the title. Specifically this

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread Nate Bargmann
* On 2021 19 Sep 12:26 -0500, Dedeco Balaco wrote: > > > Em 19/09/2021 14:07, Greg Wooledge escreveu: > > Since your TERM variable begins with "xterm", you can simply copy the > > case command directly from the Debian .bashrc file into yours: > > > > > > # If this is an xterm set the title to u

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread tomas
On Sun, Sep 19, 2021 at 03:06:28PM -0300, Dedeco Balaco wrote: > > > Em 19/09/2021 14:41, to...@tuxteam.de escreveu: > > On Sun, Sep 19, 2021 at 01:58:16PM -0300, Dedeco Balaco wrote: > >> > >> > >>> tomas@trotzki:~$ echo $PS1 > >>> \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread tomas
On Sun, Sep 19, 2021 at 01:58:16PM -0300, Dedeco Balaco wrote: > > > > tomas@trotzki:~$ echo $PS1 > > \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ > > > > There has been a lot of time that i use a fancy PS1. But it does not > touch the terminal title, it never did. I jus

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread Greg Wooledge
On Sun, Sep 19, 2021 at 02:25:25PM -0300, Dedeco Balaco wrote: > Em 19/09/2021 14:07, Greg Wooledge escreveu: > > Oh, are you saying that you're not using Debian's default PS1? That's > > probably why it's no longer working the way you expected. > I do not understand you. I have said my prompt i

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread Dedeco Balaco
Em 19/09/2021 14:07, Greg Wooledge escreveu: > On Sun, Sep 19, 2021 at 01:54:48PM -0300, Dedeco Balaco wrote: >>> Once we know what $TERM is, we can advise. >>> >> >> $ echo $TERM >> xterm-256color > > Huh... OK. > > > On Sun, Sep 19, 2021 at 01:58:16PM -0300, Dedeco Balaco wrote: >> >> >>>

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread Greg Wooledge
On Sun, Sep 19, 2021 at 01:54:48PM -0300, Dedeco Balaco wrote: > > Once we know what $TERM is, we can advise. > > > > $ echo $TERM > xterm-256color Huh... OK. On Sun, Sep 19, 2021 at 01:58:16PM -0300, Dedeco Balaco wrote: > > > > tomas@trotzki:~$ echo $PS1 > > \[\e]0;\u@\h: \w\a\]${debi

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread Dedeco Balaco
> tomas@trotzki:~$ echo $PS1 > \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ > There has been a lot of time that i use a fancy PS1. But it does not touch the terminal title, it never did. I just worked in it to get a satisfying informative prompt.

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread Dedeco Balaco
> > Assuming the OP is using Debian's provided .bashrc file (and other > shell dotfiles), PS1 is changed when .bashrc is read, which normally > means when bash is started as an interactive, non-login shell. > > Running "bash" would do that. I prefer "exec bash" because it gives > a cleaner sta

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread Greg Wooledge
On Sun, Sep 19, 2021 at 05:13:34PM +0200, to...@tuxteam.de wrote: > I can't imagine MATE terminal to implement its own escaping machinery. > They'll probably copy that of the Xterm, to stay compatible (although > these days you never know). > > So perhaps the OP gets away with pretending he has an

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread tomas
On Sun, Sep 19, 2021 at 09:58:17AM -0400, Greg Wooledge wrote: > On Sun, Sep 19, 2021 at 09:44:58AM +0200, to...@tuxteam.de wrote: [...] > 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 "$TER

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread Greg Wooledge
On Sun, Sep 19, 2021 at 09:44:58AM +0200, to...@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 def

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread Greg Wooledge
On Sun, Sep 19, 2021 at 06:49:15AM -0300, Dedeco Balaco wrote: > Is there a log where the previous version of Mate and mate-terminal are > written? It should be in /var/log/dpkg* assuming those didn't get rotated away. I've got files up to dpkg.log.12.gz dated Sep 28, 2020. Try this: zgrep 'upgra

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-19 Thread tomas
On Sat, Sep 18, 2021 at 10:23:06PM -0400, Greg Wooledge wrote: > On Sat, Sep 18, 2021 at 10:14:39PM -0300, Dedeco Balaco wrote: > > My window manager is Mate Desktop. The terminal i most use is its own. > > And i use vim a lot, [...] > Vim has another setting called "titleold". If this is set to

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-18 Thread Greg Wooledge
On Sat, Sep 18, 2021 at 10:14:39PM -0300, Dedeco Balaco wrote: > My window manager is Mate Desktop. The terminal i most use is its own. > And i use vim a lot, > After the upgrade, when i quit vim, the terminal title becomes empty, > instead of returning to the default title "Terminal". The real q

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-18 Thread Dedeco Balaco
Em 18/09/2021 22:49, Jeremy Hendricks escreveu: > I apologize for assuming you upgraded from 9 to 11 directly (skipping > 10). It’s a common misconception that is acceptable. > No problem. Actually, my first try to update was directly from a not completely updated Debian 9 to the current Debian

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-18 Thread Jeremy Hendricks
d the > > number of files that was opened with it, when it was launched. > > > > After the upgrade, when i quit vim, the terminal title becomes > > empty, instead of returning to the default title "Terminal". > > > > Why is this happening? A bug in Vim? In mate-terminal? Or in Debian > 11? > > > >

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-18 Thread Dedeco Balaco
After the upgrade, when i quit vim, the terminal title becomes > empty, instead of returning to the default title "Terminal". > > Why is this happening? A bug in Vim? In mate-terminal? Or in Debian 11? >

Re: A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-18 Thread Jeremy Hendricks
tle > shows the name of the file currently being edited, and the number of files > that was opened with it, when it was launched. > > After the upgrade, when i quit vim, the terminal title becomes empty, > instead of returning to the default title "Terminal". > > Why is this happening? A bug in Vim? In mate-terminal? Or in Debian 11? >

A bug in Vim, in Mate Terminal or in Debian 11?

2021-09-18 Thread Dedeco Balaco
name of the file currently being edited, and the number of files that was opened with it, when it was launched. After the upgrade, when i quit vim, the terminal title becomes empty, instead of returning to the default title "Terminal". Why is this happening? A bug in Vim? In mate-termi