Commit Graph

33 Commits

Author SHA1 Message Date
Michael Jennings db1c2aa582 Thu Sep 5 21:47:57 2002 Michael Jennings (mej)
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
2002-09-06 01:49:25 +00:00
Michael Jennings 06d77d4d86 Fri Apr 19 15:35:11 2002 Michael Jennings (mej)
Use safe_print_string() to decode string defines before printing them
in --version output.  This fixes Debian bug #143328, submitted by
Tom Gilbert <tom@linuxbrit.co.uk>.

Also removed '~' from the CUTCHARS compiled-in default.  (It had
already been removed from the themes.)  Makes double-click selection
of URL's easier.  Requested by Laurence J. Lane <ljlane@debian.org>.


SVN revision: 6152
2002-04-19 19:38:54 +00:00
Michael Jennings 1ece1388ff Sun Feb 3 15:51:38 2002 Michael Jennings (mej)
Apparently I forgot to commit these copyright date changes. :(


SVN revision: 5895
2002-02-03 20:53:07 +00:00
Michael Jennings 890147b8ea Thu Jan 3 12:38:54 2002 Michael Jennings (mej)
Fixed the select() call based on info from Paul W Brannan
<pbranna@clemson.edu>.  Also added check for _POSIX_SAVED_IDS.


SVN revision: 5804
2002-01-03 17:41:23 +00:00
Michael Jennings 17210b693a Sun Jun 17 11:51:39 2001 Michael Jennings (mej)
Stupid stupid typo.  Originally reported by Bas van Sisseren
<bas@dnd.utwente.nl> in Debian Bug #101161.


SVN revision: 4821
2001-06-17 18:59:32 +00:00
Michael Jennings 3a471bb33e Wed Jun 13 21:13:51 PDT 2001 Michael Jennings <mej@eterm.org>
There is now a new mechanism for dealing with the background image
	collection, including a new update script.  Please read the newly-
	rewritten bg/README.backgrounds for details.

	Also, I'm trying to flesh out the Contributors list in that file, but
	my memory isn't cooperating.  So if you contributed one of the
	backgrounds, or know someone who did, please let me know.


SVN revision: 4810
2001-06-14 05:31:09 +00:00
Michael Jennings ff68bdd1c9 Wed May 16 18:09:55 PDT 2001 Michael Jennings <mej@eterm.org>
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
2001-05-17 01:50:12 +00:00
Michael Jennings 07bae6a264 We're getting awfully close....
SVN revision: 4738
2001-05-08 05:17:36 +00:00
Michael Jennings 9ed171fc55 Thu Feb 1 19:02:51 PST 2001 Michael Jennings <mej@eterm.org>
Jeff Blank <jfb@mr-happy.com> pointed out that Sun's Workshop Pro
	compiler defines __SVR4 but not __svr4__ or SVR4.  This has now been
	accounted for.


SVN revision: 4162
2001-02-02 03:06:06 +00:00
Michael Jennings 683627b0e9 Fri Dec 29 14:39:09 PST 2000 Michael Jennings <mej@eterm.org>
Moved the HAVE_SAVED_UIDS define into a configure option so that the
	FreeBSD folks will have an easier time with it.

	Fixed "make distcheck" which broke at some point.

	That X stuff in clean_exit() should only happen if we're debugging.
	Nobody but me should have to deal with those random hangs. :-)

	Added a patch for multibyte cursor support from Michael C. Wu
	<keichii@iteration.net> and Sung-Hyun Nam <namsh@lgic.co.kr>, along
	with some other FreeBSD-related patches from Mr. Wu.


SVN revision: 4065
2000-12-29 22:59:13 +00:00
Michael Jennings 8138d895fa Mon Oct 30 07:45:16 PST 2000 Michael Jennings <mej@eterm.org>
Several small changes, like freeing pixmaps which won't be needed
	later, reducing the default Imlib2 cache size to 0 bytes (we don't
	really use it well), and an image path bugfix spotted by Teodor
	Zlatanov <tzz@iglou.com>.

	The big change, of course, is the disappearance of libmej and the new
	dependency on libast, which is now distributed separately.


SVN revision: 3793
2000-10-30 23:05:25 +00:00
Michael Jennings f964562863 Sun Sep 17 17:29:26 PDT 2000 Michael Jennings <mej@eterm.org>
Got rid of the useless backing_store option.


SVN revision: 3520
2000-09-18 00:13:07 +00:00
Michael Jennings 9a6507f458 Wed Aug 30 22:58:18 PDT 2000 Michael Jennings <mej@eterm.org>
Massive reorganization/rewrite to libmej.  It should now be 100%
	independent of Eterm.  There still may be some gremlins in the memory
	debugging code, so don't use too high a number with --debug....


SVN revision: 3282
2000-08-31 05:41:44 +00:00
Michael Jennings 22160247e4 Fri Mar 17 18:27:51 PST 2000 Michael Jennings <mej@eterm.org>
I added accelerated scrollwheel support.  I also added a #define in
	src/feature.h for specifying the number of lines of context to keep
	when paging up or down.

	Also, we're back to the old behavior where home on input won't be
	triggered unless the key pressed has an associated string value.  I
	went back on this because Shift causing a jump to the bottom was
	really annoying when trying to Shift-PgUp or Shift-PgDown.  Sorry,
	Darren, but you lose.


SVN revision: 2270
2000-03-18 04:55:14 +00:00
Michael Jennings c9a97e46be Wed Mar 8 19:35:36 PST 2000 Michael Jennings <mej@eterm.org>
Added a new --pipe-name option to allow Eterm to read from a console
	device/tty/pipe other than /dev/console.  This is useful for folks on
	Debian, where "console" messages actually go to the /dev/xconsole
	named pipe rather than to /dev/tty0.


SVN revision: 2212
2000-03-09 03:38:31 +00:00
Michael Jennings 98797354ac Thu Feb 17 15:13:20 PST 2000 Michael Jennings <mej@eterm.org>
Fixed a bug with background colors and proportional fonts.  Also added
	an escape sequence, \e]30;<filename>\a, to dump the scrollback buffer
	to a file.  You will not get colors, or bold, or underlining, or any
	other rendering information.  Just the text.  Linebreaks will appear
	as they do on the screen.


SVN revision: 2090
2000-02-17 23:15:19 +00:00
Michael Jennings 42fde9c99d Thu Feb 10 15:10:01 PST 2000 Michael Jennings <mej@eterm.org>
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
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 67e4e8d959 Tue Jan 11 23:47:36 PST 2000 Michael Jennings <mej@eterm.org>
More fixes with menus and transparency.  After you build this version,
	check out the brand new "glass" theme at http://www.eterm.org/.  It
	looks sweet. :-)


SVN revision: 1905
2000-01-12 07:49:02 +00:00
Michael Jennings 0c66bab547 Wed Jan 5 21:23:56 PST 2000 Michael Jennings <mej@eterm.org>
Copyright date updates.


SVN revision: 1860
2000-01-05 17:34:32 +00:00
Michael Jennings 31afa9e2a8 Thu Dec 30 14:55:59 PST 1999 Michael Jennings <mej@eterm.org>
Finally fixed the seg fault pointed out by Tom Gilbert
	<gilbertt@tomgilbert.freeserve.co.uk> 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 cebe627ab6 Tue Dec 28 11:44:10 PST 1999 Michael Jennings <mej@eterm.org>
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 489e161a8e Mon Dec 6 17:30:21 PST 1999 Michael Jennings <mej@eterm.org>
I'm an idiot.  Thanks to Matthew Hawkins <matthew@topic.com.au> for
	catching my blunder.


SVN revision: 1520
1999-12-06 20:42:17 +00:00
Michael Jennings 8856f0a225 Mon Dec 6 14:05:36 PST 1999 Michael Jennings <mej@eterm.org>
Added support for the Pablo Performance Analysis Toolkit
	(http://www-pablo.cs.uiuc.edu/Software/Pablo/pablo.htm).


SVN revision: 1510
1999-12-06 17:20:16 +00:00
Michael Jennings c58c7d411b Thu Nov 18 21:47:02 PST 1999 Michael Jennings <mej@eterm.org>
I've rewritten almost the entire scrollbar.  It mostly works, but it
	still has issues.  I've put an #error directive in so that it won't
	compile; take it out if you *really* wanna try it.  It's much more
	efficient than before.


SVN revision: 1333
1999-11-19 04:05:24 +00:00
Michael Jennings 8e252e121d Mon Oct 11 16:48:22 PDT 1999 Michael Jennings <mej@eterm.org>
More useless, hackish, and/or poorly-written code meets an untimely
	end.


SVN revision: 799
1999-10-11 19:29:45 +00:00
Michael Jennings 332269133d Mon Oct 11 15:54:52 PDT 1999 Michael Jennings <mej@eterm.org>
Lots of cleanups here, including a couple fixes for bugs noticed by
	Tom Gilbert <gilbertt@tomgilbert.freeserve.co.uk> and Martin Tyler
	<martin@boo.org>.  Also removed the requirement of glibc 2.1 for using
	SVR4-style pty's (/dev/pts/*) under Linux.


SVN revision: 798
1999-10-11 18:37:55 +00:00
Michael Jennings dd84c6abab Thu Oct 7 18:48:31 PDT 1999 Michael Jennings <mej@eterm.org>
Shaved off around 100 KB of memory usage per Eterm by moving more
	code into the shared library, removing lots of unneeded variables, and
	fixing some small leaks here and there.


SVN revision: 710
1999-10-07 22:18:14 +00:00
Michael Jennings 83146208c7 Thu Oct 7 16:12:38 PDT 1999 Michael Jennings <mej@eterm.org>
Auto mode has been fixed to work with the newest E.  If you don't have
	the newest E, it won't work.  So don't bug me about it; just upgrade.
	Your version of E must be dated October 7th or later, or all bets are
	off.

	I also cleaned up some stuff to save lots of unnecessary redraws and
	(if you're in auto mode) E IPC transactions.

	A bug in the value set for $IFS was also fixed.  Thanks to Kimball
	Thurston <kimball@sgrail.com> for pointing out my oversight.

	Furthermore, I added a parameter to the --enable-multi-charset option
	for configure.  You can now specify =utf-8 to get UTF-8 fonts for the
	multi-byte mode stuff.  If you pass =kanji (or no value at all), you
	will still get the old Kanji fonts.  If you use multi-byte Eterm and
	have a set of fonts for other setups (Big 5, Cyrillic, etc.), please
	let me know and I'll add a parameter for those too.


SVN revision: 706
1999-10-07 19:47:14 +00:00
Michael Jennings 3630db17ab Tue Sep 28 14:18:44 PDT 1999 Michael Jennings <mej@eterm.org>
Several fixes here, some of which I forgot to commit a couple days
	ago.  Oopsie. =)


SVN revision: 438
1999-09-28 19:38:43 +00:00
Michael Jennings f3c6a56ace Tue Sep 21 20:00:50 PDT 1999 Michael Jennings <mej@eterm.org>
Initial work on font caching.  WARNING:  This code is broken and will
	not compile, but I'm going home anyway.


SVN revision: 362
1999-09-22 02:34:13 +00:00
Michael Jennings 5ee36e0fd6 Tue Sep 14 16:41:08 PDT 1999 Michael Jennings <mej@eterm.org>
Worked around a XF86 3.9.16 (perhaps Xinerama) problem.  Also added
	some XIM changes from Sung-Hyun Nam <namsh@lgic.co.kr> to handle
	buffer overflows.


SVN revision: 274
1999-09-14 23:22:06 +00:00
Michael Jennings d6c5001acc Oops.
SVN revision: 53
1999-08-18 01:24:23 +00:00