diff options
author | B. Watson <yalhcru@gmail.com> | 2018-09-04 03:08:10 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2018-09-04 03:08:10 -0400 |
commit | 0b10890863409f39c9b8b8d9f0f721ffbb4b2312 (patch) | |
tree | 42ad59bfd7f74b625d35e392c4cd463af40a7f0a | |
parent | b5d2db7e452c6463ff7629e9d0fb8525c881bce4 (diff) | |
download | misc-scripts-0b10890863409f39c9b8b8d9f0f721ffbb4b2312.tar.gz |
fixterm: add the other G* character set codes
-rwxr-xr-x | fixterm | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -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'; |