From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,4ce6b06473a8ba37,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-05-20 00:45:46 PST Newsgroups: comp.os.linux.announce Path: gmd.de!Germany.EU.net!mcsun!news.funet.fi!hydra!klaava!wirzeniu From: lam836@cs.cuhk.hk Subject: [PATCH] Color XTerm as ANSI emulator Message-ID: <1993May20.072647.3721@klaava.Helsinki.FI> Followup-To: comp.os.linux Keywords: patch ansi xterm Sender: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) Organization: Faculty of Engineering, The Chinese U. of Hong Kong Date: Thu, 20 May 1993 07:26:47 GMT I've uploaded to sipb.mit.edu in directory /pub/seyon/MISC a patch to color_xterm.tar.Z at sunsite.unc.edu:/pub/Linux/X11/xutils. This patch is intended to eliminate the incompatibilities between color xterm and ANSI terminal emulation. There are also a few enhancements in the way color xterm handles bold and underline text. The files are: ansi_xterm-0.1-patch /* The diff */ ansi_xterm-0.1-tar.z /* The patched source */ ansi_xterm-0.1-txt /* Lists the changes made */ The changes made are: 1) Added support for ESC [s (save cursor position) and ESC [u (restore cursor position) 2) ESC [2J will move the cursor to the home position after clearing the screen 3) Highlighting of text when the bold attribute is set. 8 resources, color8-color15 are added to specify the corresponding highlighted colors of those specified by color0-color7. 4) Displaying of bold and underline text in color (just like what setterm does under the Linux console) Two more resources, colorBD and colorUL are added to specify the bold and underline text colors. 5) Fixed a bug in color xterm that when hiding the cursor at it's previous position will leave the character under it in the wrong color. 6) Another resource, underLine is added to specify whether to draw a horizontal line under the text when the underline attribute is set. Default is off, you can turn it on by adding "XTerm*VT100*underLine: on" to your ~/.Xdefaults If you want to use it as terminal emulator when calling DOS based BBS's, you may also want to get a font which supports the DOS graphics characters from sunsite.unc.edu:/pub/Linux/utils/nls/LinuXinterDOS.tar.z Thanks to M. Saggaf for letting me put it on sipb.mit.edu Regards, Savio Lam. -- Lam Lai Yin, Savio Internet: lam836@cs.cuhk.hk Department of Computer Science Chinese University of Hong Kong