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

Carsten Hey carsten at debian.org
Sun Aug 9 14:39:27 UTC 2015


Hi Axel,

* 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.

It is indeed a very annoying behaviour if it isn't implemented
correctly, bash's implementation isn't significantly better than adding
"(( $RANDOM % 2 )) && clear" to ~/.bash_logout.  I'm sure that the
people that maintain the possibly best interactive shell in the possibly
best Linux distribution are able to implement this in a way that is not
completely broken ;)

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.

> If a user wants to have such a behaviour because he considers to be
> a security feature (I don't), ...

If you still consider what I requested to be annoying (I think I should
have made the intension and how it should behave more clear), I could
grep bash's changelog for the bug number of the bug that contains the
same discussion, which might save some time.

> ... the user should configure that in his user's configuration.

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.


Carsten



More information about the Pkg-zsh-devel mailing list