Subject: misc/7126: change on termcap to use G0 for the alternate character set
To: None <gnats-bugs@gnats.netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: netbsd-bugs
Date: 03/11/1999 12:33:08
>Number:         7126
>Category:       misc
>Synopsis:       change on termcap to use G0 for the alternate character set
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 10 19:50:01 1999
>Last-Modified:
>Originator:     ITOH Yasufumi
>Organization:
	
>Release:        1.3K (March 10, 1999)
>Environment:
System: NetBSD acha.my.domain 1.3K NetBSD 1.3K (ALL) #0: Tue Mar 9 10:14:10 JST 1999 itohy@myname.my.domain:/usr/src/sys/arch/x68k/compile/ALL x68k


>Description:
Our termcap(5) uses G1 for alternate character set (DEC Graphics).
This make it difficult to use 8-bit encodings.

This change make the alternate charset use G0.
We already assume that G0 is ASCII and we can restore G0 to
the original charset (ASCII) at the end of use of alternate chars.

This pr is for public review of this change.
I'll commit this by myself if no objection.
I can't test on many terminals, and please correct me if something wrong.

>How-To-Repeat:
Try to view 8-bit chars, such as ISO8859 and EUC, using Lynx
on xterm or kterm + screen, and see illusional characters.

Also try on raw kterm and see sub-window (such as forms), and see
the frame characters are incorrect.

>Fix:
(You may see the names of affected terminals at @@ lines, for your information.)

diff -uF^[^#	] share/termcap/termcap.src.orig share/termcap/termcap.src
--- share/termcap/termcap.src.orig	Tue Feb 16 21:09:57 1999
+++ share/termcap/termcap.src	Thu Mar 11 12:21:44 1999
@@ -28,16 +28,17 @@
 #
 # INTERNATIONALIZATION:
 #
-# This file uses only the US-ASCII character set (no ISO8859 characters).
+# This file uses only the US-ASCII as the G0/GL character set.
 #
 # This file assumes a US-ASCII character set. If you need to fix this, start
 # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
 # for your character set.  \E(A and \E)A enables the British character set
 # with the pound sign at position 2/3.  
 #
-# In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
-# C1 characters are considered the first-byte set of the Japanese encodings,
-# so \E)0 should be avoided in <enacs> and initialization strings.
+# In order to allow 8bit encodings (right half of ISO8859 character sets,
+# EUC encondings, etc.), we do not use G1 (and SO/SI) for alternate
+# character set but use G0 instead, and \E)0 should be avoided in <enacs>
+# and initialization strings.
 #
 # FILE FORMAT:
 #
@@ -1158,9 +1159,9 @@ vt100|vt100-am|dec vt100 (w/advanced vid
 	:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
 	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+	:ae=\E(B:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
 	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
-	:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
+	:eA=\E(B:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
 	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
 	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
 	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
@@ -1707,9 +1708,9 @@ xterm-r6|xterm-old|xterm X11R6 version:\
 	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
 	:FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
+	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
 	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
-	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
+	:dl=\E[M:do=^J:eA=\E(B:ei=\E[4l:ho=\E[H:im=\E[4h:\
 	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
 	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
 	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
@@ -1787,10 +1788,8 @@ xterm-bold|xterm terminal emulator (X11R
 	:so=\E[1m:\
 	:tc=xterm:
 # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
-# (kterm should not invoke DEC Graphics as the alternate character set
-#  -- Kenji Rikitake)
 kterm|kterm kanji terminal emulator (X window system):\
-	:es:hs:ds=\E[?H:eA=\E(B:fs=\E[?F:ts=\E[?E\E[?%i%dT:\
+	:es:hs:ds=\E[?H:fs=\E[?F:ts=\E[?E\E[?%i%dT:\
 	:tc=xterm-r6:
 # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
 xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
@@ -1833,8 +1832,8 @@ rxvt|reduced xterm terminal (X Window Sy
 	:co#80:it#8:li#24:\
 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
 	:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:LE=\E[%dD:\
-	:RI=\E[%dC:UP=\E[%dA:ae=\E(B\E)0\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
@@ -5422,9 +5421,9 @@ att5410v1|att4410v1|tty5410v1|AT&T 4410/
 	:am:hs:mi:ms:xo:\
 	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
 	:ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\054\054..:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
 	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
-	:do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
+	:do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l:\
 	:i2=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW:\
 	:ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
 	:k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
@@ -5436,7 +5435,7 @@ att5410v1|att4410v1|tty5410v1|AT&T 4410/
 
 att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
 	:co#132:ws#132:\
-	:i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
+	:i1=\E[?3h:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
 
 att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
 	:bs:\
@@ -5444,7 +5443,7 @@ att4410|att5410|tty5410|AT&T 4410/5410 8
 
 att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
 	:co#132:ws#132:\
-	:i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
+	:i1=\E[?3h:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
 
 # 5410 in terms of a vt100
 # (v5410: added <rmam>/<smam> based on init string -- esr)
@@ -5454,9 +5453,9 @@ v5410|att5410 in terms of a vt100:\
 	:@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:RA=\E[?7l:\
 	:SA=\E[?7h:\
 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
+	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
-	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
+	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B:ei=:ho=\E[H:\
 	:ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
 	:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:\
 	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
@@ -5593,9 +5592,9 @@ att4418|att5418|AT&T 5418 80 cols:\
 	:FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
 	:RI=\E[%dC:UP=\E[%dA:\
 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
-	:ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
+	:ae=\E(B:al=\E[1L:as=\E(0:bl=^G:cd=\E[0J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E[J:cm=\E[%i%d;%dH:\
 	:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
 	:i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
@@ -5902,7 +5901,7 @@ att605-pc|ATT 605 in pc term mode:\
 	:tc=att605:
 att605-w|AT&T 605-w 132 column 102 key keyboard:\
 	:co#132:ws#132:\
-	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0:tc=att605:
+	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B:tc=att605:
 # (att610: I added <rmam>/<smam> based on the init string.  I also
 # added :SF: and :SR: because the BSD file says the att615s have them,
 # and the 615 is like a 610 with a big keyboard, and most of their other
@@ -5914,12 +5913,12 @@ att610|AT&T 610; 80 column; 98key keyboa
 	:am:es:hs:mi:ms:xn:xo:\
 	:co#80:it#8:li#24:ws#80:\
 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
-	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
-	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E(B:\
+	:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
 	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
 	:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
-	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
-	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
+	:i1=\E[8;0|\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Q:k3=\EOR:\
 	:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
 	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
@@ -8915,10 +8914,10 @@ dmterm|deskmate terminal:\
 dt100|dt-100|Tandy DT-100 terminal:\
 	:xo:\
 	:co#80:li#24:sg#1:ug#1:\
-	:ac=kkllmmjjnnwwvvttuuqqxx:ae=^O:al=\E[L:as=^N:bl=^G:\
+	:ac=kkllmmjjnnwwvvttuuqqxx:ae=\E(B:al=\E[L:as=\E(0:bl=^G:\
 	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
 	:cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
-	:im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
+	:im=:is=\E[?3l\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
 	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
 	:k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
 	:kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
@@ -8929,10 +8928,10 @@ dt100w|dt-100w|Tandy DT-100 terminal (wi
 dt110|Tandy DT-110 emulating ansi:\
 	:xo:\
 	:co#80:li#24:\
-	:@7=\E[K:ac=kkllmmjjnnwwvvuuttqqxx:ae=^O:al=\E[0L:as=^N:\
+	:@7=\E[K:ac=kkllmmjjnnwwvvuuttqqxx:ae=\E(B:al=\E[0L:as=\E(0:\
 	:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
 	:cr=^M:cs=\E[%i%d;%d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