Fixed a bug with foreground/background color change pointed out by
Thomas <arnognul@tiscali.se>.
Also added support for all the other OSC color change sequences (at
least those for the colors that Eterm uses). The sequences are of
the form "\e];n;color[;color[...]]\a", where n is between 10 and 19.
You can specify up to (20 - n) semicolon-separated colors representing
the following attributes in order: foreground, background, cursor,
mouse pointer, mouse pointer background (*), Tek foreground (*), Tek
background (*), highlight color (*), bold color, and underline color.
Attributes marked with a (*) are ignored by Eterm and may be left
empty, but their trailing semicolons must be present for xterm
compatibility.
For example, to set a white foreground, black background, yellow text
cursor, green mouse cursor, #ffaa00 for bold, and cyan for underline,
you could use either of the following:
echo -e "\e]10;white;black;yellow;green;;;;;#ffaa00;cyan\007"
or
echo -e "\e]10;white\007"
echo -e "\e]11;black\007"
echo -e "\e]12;yellow\007"
echo -e "\e]13;green\007"
echo -e "\e]18;#ffaa00\007"
echo -e "\e]19;cyan\007"
Note that the setting of bold and underline colors using 18 and 19 are
Eterm extensions.
SVN revision: 6739
Yasufumi Haga <yasufumi.haga@nifty.com> found another typo in the man
page, this one concerning the non-existent "bold multichar" font.
SVN revision: 6615
Documentation updates and last-minute cleanups. Barring something
unexpected and disastrous, this is it for release. So please make
sure it works and the docs are accurate. :-)
SVN revision: 6436
Moved "Escreen" menu to the new Escreen theme so it's no longer
hard-coded.
Added interactive prompting to search() script routine.
Changed dialog() routine to exec_dialog() and added editing of its
command line.
Added msgbox() script routine to display a message and wait for a
keypress.
Fixed a memory leak in the menu_dialog() function. Also cleaned up
its event handling.
Added comments to the script routines that were missing them.
Make sure we exit cleanly if our window is destroyed.
Fixed the missing menus in the Escreen theme. You'll still get an
error message when it loads, but I'm not that worried about it.
SVN revision: 6421
Patch from Azundris for Escreen. In her words:
Debian Unstable comes with a version that is newer than 3.09.11 (which
most other distributions seem to have). On top of that, it comes with
a global setup file in /etc that breaks our very best intentions.
Find enclosed some modifications that will (hopefully) make screen
work on those special Debs in your life as well as on the machines it
used to run on so far. As a side-effect, the default action is now
-RDD rather than -xRR, but since several people have requested that
anyways, I might be the only one missing the previous default. Guess
I'll change my actionclasses.cfg and hold my peace forever. : )
SVN revision: 6417
Updates to the termcap/terminfo stuff to make everything work on *BSD.
Thanks to Thomas Dickey <dickey@herndon4.his.com> and Will Yardley
<william@hq.newdream.net> for their assistance with this.
SVN revision: 6391
Ran reformat-code on the tree.
Also merged in Azundris' Escreen patch. It's disabled by default for
the moment pending further testing, but you can enable it manually by
defining ESCREEN.
SVN revision: 6202
I got tired of having to maintain half a gazillion menus.cfg files
considering that the vast majority of them are identical or have
large identical sections. Thus, I took the m4-based menus.cfg from
the chooser theme and hacked on it a bunch. I can now regenerate
the menu files for all Eterm themes from a single source file using
the gen-menus script in doc/.
I also removed the comments from the theme.cfg files of all themes
except "Eterm" itself.
SVN revision: 5263
I noticed this when I tested the smoked glass theme, but I forgot
about it until Martin Tyler <martin@boo.org> reminded me. This should
fix the bogus calls to imlib_image_get_filename() etc. when using
transparency and shading.
SVN revision: 5091
Okay, first off, I finally found and fixed a typo with regard to the
utempter support on RedHat-based systems. I doubt it's ever worked
properly (sigh). Secondly, I added support for throwing Eterm's
termcap entry into the termcap DB on FreeBSD (and possibly other
*BSD-based) systems thanks to info from Kirby Kuehl
<vacuum@technotronic.com>. And finally, added in a patch from Paul
Brannan <pbranna@clemson.edu> to support some additional escape
sequences for vim.
SVN revision: 5044
All the docs and themes should now be up-to-date. Unless a
showstopping bug turns up in the near future, this is pretty much it
for 0.9.1. Now we just need some testing to make sure there's
nothing horridly wrong.... So you all can test while we finish up
the web site and the backgrounds. :-)
SVN revision: 4919
Several changes here, many of which come from the Debian bug list or
from bug reports on IRC. First off, I believe I've fixed an install
issue with the bg/ directory. I also put an alternative acsc line in
the terminfo file to see if it fixes anything on Debian. (RH works
fine.) I removed the "main" context from all the theme files...which
is something I should've done ages ago, but I forgot.
I made a couple things options which were not previously configurable.
The proportional font thingie which shrank the character cell width is
now the --proportional option. The automatic window gravity on resize
is now the --resize-gravity option. Both are boolean, and both are
documented in the man page.
And finally, I added the kill() function to the script language. At
this point it can only take signals as numbers, but that's good enough
for now.
SVN revision: 4857
Added a -a/--attribute option for passing config file stuff to the
parser on the command line. Also got the command line option section
of the man page up to date. I'll tackle the rest some other time;
it's late. :-)
SVN revision: 4820
I made several corrections to the terminfo entry noted by Thomas
Dickey <dickey@herndon4.his.com>:
- Removed cvvis. It wasn't actually supported and thus conflicted
with cnorm.
- Removed kf0, which conflicted with kf10.
- Added the CPR (u6) capability which I inadvertantly omitted.
I also removed the extraneous identities, keeping only "Eterm" and
"Eterm-color".
In a similar vein, I enabled the u8/u9 handshake while keeping the
ENQ (^E) response disabled.
SVN revision: 4773
Fixed several bugs in the saving of settings and the support of
scripts in menus. Also fixed the definition of term_name in the theme
files as pointed out by Laurence J. Lane <ljlane@debian.org>.
SVN revision: 4750
Applied a couple patches I'd overlooked in my inbox. Sebastian
Dransfeld <sebastid@stud.ntnu.no> added a config file option to
duplicate the behavior of the --buttonbar command-line option. He
also updated the man page, something I usually put off until just
before I do a release. :-)
I also went back and redid the way Eterm does backquote execution to
avoid a potential race condition.
SVN revision: 4083
Fixed a seg fault when resizing to one row while on the secondary
screen. I have no clue how that bug crept in there all of a sudden,
but thanks to Marius Gedminas <mgedmin@takas.lt> for pointing it out.
SVN revision: 2772
Some further fixes for inline functions, 2 new winop actions, brand
new and improved profiling macros, some miscellaneous fixes for SGI
from Kimball Thurston <kimball@sgrail.com>, and more robust checking
in the pasting code.
SVN revision: 2235
The buttonbar can now be toggled on and off both in the config file
and via an escape sequence. The themes in CVS use Ctrl-Shift-Button3.
You can also specify in the config file whether to dock the buttonbar
at the top or the bottom of the Eterm window. You can't move it on
the fly yet, but that will come.
I also fixed resizing so that the term window didn't redraw itself
unnecessarily. Hopefully I didn't break anything in the process. :-)
Plus, I fixed poor handling of X-generated ConfigureNotify events, and
the terminfo stuff is now done at install time instead of build time.
SVN revision: 2077
This is the first public availability of the work thus far on Eterm
0.9.1. There's quite a bit of new stuff here.
* Added scrollbar thumb support.
* Completely redid the terminfo/termcap stuff. The terminfo file is
now compiled (by tic) and installed by default (unless you specify
--without-terminfo). The config files still say xterm, though,
because some programs (like SLang and GNU mc) use the silly algorithm
of "Is $TERM set to xterm?" to detect mouse reporting support in a
terminal. =P But if you don't ever use xterm, you can use Eterm's
termcap and just name it "xterm" instead. Thanks to Marius Gedminas
<mgedmin@takas.lt> for his patch that started this whole revamp.
* Added the kEsetroot script for KDE users from Dax Games
<dgames@isoc.net>.
* You can now configure the Home and End emulation via --with-home=
and --with-end= options to configure. The --with-terminfo option is
also new, and --enable-xim is now the default.
* Added a new image state, disabled, for when Eterm loses focus. This
is supported by all widgets (well, all those that could possibly be
on screen when Eterm lost focus), even the background image. So you
could actually have all your images darken on focus out and restore
to normal on focus in.
* Widget colors formerly dealt with as colors (menu text color,
scrollbar color, etc.) are now handled by the imageclasses. Each
image state can have a foreground and background color defined. The
current exception is the background image; I hope to add that later.
The foreground is the text color and the background is the object
color (for solid color mode). So menu text color is set by the menu
imageclass. And again, for unfocused colors, use the disabled state
of the imageclass.
* Proportionally-spaced fonts are now handled much better. They are
still forced into evenly-spaced columns (it's a terminal for crying
out loud!) but at least you don't end up with Eterm's wider than your
screen. :-)
* Home on refresh is gone, as is home on echo. It's now much simpler.
There are two options: home on output, and home on input, the former
being a combination of echo and refresh. Also, keypresses that don't
necessarily have corresonding output can trigger a home on input,
like Ctrl-End or whatever...ones that don't have special meaning.
Credit to Darren Stuart Embry <dse@louisville.edu> for pointing out
this issue and the one with "m-" in font names.
* I finally got around to re-merging the new parser stuff from my
work on the Not Game. Closed up some old potential behavior quirks
with theme parsing.
* Added a new escape sequence to fork-and-exec a program. Also added
a scrollback search capability to highlight all occurances of a string
in your scrollback buffer. Use the new "Etsearch" utility to access
it. "Etsearch string" to search for a string, then "Etsearch" by
itself to reset the highlighting.
* And of course, the biggie. Eterm now supports a completely-
customizeable buttonbar. Not a menubar, a buttonbar. It can have an
arbitrary number of buttons, and each button can perform an action,
just like a menuitem. So a button could bring up a menu (like a
menubar) or launch a program (like a launchbar) or perform an
operation (like a toolbar). Each button can have an icon, text, or
both. And you can have buttons left- or right-justified in the
buttonbar. You will eventually be able to have an arbitrary number
of buttonbars, but I'm still working on that.
As with any change this big, things could very easily be broken. So
beware. :-) I have tested this myself, and everything seems to work,
but I can't test every possibility. Let me know if you find anything
that's broken, and enjoy!
SVN revision: 2048