Subject: misc/21006: etc/gettytab should have tab entry for wscons/console
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gcw@pobox.com>
List: netbsd-bugs
Date: 04/04/2003 16:21:33
>Number: 21006
>Category: misc
>Synopsis: etc/gettytab should have tab entry added for wscons/console
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Apr 03 22:22:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Geoff C. Wing
>Release: NetBSD 1.6Q (2003/04/04)
>Organization:
Geoff Wing : <gcw@pobox.com>
Rxvt Stuff : <gcw@rxvt.org>
Zsh Stuff : <gcw@zsh.org>
>Environment:
System: NetBSD sparkles.primenet.com.au 1.6Q NetBSD 1.6Q (SPARKLES) #0: Fri Apr 4 14:04:19 EST 2003 root@sparkles.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/SPARKLES i386
Architecture: i386
Machine: i386
>Description:
With the advent of wscons (yonks ago), support for in-built horizontal
tab should be added to the default entries in gettytab which apply to
these terminals. This seems to be "Pc" (maybe also "suncons" but will
require confirmation since it may impact unfavourably upon the
original hardware).
The "ht" entry means that getty will unset "oxtabs" allowing wscons
to handle the tabs and do it properly including correct positioning
when non-printing character sequences have passed through the stream.
The tty pre-handling is way too simplistic for common use.
>How-To-Repeat:
% stty oxtabs # current default setup
% printf "1234567812345678\ra\tb\n"
a b2345678
% printf "1234567812345678\ra\e[0m\tb\n"
a b7812345678
% printf "1234567812345678\ra\e[00m\tb\n"
a b67812345678
% stty -oxtabs
% printf "1234567812345678\ra\tb\n"
a2345678b2345678
% printf "1234567812345678\ra\e[0m\tb\n"
a2345678b2345678
>Fix:
--- etc/gettytab.org 2001-11-11 18:35:04.000000000 +1100
+++ etc/gettytab 2003-04-04 16:03:16.000000000 +1000
@@ -121,7 +121,7 @@
:rw:sp#9600:
Pc|Pc console:\
- :np:sp#9600:ig:
+ :np:sp#9600:ig:ht:
# 8 bit clean Sun console
suncons|Sun Console:\
>Release-Note:
>Audit-Trail:
>Unformatted: