I've been doing some work on xterm. My original goal was to let me
see some color on the screen. (I think it's silly that we spend
hundreds of dollars on neat color monitors, and the software we use
most often -- xterm and emacs -- doesn't make much use of color.
The next step is for emacs to do the mode line in color.) In the
process I also fixed xterm so it makes entries in /etc/utmp.
This is a new port of xterm, done from the working sources that
Rutgers uses on our Suns, with two changes:
(1) A few changes were needed to main.c in order to get it to work
with Linux. I believe these changes have been made cleanly, so that
the resulting source will still work on other systems. I did not look
at the original port of xterm. However this one seems more complete,
since "who" will now show your xterm sessions, as long as xterm is
installed setuid (as it should be). This did not work in the original
code. There's no overtly Linux-specific code in this port -- it's
just a matter of having the right combination of POSIX and BSD
features. (I suspect the Linux setup would actually work on a Sun,
and might even be a preferable configuration.)
(2) Various resources were added to allow text to be displayed in
color. To find the new features, I suggest diff'ing xterm.man.RU and
xterm.man. Briefly, you can now specify foreground and background
colors for the following:
color2 and color2Back: user defined colors, display using ESC [ 2 m
color3 and color3Back: user defined colors, display using ESC [ 3 m
boldColor and boldBack: boldface text is displayed with these colors
standColor and standBack: if one of these is defined, "standout"
(ESC [ 7 m) is done using these colors instead of reverse video
ulColor and ulBack: if one of these is defined, these colors are used
instead of underlining
The files *.RU are the original versions of files changed during the
process.
While the original code was X11R5, Rutgers appears to have made a
couple of bug fixes since the initial release of X11R5. My changes
were made on top of the current Rutgers working sources.
The binary is "xterm". It is loaded with sharable libraries, but
has not been stripped.
All of this stuff is on cs.rutgers.edu, in /pub/linux/xterm.tar.Z.
Once I've used it a bit more, I'll upload it to the normal archive
sites.
Does anybody know how to send changes back to MIT? I think the color
support would be generally useful.
| David Miller | Slow DOWN, please!!! |
| KAMEZAWA Hiroyuki | Re: 2.6.22-rc1-mm1 |
| Steven Rostedt | [RFC PATCH 1/3] Unified trace buffer |
| Steven Rostedt | [RFC PATCH 0/6] Convert all tasklets to workqueues |
git: | |
| Peter Klavins | Re: CRLF problems with Git on Win32 |
| J. Bruce Fields | Re: Git User's Survey 2007 unfinished summary continued |
| Linus Torvalds | Re: VCS comparison table |
| Junichi Uekawa | Re: [ANNOUNCE] GIT 1.5.4 |
| Arjan van de Ven | Re: [GIT]: Networking |
| Rémi | [PATCH 0/6] [RFC] Phonet pipes protocol (v2) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jozsef Kadlecsik | Re: TCP connection stalls under 2.6.24.7 |
| Richard Stallman | Real men don't attack straw men |
| Rogier Krieger | Re: bcw(4) is gone |
| Leon Dippenaar | New tcp stack attack |
| Brandon Lee | DELL PERC 5iR slow performance |
| high memory | 6 hours ago | Linux kernel |
| semaphore access speed | 9 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 10 hours ago | Linux kernel |
| Easter Eggs in windows XP | 12 hours ago | Windows |
| Shared swap partition | 13 hours ago | Linux general |
| Root password | 14 hours ago | Linux general |
| Where/when DNOTIFY is used? | 15 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 18 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 18 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
