Bug 55794

Summary: Convenience improvement suggestion: clear screen after ^D (logout) at vty
Product: Base System Reporter: Alexey Dokuchaev <danfe>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.8-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Alexey Dokuchaev 2003-08-20 10:44:58 UTC
By default, getty(8) does not clear console screen upon logout, which is
somewhat annoying, though easy to fix.  Since I've been fixing this
thing in every installation during several past years (and I know many
others that do that as well), I think it's probably time to make it into
CVS.  Thoughts?

Fix: The fix is trivial:

%%%
How-To-Repeat: Just login at console, ls /, hit ^D.  See all you ls(1) output there.
Comment 1 Peter Pentchev 2003-08-28 09:03:21 UTC
On Wed, Aug 20, 2003 at 03:42:26PM +0700, Alexey Dokuchaev wrote:
> 
> >Number:         55794
> >Category:       misc
> >Synopsis:       Convenience improvement suggestion: clear screen after ^D (logout) at vty
> >Originator:     Alexey Dokuchaev
> >Release:        FreeBSD 4.8-STABLE i386
> >Description:
> By default, getty(8) does not clear console screen upon logout, which is
> somewhat annoying, though easy to fix.  Since I've been fixing this
> thing in every installation during several past years (and I know many
> others that do that as well), I think it's probably time to make it into
> CVS.  Thoughts?
> >How-To-Repeat:
> Just login at console, ls /, hit ^D.  See all you ls(1) output there.
> >Fix:
> The fix is trivial:
[snip termcap fix]

I prefer to do this in a logout script when necessary - for some users
only - because I personally don't like the clear-screen idea too much...

G'luck,
Peter

-- 
Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If wishes were fishes, the antecedent of this conditional would be true.
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2004-08-30 09:55:48 UTC
State Changed
From-To: open->closed

This change is not really worthwhile.