From 0b10890863409f39c9b8b8d9f0f721ffbb4b2312 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 4 Sep 2018 03:08:10 -0400 Subject: fixterm: add the other G* character set codes --- fixterm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/fixterm b/fixterm index e9fd832..cf77868 100755 --- a/fixterm +++ b/fixterm @@ -24,5 +24,16 @@ # Reference: # http://ascii-table.com/ansi-escape-sequences-vt-100.php -print chr(27).")B"; -print chr(27)."(B"; +# urxvt and IIRC xterm actually support 4 character sets, G0 thru +# G3, any of which can be switched between various types. So fix +# all 4 here. + +# This script seems to work OK for urxvt but not for xterm. +# For either, it fixes your shell... but on xterm, links is +# sometimes still messed up (and sometimes it isn't, I dunno +# what's different). + +print chr(27).')B'; +print chr(27).'(B'; +print chr(27).'*B'; +print chr(27).'+B'; -- cgit v1.2.3