Subject: misc/21006: etc/gettytab should have tab entry for wscons/console
To: None <>
From: None <>
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
>Originator:     Geoff C. Wing
>Release:        NetBSD 1.6Q (2003/04/04)
Geoff Wing : <>
Rxvt Stuff : <>
Zsh Stuff  : <>
System: NetBSD 1.6Q NetBSD 1.6Q (SPARKLES) #0: Fri Apr 4 14:04:19 EST 2003 i386
Architecture: i386
Machine: i386
	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.

	% 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"
	% printf "1234567812345678\ra\e[0m\tb\n"

--- etc/	2001-11-11 18:35:04.000000000 +1100
+++ etc/gettytab	2003-04-04 16:03:16.000000000 +1000
@@ -121,7 +121,7 @@
 Pc|Pc console:\
-	:np:sp#9600:ig:
+	:np:sp#9600:ig:ht:
 # 8 bit clean Sun console
 suncons|Sun Console:\