Subject: Re: clear screen when logout
To: Richard Rauch <rauch@eecs.ukans.edu>
From: Ben Collver <collver@softhome.net>
List: port-i386
Date: 10/18/2000 23:10:25
Let me clarify: 
I was only describing how "it was done" in Debian 2.2.  I made no value
judgment, the (in)correctness is obvious.

One solution would be to extend getty so that termcap capabilities could be
specified in /etc/gettytab ie. cl=tc#cl, but then getty needs to be linked
against libtermcap if it isn't already, and the terminal type needs to be
specified in /etc/ttys.  I'm certain it would be trivial to come up with a
patch for this, but I am not certain if it is the correct way to go, or if
the patch would be welcomed.

Ben

On Tue, Oct 17, 2000 at 08:00:44AM -0500, Richard Rauch wrote:
> Ben suggests that Debian LINUX ``solves'' this problem with a
> .bash_logout.  This solves it no more than by putting it in a csh.logout
> (which is what I've done in the past).
> 
> The problem with both of these approaches is that it only works if your
> shell runs the indicated logout script.  /bin/sh doesn't run ANY logout
> script, that I know of.  Nor, I think, does /bin/ksh.  I dunno about
> others that we may have in pkgsrc.
> 
> So, while it can work for a few users, it's not a real solution, IMHO.
> 
> 
> But, if a real solution finds its way into a NetBSD release, I'd be happy
> to see it.  (^&
> 
> 
>   "I probably don't know what I'm talking about." --rauch@eecs.ukans.edu
> 
> 

-- 
Ben Collver -- collver@softhome.net
Your fellow-man? Divide the epithet: Say rather, you're the fellow, he the man.