Date: Wed, 20 Aug 2003 15:42:26 +0700 (NOVST) From: Alexey Dokuchaev <danfe@regency.nsu.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/55794: Convenience improvement suggestion: clear screen after ^D (logout) at vty Message-ID: <200308200842.h7K8gQxS021376@regency.nsu.ru> Resent-Message-ID: <200308200944.h7K9ixYx091162@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55794 >Category: misc >Synopsis: Convenience improvement suggestion: clear screen after ^D (logout) at vty >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 20 02:44:58 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Alexey Dokuchaev >Release: FreeBSD 4.8-STABLE i386 >Organization: CNIT NSU >Environment: System: FreeBSD regency.nsu.ru 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Aug 8 20:27:14 NOVST 2003 root@regency.nsu.ru:/usr/obj/usr/src/sys/REGENCY 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: %%% --- /etc/gettytab Thu Jun 5 08:57:21 2003 +++ gettytab Wed Aug 20 15:13:01 2003 @@ -38,7 +38,7 @@ # np:ap: same as np except istrip. # default:\ - :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ + :cb:ce:ck:lc:fd#1000:im=^L\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ :if=/etc/issue: # >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308200842.h7K8gQxS021376>