| Hey, just send me your code. I'd be very interested in reading
| yet another implementation. The st code is available at
| http://suckless.org/cgi-bin/hgwebdir.cgi/st
|
| (however as I told, still much work needs to be done, esp. on
| the vt side). Another interesting lightweight terminal project
| by Ivo Timmermans (which has been abandoned) is called blurt.
| I put up a copy here:
|
| http://www.suckless.org/download/blurt-0.0.12.tar.gz
Ok, this is _way_ premature, but from glancing at the code to
blurt, and having looked through other terminals in the past,
people seem to like hardcoding the colour scheme and not
making it possible to change colour scheme as the terminal
runs.
Even though it'll add a certain number of lines of code, I'd like
to put in a "suggestion" that it the display routines be written
so colours can be changed and window's colour schemes
be changed as the terminal runs.
What I use this for is that my bash prompt is essentially the
escape sequence to put the current directory into the titlebar.
I've then got a trivial-modified version of aterm which, in
the routine that processes these titlebar escapes, computes a
simple hash function with 8 bins on the title bar name (which for
me is the directory name) and switches the terminal to the
colour scheme for that bin. What this means in practice
is that I've got a simple visual cue
about which terminal is in which directory. For example,
my home directory ends up being dark-purple background,
so if I know there's a home directory somewhere on the screen
I can just m,ouse to the purple one without needing to read the
titlebars. (It's not perfect: an annoying proportion of the time
two different directories I want to work in hash the same
and thus get the same colour, so I have to read the titles
again. But it does work enough I find it useful and miss it
when I'm working on someone elses machine.)
I'm not suggesting this for everyone, just that it only becomes
possible if the display routines have been written allowing
"on-the-fly" colour changes. (Aterm is quite bad for dwm
as it doesn't deal gracefully with resizing, but it was the
only terminal I could find where I could see an obvious
"change colour scheme" function I could hack into.)
Anyway, just a suggestion,
cheeers, dave tweed
Send instant messages to your online friends http://uk.messenger.yahoo.com
Received on Mon Jan 08 2007 - 19:23:08 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:34:25 UTC