Commit Graph

136 Commits

Author SHA1 Message Date
Michael Jennings 42fde9c99d Thu Feb 10 15:10:01 PST 2000 Michael Jennings <>
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
	<> for his patch that started this whole revamp.

	* Added the kEsetroot script for KDE users from Dax Games

	* 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 <> 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
2000-02-11 00:25:07 +00:00
Michael Jennings 9a0e0ce8fc RH fixes.
SVN revision: 2004
2000-02-01 20:17:08 +00:00
Michael Jennings dea5fcb0cc Hopefully this fixes that hard-to-reproduce crash....
SVN revision: 2001
2000-02-01 06:01:25 +00:00
Michael Jennings 51f6bf3fa7 *mumble*
SVN revision: 1993
2000-01-28 20:22:09 +00:00
Michael Jennings c61eca1900 Try this....
SVN revision: 1974
2000-01-25 21:26:16 +00:00
Michael Jennings ee7c001c4a Fri Jan 21 18:40:13 PST 2000 Michael Jennings <>
Apparently someone was confused by the out-of-date README file, so I
	updated it.

SVN revision: 1959
2000-01-22 02:40:49 +00:00
Michael Jennings 8cb728ab7f Fri Jan 21 12:52:26 PST 2000 Michael Jennings <>
Fixed an off-by-one error in the scrollbar click-handling pointed out
	by Malcolm Tredinnick <>.

SVN revision: 1958
2000-01-21 20:53:49 +00:00
Michael Jennings baa4e7ee51 Tue Jan 18 21:17:24 PST 2000 Michael Jennings <>
Finally got around to adding a bevel to the edges and solid-color
	menus.  Also added arrows for submenus.

SVN revision: 1950
2000-01-19 05:18:14 +00:00
Michael Jennings b329b52608 Tue Jan 18 20:16:01 PST 2000 Michael Jennings <>
Updated the menu files to include all the new images in the background
	collection.  Also fixed a bug with solid-color menus and menus where
	the selected state was not defined.

SVN revision: 1949
2000-01-19 04:17:20 +00:00
Michael Jennings fb9038a78f Some more.
SVN revision: 1945
2000-01-19 01:41:37 +00:00
Michael Jennings 95066b709a Forgot this bit.
SVN revision: 1944
2000-01-19 00:54:59 +00:00
Michael Jennings 369cb91d6d Tue Jan 18 16:47:54 PST 2000 Michael Jennings <>
Some background-related changes since I'm redoing the backgrounds
	collection (i.e., removing the cool-but-too-busy-or-bright pics).

SVN revision: 1943
2000-01-19 00:49:05 +00:00
Michael Jennings 0350f7dead Mon Jan 17 13:27:52 PST 2000 Michael Jennings <>
Fix XK_KP_Insert and XK_KP_Delete to respond to the application keypad

SVN revision: 1935
2000-01-17 21:29:27 +00:00
Michael Jennings b452a54bee Mon Jan 17 13:09:37 PST 2000 Michael Jennings <>
Fixed the faulty assumption that font->per_char is always non-NULL.

SVN revision: 1934
2000-01-17 21:10:44 +00:00
Michael Jennings 0739b291c2 Fri Jan 14 16:34:13 PST 2000 Michael Jennings <>
Fixed a minor emulation problem pertaining to the down arrow on the
	keypad thanks to a patch from Marius Gedminas <>.

SVN revision: 1918
2000-01-15 00:37:22 +00:00
Michael Jennings 7baf006cd3 Wed Jan 12 00:14:11 PST 2000 Michael Jennings <>
This should fix the NONE problem.

SVN revision: 1906
2000-01-12 08:14:45 +00:00
Michael Jennings 67e4e8d959 Tue Jan 11 23:47:36 PST 2000 Michael Jennings <>
More fixes with menus and transparency.  After you build this version,
	check out the brand new "glass" theme at  It
	looks sweet. :-)

SVN revision: 1905
2000-01-12 07:49:02 +00:00
Michael Jennings 48000815d7 Mon Jan 10 16:55:51 PST 2000 Michael Jennings <>
Fixed some transparency issues noticed by keebler

SVN revision: 1887
2000-01-10 11:48:13 +00:00
Michael Jennings 8654a43109 Mon Jan 10 14:47:33 PST 2000 Michael Jennings <>
Fixed the problem with menus in auto mode.

SVN revision: 1884
2000-01-10 09:41:12 +00:00
Michael Jennings 653e879909 Fri Jan 7 20:11:48 PST 2000 Michael Jennings <>
A patch from Sung-Hyun Nam <> to improve multi-byte
	font configuration in the default theme files.

SVN revision: 1870
2000-01-07 15:51:22 +00:00
Michael Jennings 0c66bab547 Wed Jan 5 21:23:56 PST 2000 Michael Jennings <>
Copyright date updates.

SVN revision: 1860
2000-01-05 17:34:32 +00:00
Michael Jennings b2b525585d Not needed.
SVN revision: 1849
2000-01-04 15:31:12 +00:00
Michael Jennings 7830619d07 Tue Jan 4 14:13:48 PST 2000 Michael Jennings <>
Some minor optimizations I did while looking into a bug report.

SVN revision: 1842
2000-01-04 10:46:47 +00:00
Michael Jennings d7aae78488 Mon Jan 3 19:36:16 PST 2000 Michael Jennings <>
Fixed a seg fault on large resizes.  Also redid some of the memory
	tracking code to provide more information.

SVN revision: 1837
2000-01-03 16:23:56 +00:00
Michael Jennings ea41c7f739 Mon Jan 3 12:47:59 PST 2000 Michael Jennings <>
Fixed the bug with a solid scrollbar not updating colors when the
	focus changed.  Pointed out by cirin <>.

SVN revision: 1824
2000-01-03 09:40:14 +00:00
Michael Jennings 04b6556890 Mon Jan 3 11:14:27 PST 2000 Michael Jennings <>
First commit of the new year!  (Notice I didn't say the new millenium,
	since *that* doesn't start until Jan 1, 2001.)

	This should hopefully fix the bug where dead keys would bring up the

SVN revision: 1823
2000-01-03 08:07:32 +00:00
Michael Jennings 31afa9e2a8 Thu Dec 30 14:55:59 PST 1999 Michael Jennings <>
Finally fixed the seg fault pointed out by Tom Gilbert
	<> back in mid-September where
	small Eterms with little or no scrollback would crash when receiving
	large amounts of data all at once.

	I also fixed a clearing issue with double buffering, and I worked
	around a really lame gdb/glibc2 bug that has prevented me from using
	gdb with Eterm for ages.

SVN revision: 1804
1999-12-30 12:44:45 +00:00
Michael Jennings b1d55e271d Wed Dec 29 12:32:19 PST 1999 Michael Jennings <>
I think I've finally got the menu behavior working right.  Menus now
	move themselves if needed, and exposes are now handled properly.

SVN revision: 1782
1999-12-29 10:36:38 +00:00
Michael Jennings fb5c99edfb Oops.
SVN revision: 1781
1999-12-29 06:34:02 +00:00
Michael Jennings cebe627ab6 Tue Dec 28 11:44:10 PST 1999 Michael Jennings <>
Thanks to a cl00 from raster, double buffering is much more efficient
	now. :-)

SVN revision: 1780
1999-12-28 10:05:43 +00:00
Michael Jennings d5373ead6a Tue Dec 21 16:04:39 PST 1999 Michael Jennings <>
Fixed a little issue with setting the background pixmap to None via
	the menu.

SVN revision: 1729
1999-12-21 16:04:02 +00:00
Michael Jennings d4edaa77fc Tue Dec 21 13:19:06 PST 1999 Michael Jennings <>
Fixed the geometry handling again.  Also fixed the parsing of geometry
	strings like '-0+0'.

SVN revision: 1724
1999-12-21 13:20:32 +00:00
Michael Jennings d9251f002d Mon Dec 20 19:38:40 PST 1999 Michael Jennings <>
I fixed a bunch of double-buffering stuff here.  I'm going to use it
	by default on my own Eterms for awhile, and if I don't hit any snags,
	I'll make it the default in the themes.

SVN revision: 1708
1999-12-20 19:52:10 +00:00
Michael Jennings 1b605f362f Mon Dec 20 18:51:10 PST 1999 Michael Jennings <>
Son of a Gnea.  How did I ever get away with having *these* frikkin'
	bugs in there?! =P

SVN revision: 1704
1999-12-20 19:08:00 +00:00
llane 6aec83e79c more preliminary assimilation
SVN revision: 1687
1999-12-19 21:08:32 +00:00
Michael Jennings 8a879cc69d Added some fallbacks and such for transparency.
SVN revision: 1611
1999-12-13 17:34:44 +00:00
Michael Jennings ce9352799c Mon Dec 13 10:00:40 PST 1999 Michael Jennings <>
A patch from Sung-Hyun Nam <> for some default Korean

SVN revision: 1606
1999-12-13 12:10:50 +00:00
Michael Jennings ea23f130e8 Mon Dec 13 09:42:44 PST 1999 Michael Jennings <>
Oops.  I intended to test without multi-charset before committing, but
        I seem to have forgotten to do that.  Lots and lots of people
        submitted various patches for this, but I didn't use any of them.  But
        thanks to all for pointing out my error. :-)

SVN revision: 1603
1999-12-13 11:53:54 +00:00
Michael Jennings 55ddc328cd Fri Dec 10 23:33:16 PST 1999 Michael Jennings <>
I finally got around to implementing double-buffering, although it
	seems to still have some issues with font changes.  But if you don't
	change fonts, it works great. :-)

	I also fixed the multibyte font stuff with help from Sung-Hyun Nam
	<>.  There seem to be some new issues here, though,
	with the background pixmap.  But I'm to tired to look deeper tonight.

SVN revision: 1588
1999-12-11 02:06:33 +00:00
Michael Jennings 65719dbfc5 A spec file that works properly. Thanks again to Tim Powers at RedHat for
doing most of the work on this.

SVN revision: 1585
1999-12-10 19:21:13 +00:00
Michael Jennings 4b9a04b001 Wed Dec 8 19:05:06 PST 1999 Michael Jennings <>
Updated the man page once again.

SVN revision: 1559
1999-12-08 21:57:44 +00:00
Michael Jennings 4af86536a7 Tue Dec 7 22:10:19 PST 1999 Michael Jennings <>
Support for RedHat's utempter library and some other fixes.  Thanks to
	Erik Troan <> and Tim Powers <> for their
	help with this.

SVN revision: 1547
1999-12-08 01:13:44 +00:00
Michael Jennings b9864e98fe Mon Dec 6 21:53:23 PST 1999 Michael Jennings <>
Update our modifier masks when the mappings change.  Note that this
	will supercede any config file settings you have; that's life.

SVN revision: 1529
1999-12-07 01:03:49 +00:00
Michael Jennings 489e161a8e Mon Dec 6 17:30:21 PST 1999 Michael Jennings <>
I'm an idiot.  Thanks to Matthew Hawkins <> for
	catching my blunder.

SVN revision: 1520
1999-12-06 20:42:17 +00:00
Michael Jennings 086260544d Bleh.
SVN revision: 1511
1999-12-06 17:25:35 +00:00
Michael Jennings 8856f0a225 Mon Dec 6 14:05:36 PST 1999 Michael Jennings <>
Added support for the Pablo Performance Analysis Toolkit

SVN revision: 1510
1999-12-06 17:20:16 +00:00
Michael Jennings b1994ddf16 Oops.
SVN revision: 1502
1999-12-06 15:34:42 +00:00
Michael Jennings fa9da4f7eb Thu Dec 2 22:18:51 PST 1999 Michael Jennings <>
A good number of changes here.  First off, since nobody reported any
	bugs with the new font stuff, I switched the multibyte fonts over to
	use it as well.  They do use the same font index, however, in order to
	keep the sizes matched up.

	I also fixed up the modifier stuff so that Meta and Alt are matched
	by KeySym rather than assuming Mod1.  I also took care of the action
	dispatcher so it would keep up with these changes.

	To go along with this, I added 3 new options and config file
	attributes which allow you to set the modifier that should represent
	Meta, Alt, and NumLock.  This overrides the automatically-detected
	X server settings.

	I also applied some fixes to the XIM code from Sung-Hyun Nam

SVN revision: 1482
1999-12-03 02:31:33 +00:00
Michael Jennings c00ecb143c Fri Nov 19 23:05:31 PST 1999 Michael Jennings <>
Once again, I've rendered old themes obselete. :-)

	I added a new config file attribute and command-line parameter.  The
	option is --default-font-index, but I wouldn't necessarily use it.
	The config file attribute makes more sense. :-)

	Anyway, your themes will now need to have a line like this:

	    font default <index>

	in the attributes section.  This tells Eterm which font it should use
	on startup.  (<index> is a number between 0 and the highest-numbered
	font you define.)  You can now have up to 256 fonts.  Font 0 is no
	longer necessarily the default font; it is the smallest font.  And the
	larger the font index, the larger the font should be.  (Of course,
	this assumes you want Ctrl-> and Ctrl-< to increase/decrease your font
	size.  In reality, you can have your fonts in any order, and those
	keys will cycle through them in order.)

	Before, font 0 was always the default, and you didn't have much
	freedom in rearranging your fonts.  Plus, you were limited to 5.  Not
	any more. :-)  The new system is much more straight-forward, logical,
	and powerful.

	So please be sure to update your themes by hand, or remove your theme
	directory before installing this new version.  If your theme lacks
	the "font default" line, your Eterms will start with the wrong font.

SVN revision: 1344
1999-11-20 05:17:29 +00:00
Michael Jennings eeab8b0a87 Fri Nov 19 18:43:58 PST 1999 Michael Jennings <>
Fixed some other stuff I found, and cleaned up the remaining
	occurances of calls to the old scrollbar_show() function.

SVN revision: 1343
1999-11-20 00:51:26 +00:00