Commit Graph

78 Commits

Author SHA1 Message Date
Michael Jennings 7e4994ae05 Wed Jan 7 15:08:24 2004 Michael Jennings (mej)
Disable build-time check for screen.

SVN revision: 8297
2004-01-07 20:08:42 +00:00
Michael Jennings 200ba29a4c Tue Dec 9 22:26:17 2003 Michael Jennings (mej)
Add libast libs to GRLIBS.

Hopefully fixed Etbg_update_list to be Solaris /bin/sh-friendly.

SVN revision: 8077
2003-12-10 03:27:02 +00:00
Michael Jennings 06f3d6a920 Fri Nov 28 09:04:49 2003 Michael Jennings (mej)
Changes for compatibility with newer LibAST.

SVN revision: 7958
2003-11-28 14:05:28 +00:00
Michael Jennings 5d112d314e Mon May 12 22:07:45 2003 Michael Jennings (mej)
Use icon window instead of icon pixmap only if strict ICCCM compliance
is requested via ./configure --enable-strict-icccm

SVN revision: 6904
2003-05-13 02:08:41 +00:00
Michael Jennings 8ae4b7db7e Wed Apr 23 12:14:00 2003 Michael Jennings (mej)
Apparently some versions of gcc (or maybe ld?) don't like duplicate
libraries on the link line.  Fix provided by Mark <>.

SVN revision: 6876
2003-04-23 16:16:23 +00:00
Horms 1844b4d80a Fixed a problem in the detection of XIM support in X11R6.
The XIM X11R6 check was being attempted before XIM support
was enabled (or disabled) in Thus the
check was never actually made and X11R6 XIM support was always off.

This caused the resulting Eterm build to have a bug whereby if
the XIM server (kinput2) exits, as it is want to do when
it crashes from time to time, then Eterm would segfault
on reciept of a focus event. By compiling with X11R6 XIM support
Eterm received an event when kinput2 exits and it is all good.

I am not sure if this should be on for all XIM support or not.

SVN revision: 6796
2003-03-31 09:48:46 +00:00
Michael Jennings 5acc713fc1 Tue Dec 10 16:50:29 2002 Michael Jennings (mej)
A few fixes from Andre Pang <>.  One for big-
endian machines, one for automake >= 1.6, and one for using the cut
buffers with the copy/paste script functions.

SVN revision: 6489
2002-12-10 21:52:13 +00:00
Michael Jennings 43a572f886 Thu Nov 21 14:11:29 2002 Michael Jennings (mej)
Fixed a typo noted by Bill Allombert <>.

SVN revision: 6457
2002-11-21 19:12:11 +00:00
Michael Jennings c90247ce54 Thu Nov 7 12:37:08 2002 Michael Jennings (mej)
Fixed typo in that caused ESCREEN to always be defined.

Added support for /etc/screen/screenrc, as it is on gentoo.

SVN revision: 6442
2002-11-07 17:38:00 +00:00
Michael Jennings 95c01fb311 Wed Oct 9 00:05:22 2002 Michael Jennings (mej)
The beginnings of a dedicated config file section for Escreen stuff.

SVN revision: 6418
2002-10-09 04:06:40 +00:00
Michael Jennings 6b461d5434 Fri Oct 4 21:17:42 2002 Michael Jennings (mej)
LibAST 0.5 is now required to build Eterm.  Hope everyone updated.  By
the way, this fixes that old font-starts-with-a-hyphen bug along with
some compiler warnings the resulted from a change in the way the
ASSERT() macro worked.

SVN revision: 6407
2002-10-05 01:19:41 +00:00
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 <> and Will Yardley
<> for their assistance with this.

SVN revision: 6391
2002-09-06 01:49:25 +00:00
Michael Jennings e9207f876b Tue Aug 13 22:55:58 2002 Michael Jennings (mej)
Documentation fix from Jim Lewis <>.

SVN revision: 6365
2002-08-14 03:01:48 +00:00
Michael Jennings ec34068f82 Wed Jun 26 16:58:14 2002 Michael Jennings (mej)
Latest Escreen stuff from Azundris, including work on twin support

SVN revision: 6330
2002-06-26 21:02:12 +00:00
Michael Jennings b5698e4d63 Wed May 22 09:16:55 2002 Michael Jennings (mej)
Touch-ups to help info.

SVN revision: 6268
2002-05-22 13:18:46 +00:00
Michael Jennings 6f6ebe924f Sat May 4 11:12:19 2002 Michael Jennings (mej)
Added a --enable-escreen option for those who wish to try it out.
Also fixed the compile with Escreen and profiling are both enabled,
and disabled Escreen debugging.

SVN revision: 6203
2002-05-04 15:12:59 +00:00
tzz bff50aaeee applied automatic encodings patch, see ChangeLog. Also a minor CONFIG_BUFF
missing define fix.

SVN revision: 5962
2002-02-20 14:44:46 +00:00
Michael Jennings bc4a8eb888 Mon Feb 11 14:22:28 2002 Michael Jennings (mej)
A few squirts of my trusty Cruft-B-Gone, and VOILA!  :-)

SVN revision: 5917
2002-02-11 19:24:34 +00:00
Michael Jennings df8f0ee6ad Mon Feb 11 11:15:36 2002 Michael Jennings (mej)
Fixed quoting in the configure script.

SVN revision: 5916
2002-02-11 16:17:09 +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 5a825f2198 Sat Dec 29 16:09:42 2001 Michael Jennings (mej)
Use AC_PROG_AWK to detect gawk/nawk/awk.

SVN revision: 5793
2001-12-29 21:14:36 +00:00
Michael Jennings 1e97991b6a Mon Dec 3 20:16:39 2001 Michael Jennings (mej)
Patches from Paul Brannan <>, Klaus Elsbernd
<>, and Derrick Moser
<> which appeared while I was away.
Fixes for mouse wheel reporting and reset handling (Paul), Solaris
portability (Klaus), and XIM (Derrick).

Getting ready to release 0.9.2 soonish.

SVN revision: 5745
2001-12-04 01:22:07 +00:00
Michael Jennings b8e17e5de4 Sun Oct 21 06:15:13 2001 Michael Jennings (mej)
Fixed a couple remaining bugs in 0.9.1, including that really
annoying problem people keeping whining about where Eterm won't build
without Imlib2.  It will now. :P

SVN revision: 5543
2001-10-21 13:21:05 +00:00
Michael Jennings e65a9e34aa Thu Aug 23 14:00:02 2001 Michael Jennings (mej)
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
2001-08-23 21:04:36 +00:00
Michael Jennings f89dff3d3d Sun Aug 5 01:52:51 2001 Michael Jennings (mej)
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
<>.  And finally, added in a patch from Paul
Brannan <> to support some additional escape
sequences for vim.

SVN revision: 5044
2001-08-05 08:57:32 +00:00
Michael Jennings c3d2a57fc8 Mon Jul 23 17:59:18 2001 Michael Jennings (mej)
Fixed the problem where the wrong font would end up in your menus and
buttonbars if you enable multibyte support but don't have a specific
encoding in use.  I also corrected a large number of misplaced
newlines in error messages; I think that was some Perl-fu gone awry.

SVN revision: 4980
2001-07-24 01:00:37 +00:00
Michael Jennings 85fdcf3f30 Tue Jul 3 18:01:24 2001 Michael Jennings (mej)
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
2001-07-04 01:02:37 +00:00
Michael Jennings c3f775c1b5 Mon Jun 11 17:49:55 PDT 2001 Michael Jennings <>
Okay, first off, I removed 3 scaled backgrounds.  See or
	my post to enlightenment-devel for details.

	Second, I redid the default bindings for the mouse wheel.  Basically,
	the wheel alone will scroll by pages.  Ctrl+wheel will scroll by pages
	in groups of 5.  Shift+wheel will scroll by a single line.  If you
	hold down the Alt key, the same combinations will work the same way,
	but instead of scrolling within Eterm, they'll scroll the application
	in the terminal (by sending PgUp/PgDn and up/down arrows).  This works
	in less, bash, and any other application which groks those keys.

	I also added a --without-mousewheel option to configure that will turn
	off the default scrollwheel bindings.  Of course, you can always use
	action bindings in the config file to bind/rebind these any way you

	While I was at it, I found and fixed a bug in the handling of the
	Alt and Meta keys.

	I added a scroll() function to the script stuff which allows you to
	bind keys/buttons to scroll up and down.  While I was at it, I added
	comments to script.c for each function you can use.

	And finally, the config file parser was moved to libast.

SVN revision: 4806
2001-06-12 01:04:45 +00:00
Michael Jennings f5b30dedad Wed Jan 10 12:58:31 PST 2001 Michael Jennings <>
Added a spec file for Linux-Mandrake which was contributed (ages ago)
	by Joakim Bodin <>.  I don't plan on maintaining
	this, so I hope he does. :-)

	Also applied a menu change which I am hoping will fix an infinite
	recursion bug in the menu system pointed out on SourceForge by
	Jonathan S. Keim <>.

SVN revision: 4108
2001-01-10 21:07:11 +00:00
Michael Jennings 683627b0e9 Fri Dec 29 14:39:09 PST 2000 Michael Jennings <>
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
	<> and Sung-Hyun Nam <>, along
	with some other FreeBSD-related patches from Mr. Wu.

SVN revision: 4065
2000-12-29 22:59:13 +00:00
Michael Jennings 1a4de140ef Let's try this again. Stupid CVS.
SVN revision: 3920
2000-11-25 03:02:24 +00:00
Michael Jennings 30106904c3 Fri Nov 24 18:53:13 PST 2000 Michael Jennings <>
At the request of Snow-Man <>, I added the build
	date to the output of --version.  While I was at it, I also added the
	RCS ident strings.

	I also applied a patch from Sung-Hyun Nam <> that
	fixes XIM-related seg faults during clean-up.

SVN revision: 3919
2000-11-25 02:55:40 +00:00
Michael Jennings 2b30d160f4 Thu Nov 16 16:40:54 PST 2000 Michael Jennings <>
VA bought some licenses for Insure++, so I've been using it to audit
	Eterm.  These are just the initial results of the collaboration; there
	will most likely be more.  So far things are looking pretty good.  I
	just wish Insure++ had more helpful messages.  I'd really love to be
	able to track down those reads/writes involving freed pointers that
	it claims to have found in Imlib2....

	I also had to try and make the build work without MMX.  I did so; I
	just hope it still works *with* MMX.... =)

SVN revision: 3895
2000-11-16 23:45:01 +00:00
Michael Jennings 718ea96410 Tue Nov 14 17:17:53 PST 2000 Michael Jennings <>
Since someone wanted it, if no name is given but an exec line (the -e
	option) is given, the name defaults to the first word in the exec line
	instead of "Eterm-<version>".  For example, Eterm -e ssh foo would get
	the title "ssh".  NOTE:  Most Eterm themes already specify a name, so
	this will not work with those themes.

SVN revision: 3886
2000-11-15 01:30:02 +00:00
Michael Jennings 9e8120cb88 Thu Nov 9 19:22:18 PST 2000 Michael Jennings <>
Fixed the error message bug I noticed.  There's also a big5 fix from
	Chung-Yen Chang <>, and I got rid of some
	tiny memory leaks in the X data, the first of which was noticed by

SVN revision: 3844
2000-11-10 03:26:04 +00:00
Michael Jennings 90a1716cc1 Last bit of libmej cruft.
SVN revision: 3801
2000-11-01 04:18:04 +00:00
Michael Jennings c39cea44f0 Tue Oct 31 19:33:09 PST 2000 Michael Jennings <>
Apparently AC_PREFIX() is too stupid to handle programs with hyphens
	in their names.

SVN revision: 3800
2000-11-01 03:33:55 +00:00
Michael Jennings cfc55d409a Fixed the auto-fetch thingie for libast.
SVN revision: 3794
2000-10-31 04:56:13 +00:00
Michael Jennings 8138d895fa Mon Oct 30 07:45:16 PST 2000 Michael Jennings <>
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 <>.

	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 e1573e95c8 Fri Sep 1 15:25:28 PDT 2000 Michael Jennings <>
Okay, everything seems hunky-dorey now.  If you have memory debugging
	turned on, exiting Eterm will give a dump of the leftover allocated
	memory including where it came from and how much there is.  You'll
	also get a listing of all the remaining Pixmap ID's and GC ID's along
	with where they were created.

	I also added some macros to the debugging stuff in libmej.h so that
	if you pass the --without-debugging option to ./configure, it will
	optimize out all the ASSERT and REQUIRE goop.  This will make it
	harder to trap bugs before they cause problems, so don't do it if you
	want to help development, but if speed is critical to you, give it a

SVN revision: 3294
2000-09-01 22:14:17 +00:00
Michael Jennings cdbb53b4bf Thu Aug 31 23:02:10 PDT 2000 Michael Jennings <>
Still more big changes.  Working on adding pixmap and GC tracking to
	libmej using the existing allocation tracking routines.

SVN revision: 3291
2000-09-01 05:46:04 +00:00
Michael Jennings 9a6507f458 Wed Aug 30 22:58:18 PDT 2000 Michael Jennings <>
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 b05a37a6af Thu Jul 6 23:56:54 PDT 2000 Michael Jennings <>
I think I've finally fixed all those XPolyText8() errors with pixmap
	support disabled.  Solid color mode buttonbars seem to work now also.

SVN revision: 2907
2000-07-07 06:41:12 +00:00
Michael Jennings e458986d63 Mon Jun 26 16:54:04 PDT 2000 Michael Jennings <>
Between myself and Marius Gedminas <>, I think we
	licked that BCE issue that was talked about on the mutt-dev list.

SVN revision: 2891
2000-06-26 23:37:05 +00:00
Michael Jennings e64307644d Fri May 26 20:43:03 PDT 2000 Michael Jennings <>
Okay, there are a few changes here.  First off, I made multi-byte font
	support the default now, as long as you have ISO 10646 fonts.  In
	order to do this, I made the default encoding type "Latin1" so as not
	to interfere with 8-bit ISO 8859-1 characters.  This means that if you
	relied on the default multi-byte encoding method to be SJIS, you'll
	need to update your theme files.

	I also set it up so that Eterm will ignore SIGHUP, at least until I do
	something with it (like reloading the theme or something).

	I fixed the proportional font size algorithm.  If there is more than
	a 3-pixel variance between the minimum and maximum sizes for glyphs in
	a proportional font, Eterm will set the size to 2 standard deviations
	above the average width.  This is so that they won't look so spread
	out and ugly, but it still doesn't look perfect.  Not much I can do on
	that front...terminals must have fixed-width columns.

	And then there's the biggie.  I put in the ability to configure the
	now-infamous font effects.  I left a black drop shadow in as the
	default, but you can now customize it via the --font-fx option or in
	the config file using "font effects <stuff>" in the attributes
	context.  You can even use "fx" instead of "effects" for short.

	So what goes in the <stuff> part?  Well, you have several options.
	To use a single-color outline, say "outline <color>".  Likewise, a
	single-color drop shadow is "shadow [corner] <color>"; "bottom_right"
	is the default corner if you don't specify one.  For a 3-D embossed
	look, "emboss <dark_color> <light_color>".  The opposite, a carved-
	out look, can be had with "carved <dark_color> <light_color>".  (Of
	course, with those last two, the 3-D look will only work if you
	choose the colors wisely.)

	Those are all the shortcuts.  The long way is to specify a series of
	corner/color pairs, like "tl blue" for top-left blue, or
	"bottom_right green".  You can abbreviate using "tl," "tr," "bl," or
	"br," or you can spell out "top_left," "top_right," "bottom_left," or
	"bottom_right."  If you omit a corner name, the first one defaults to
	top-left, the second to top-right, and so on as listed above.

SVN revision: 2714
2000-05-27 03:41:22 +00:00
Michael Jennings dda8ccf31f Thu May 4 00:32:45 PDT 2000 Michael Jennings <>
Added new shade/tint routines, including some done in MMX assembly, by
	Willem Monsuwe <>.  Thanks Willem!  These should prove
	to be faster than the old stuff, probably by quite a bit.

SVN revision: 2595
2000-05-04 07:22:07 +00:00
Michael Jennings 4bb04764b3 Tue May 2 16:56:47 PDT 2000 Michael Jennings <>
After getting sick of hearing people whining about the obscure error
	messages that resulted from trying to build without pixmap support, I
	hacked it until it at least built without it.  I also added warnings
	to so that people would know if that happened.

	It's still not very happy running that way, which is something I need
	to fix.  But hopefully it will stop the whining.

	Yeah, right. =P

SVN revision: 2590
2000-05-02 23:46:08 +00:00
Michael Jennings afda3ff59a Thu Apr 27 19:54:28 PDT 2000 Michael Jennings <>
Made some changes to the build process that should fix things for
	people without shared library dependencies working.

SVN revision: 2570
2000-04-28 02:42:26 +00:00
Michael Jennings bf64d68ef5 Wed Apr 12 21:46:41 PDT 2000 Michael Jennings <>
Fixed auto mode problems.  That was a really dumb oversight.

SVN revision: 2479
2000-04-13 04:34:33 +00:00
Michael Jennings dfc718de71 Wed Apr 12 21:18:19 PDT 2000 Michael Jennings <>
This is the initial commit with Imlib2 support.  READ THIS CAREFULLY.
	There is important information in this commit message that will keep
	you from getting screwed.

	First off, support for Imlib 1.x is GONE.  It is no longer supported
	as of now.  If you want to continue using it, do NOT install this
	version.  I tried to support both for awhile, but the code ended up
	being way too ugly and hackish.  Imlib2 is the future.  And trust me,
	when you see what we do with this future, you'll be happy for the

	The good news is that most of the basics work.  Transparency still
	works, and the basic image stuff works.  Most users won't notice any
	major problems, so long as your Imlib2 is 100% up-to-date.

	However, a few things still don't work:

	1.  Auto mode is a bit broken.  You'll get X errors in XFree86 4.0.
	Don't use it if you're running XFree 4.

	2.  Color modifiers for images don't work.  At all.

	3.  Transparency shading/tinting will not work in 8bpp or lower.  Life
	blows sometimes.  Sorry.  Time for a real video card. :-)

	4.  The built-in icon is broken.

	5.  You WILL need to update your theme.cfg files.  The borders on the
	horizontal and vertical bar images were incorrect when combined with
	the new anti-aliased scaling.  The horizontal bars should have a right
	border of 3.  Vertical bars should have a bottom border of 3.  The
	menu images should have both right *and* bottom borders of 3.  You can
	either make those changes by hand, or use the --with-theme-update
	option to  Your call.

	I think that covers everything I've run into.  I will point out that
	I don't really take advantage of a lot of the Imlib2 features just
	yet.  My first priority is to make all the stuff that worked before
	work again (or at least the important stuff).  Then I'll work on
	new features.

	So there it is.  If you're not ready for it, don't use it.  But if you
	are, I hope you like it.

SVN revision: 2478
2000-04-13 04:19:05 +00:00