[Pkg-zsh-devel] Bug#794968: zsh: please clear console on logout (if recommended config is used)

Axel Beckert abe at debian.org
Sun Aug 9 14:57:48 UTC 2015


Hi Carsten,

Carsten Hey wrote:
> * Axel Beckert [2015-08-09 16:12 +0200]:
> > Carsten Hey wrote:
> > > Please clear console on logout if the recommended config for new users
> > > is used.
> >
> > Why? This is a very annoying behaviour IMHO and definitely shouldn't
> > be a default.
> 
> at first we should make sure that you are talking about the same console
> as I do:  I consider everything that runs in X not to be a console, but
> the thing you get if you press for example Ctrl-Alt-F1 is a console.

Ok, thanks for the clarification.

I'm mostly annoyed by such behaviour upon remote logins via SSH as
usually the whole terminal history gets lost in such cases.

> I wonder if you still think that it's annoying if you know, that it only
> clears a console if, and only if, the parent process is /bin/login.

Does SSH use /bin/login by default? (IIRC not.)

So if it's really just for the Linux (or FreeBSD or Hurd :-) virtual
console, I'm fine with it. There it indeed makes sense. Just not for
SSH logins or calling "zsh" or "zsh -l" for testing purposes from
another zsh instance (as I do very often before zsh uploads :-).

> It's about the (recommended) user's configuration, no one will ever add
> this to a *global* zsh config file that is shipped with Debian.

Ok, thanks for that clarification, too. :-)

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Pkg-zsh-devel mailing list