Commit Graph

383 Commits

Author SHA1 Message Date
Michael Jennings 4d779be4e2 Mon Apr 18 16:00:22 2005 Michael Jennings (mej)
Remove unused NO_XLOCALE crap and do it right.
----------------------------------------------------------------------


SVN revision: 14227
2005-04-18 20:01:59 +00:00
Michael Jennings d983ccb3c5 Tue Mar 15 16:44:09 2005 Michael Jennings (mej)
Reverted part of a patch from Chris Schoeneman <crs23@bigfoot.com>
(changelog entry "Fri Jun 25 17:48:24 2004") which broke dead keys and
compose-key sequences.

Fixed autoSHIT for dist/distcheck/distclean/maintainer-clean and newer
autoSHIT versions.

Fixed error in saving of cut_chars attribute.

Fixed saving/handling of beep_command attribute.
----------------------------------------------------------------------


SVN revision: 13745
2005-03-15 21:48:14 +00:00
Michael Jennings fb382f1f52 Wed Feb 23 15:37:40 2005 Michael Jennings (mej)
Merged in previous autoFUCK changes from libast.

Added a feature to specify a command to be run in place of the normal
PC speaker beep.
----------------------------------------------------------------------


SVN revision: 13484
2005-02-23 20:38:24 +00:00
Michael Jennings 2cbc7871a7 Mon Dec 20 14:42:00 2004 Michael Jennings (mej)
Oops, let's not jump into that just yet.
----------------------------------------------------------------------


SVN revision: 12527
2004-12-20 19:42:17 +00:00
Michael Jennings 3c059ee512 Mon Dec 20 14:31:33 2004 Michael Jennings (mej)
Okay, so my first problem was that I didn't pay close enough attention
to the iconv_open() man page and got the parameter order wrong.  Duh.
Thanks to Sytse Wielinga <s.b.wielinga@student.utwente.nl> for
noticing that.

kwo suggested using XmbDrawString(), but that causes font problems I'm
not ready to diagnose just yet.
----------------------------------------------------------------------


SVN revision: 12526
2004-12-20 19:37:04 +00:00
swielinga 11356eeb96 Fixed the obvious errors in this UTF-8 code. It doesn't produce gibberish
anymore, though it doesn't appear to be multilingual heaven just quite yet.


SVN revision: 12501
2004-12-18 19:04:12 +00:00
Michael Jennings d7f979b78b Fri Dec 17 16:35:31 2004 Michael Jennings (mej)
Another attempt (and failure) at UTF-8 support.  Disabled until
someone can help me out.

If you know iconv(), please have a look at the FIXME_BLOCK starting at
line 3509 of src/command.c.
----------------------------------------------------------------------


SVN revision: 12495
2004-12-17 21:37:39 +00:00
Michael Jennings 19cae1a53d Tue Dec 14 17:22:23 2004 Michael Jennings (mej)
The benefits of being a passenger on a long road trip...  The
beginnings of EWMH opacity (a la xcompmgr) support and (hopefully)
UTF-8 support.  Both as yet untested.
----------------------------------------------------------------------


SVN revision: 12471
2004-12-14 23:24:33 +00:00
Michael Jennings de37fb2506 Sun Nov 7 15:37:43 2004 Michael Jennings (mej)
Fixed minor typo.
----------------------------------------------------------------------


SVN revision: 12144
2004-11-07 20:38:20 +00:00
Michael Jennings 7db420d474 Wed Nov 3 18:17:52 2004 Michael Jennings (mej)
Small patch for building against libast 0.6.1.

Fixed compile error when enabling OFFIX_DND support pointed out by JG
Miller <miller@yoyo.org>.
----------------------------------------------------------------------


SVN revision: 12140
2004-11-03 23:18:45 +00:00
Michael Jennings bb5b400795 Fri Jul 23 12:27:18 2004 Michael Jennings (mej)
Oops, missed one. :(
----------------------------------------------------------------------


SVN revision: 10984
2004-07-23 16:28:25 +00:00
Michael Jennings 8f9eba2e6d Fri Jul 23 12:21:25 2004 Michael Jennings (mej)
Kirby Kuehl <vacuum@technotronic.com> pointed out some portability
issues.  These should now be fixed.
----------------------------------------------------------------------


SVN revision: 10983
2004-07-23 16:23:06 +00:00
Michael Jennings 7ae8f07814 Fri Jul 16 17:59:48 2004 Michael Jennings (mej)
If $LANG refers to a UTF-8 or similar locale, remove that part.  In
other words, en_US.utf8 becomes en_US instead.
----------------------------------------------------------------------


SVN revision: 10868
2004-07-16 22:01:47 +00:00
Michael Jennings 9963e03658 Wed Jul 14 16:16:48 2004 Michael Jennings (mej)
Applied patch from Kim Woelders <kim@woelders.dk> to fix setting of
_NET_WM_ICON property.

Fixed a couple warnings.
----------------------------------------------------------------------


SVN revision: 10834
2004-07-14 20:18:30 +00:00
Michael Jennings d493c1b5d5 Mon Jun 28 12:34:36 2004 Michael Jennings (mej)
Cleaning up some warnings.
----------------------------------------------------------------------


SVN revision: 10609
2004-06-28 16:36:57 +00:00
Michael Jennings 6ca328e9c7 Mon Jun 28 12:12:39 2004 Michael Jennings (mej)
No no no!  That goes on the branch!
----------------------------------------------------------------------


SVN revision: 10608
2004-06-28 16:15:18 +00:00
Michael Jennings cad5eeb5d5 Mon Jun 28 12:04:05 2004 Michael Jennings (mej)
Merge.
----------------------------------------------------------------------


SVN revision: 10606
2004-06-28 16:06:36 +00:00
Michael Jennings d883466f6e Fri Jun 25 17:48:24 2004 Michael Jennings (mej)
Chris Schoeneman <crs23@bigfoot.com> pointed out that Eterm didn't get
keypresses if another app (like synergy) decided to listen for its
events.  This should correct that behavior.
----------------------------------------------------------------------


SVN revision: 10583
2004-06-25 21:52:00 +00:00
Michael Jennings 884367920e Mon May 10 18:43:15 2004 Michael Jennings (mej)
Revert change from February 29th.  I never could reproduce it anyway.


SVN revision: 10158
2004-05-10 22:43:58 +00:00
Michael Jennings b73ab6a85d Tue Apr 20 15:40:39 2004 Michael Jennings (mej)
Enable title-reporting and iconname-reporting escape sequences only if
specifically requested by user at compile time.  This exists solely to
protect the ignorant and careless from themselves.


SVN revision: 9812
2004-04-20 19:41:38 +00:00
Michael Jennings 6c1f2d8b08 Tue Apr 20 13:44:22 2004 Michael Jennings (mej)
As requested by Ben Armstrong <synrg@sanctuary.nslug.ns.ca>, saving
theme settings will not preserve -e/--exec arguments unless a theme
was specifically named by the user.


SVN revision: 9811
2004-04-20 17:50:14 +00:00
Michael Jennings 706773584e Mon Apr 5 17:12:06 2004 Michael Jennings (mej)
Fixed bug in loading print_pipe attribute pointed out by Tom A. Cox
<tomc@hot.rr.com>.


SVN revision: 9612
2004-04-05 21:00:36 +00:00
Michael Jennings 6bc3bad36b Thu Mar 11 09:07:13 2004 Michael Jennings (mej)
Fixed window sizing race condition noted by Virgil <virgil@yak.net>.


SVN revision: 9323
2004-03-11 13:59:44 +00:00
Michael Jennings 4272606b8e Sun Feb 29 17:51:48 2004 Michael Jennings (mej)
Disable use of ~/user.cfg as requested by Laurence J. Lane
<ljlane@debian.org>.


SVN revision: 9166
2004-02-29 22:46:12 +00:00
Michael Jennings 41ba8fec04 Wed Feb 11 14:06:20 2004 Michael Jennings (mej)
Fixed handling of escape sequences while printing.  Pointed out by
Tom A. Cox <tomc@hot.rr.com>.


SVN revision: 8941
2004-02-11 19:03:37 +00:00
Michael Jennings 020ab11571 Mon Jan 19 21:02:30 2004 Michael Jennings (mej)
Patch from David Lloyd <dmlloyd@tds.net> for overstrike support.


SVN revision: 8577
2004-01-20 02:04:04 +00:00
Michael Jennings 8e26d97824 Sun Jan 11 17:09:07 2004 Michael Jennings (mej)
It's too bad you can't just say, "Copyright 1997-2999."


SVN revision: 8349
2004-01-11 22:10:29 +00:00
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 0d54ac8f90 Sun Dec 21 21:43:58 2003 Michael Jennings (mej)
Fix :hscale and :vscale to work properly.


SVN revision: 8164
2003-12-22 02:44:36 +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 3fb2fd57f3 Fri Nov 7 12:26:11 2003 Michael Jennings (mej)
Fixed stupid mathematical blunder in the font handling code pointed
out by Laurence J. Lane <ljlane@debian.org>.

Allow save_buff() script function to dump to stderr if no file is
specified.  Note that script functions CANNOT be triggered by escape
sequences.


SVN revision: 7818
2003-11-07 17:28:42 +00:00
Michael Jennings f5856289e0 Mon Oct 27 21:39:29 2003 Michael Jennings (mej)
Changed -D/--desktop option to use EWMH-compliant desktop atom.

Add support for EWMH icon property.


SVN revision: 7749
2003-10-28 02:42:53 +00:00
Michael Jennings 2918d31c09 Mon Aug 25 21:08:20 2003 Michael Jennings (mej)
Patch from David Lloyd <dmlloyd@tds.net>.  Removed the NO_BRIGHTCOLOR
and NO_BOLDOVERSTRIKE defines.  If you want to do NO_BRIGHTCOLOR, set
colors 8-16 the same as 0-7. :P  For bold overstrike, it's now an
option (--overstrike-bold).  There are also options to deactivate the
"bold" and "blink" attributes' setting of high-intensity colors, and
to allow non-default foreground colors to be bolded.


SVN revision: 7377
2003-08-26 01:45:11 +00:00
Michael Jennings 243e65e5a2 Sun Aug 24 11:07:54 2003 Michael Jennings (mej)
I redid the options variables and constants to try and make things
more standardized, and to make room for future toggles as well.  This
should make David Lloyd a bit happier, 'cause now we can get his patch
in here. :)

Hopefully I didn't break anything....


SVN revision: 7370
2003-08-24 15:09:32 +00:00
Michael Jennings 4e5e3617be Fri Aug 22 00:09:04 2003 Michael Jennings (mej)
Had I done it right the first time, this would not have happened. >:I


SVN revision: 7363
2003-08-22 04:09:40 +00:00
Michael Jennings 0784d8336b Thu Aug 21 23:51:12 2003 Michael Jennings (mej)
Oops, that wasn't *quite* what I had in mind....


SVN revision: 7362
2003-08-22 03:52:02 +00:00
Michael Jennings 6b43700de1 Thu Aug 21 23:18:23 2003 Michael Jennings (mej)
A few cosmetic changes to the source code, and a fix for Debian Bug
#176274 reported by Gerhard Tonn <GerhardTonn@gammatau.de>.


SVN revision: 7361
2003-08-22 03:19:43 +00:00
Michael Jennings e5b7bd4890 Wed Aug 20 10:19:50 2003 Michael Jennings (mej)
When saving settings, make sure to save the font effects too.  Spotted
by ptiJo <ptiJo@noos.fr>.


SVN revision: 7353
2003-08-20 14:20:51 +00:00
Michael Jennings 1eafc3aca5 Tue Jul 29 22:47:18 2003 Michael Jennings (mej)
Patch from David Lloyd <dmlloyd@tds.net> to support ANSI sequences for
bright colors.  I haven't tested this, so I hope it works. *grin*

Also, commented out the F1-F10 bindings in the Escreen theme; they're
too intrusive.

Added support for Ctrl-t to open a new Escreen "tab" (as with
Mozilla).


SVN revision: 7261
2003-07-30 02:50:13 +00:00
Michael Jennings c86990d93a Tue Jun 10 12:19:00 2003 Michael Jennings (mej)
Patch from Matt Zimmerman <mdz@debian.org> to correct buffer overflow
when $ETERMPATH is set too large.


SVN revision: 7007
2003-06-10 16:20:01 +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 847cd7f032 Thu Apr 24 14:29:05 2003 Michael Jennings (mej)
Fixed seg fault caused by people who neglect to grow the multichar
font list in parallel with the normal font list.

Also tweaked the default fonts to be less error-prone.


SVN revision: 6878
2003-04-24 18:30:17 +00:00
Michael Jennings 7408857d22 Tue Apr 22 11:12:26 2003 Michael Jennings (mej)
Fixed a couple minor type issues on 64-bit systems.

Cleaned up all the warnings in libscream.c and Esetroot.c.

Updated the spec file to depend on imlib2 and the JPEG/PNG loaders.
I hate to do that, but it seems necessary.


SVN revision: 6874
2003-04-22 15:14:20 +00:00
Michael Jennings df078dd652 Sun Mar 2 23:40:39 2003 Michael Jennings (mej)
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
2003-03-03 04:53:35 +00:00
Michael Jennings 4b8a58d8a2 Mon Feb 24 21:05:00 2003 Michael Jennings (mej)
Screw it.  I don't see any way to "sanitize" these, as they put it,
so we'll just disable that for now until someone can throw me a clue.


SVN revision: 6715
2003-02-25 02:05:48 +00:00
Michael Jennings 7f21e5b5c9 Mon Feb 24 20:59:17 2003 Michael Jennings (mej)
No it doesn't.  I need to read more slowly.


SVN revision: 6714
2003-02-25 01:59:53 +00:00
Michael Jennings 020b41dca5 Mon Feb 24 19:34:56 2003 Michael Jennings (mej)
This fixes the title answer bug reported on BUGTRAQ (and other lists)
by HD Moore <termulation@digitaloffense.net>.  It does so by removing
all non-printable characters from the title upon setting it, and
blanking out all non-printable characters when fetching it to display
using the aforementioned escape sequence.


SVN revision: 6712
2003-02-25 00:37:49 +00:00
Michael Jennings 15ad73f445 Wed Feb 19 16:17:00 2003 Michael Jennings (mej)
Updated copyright statements for 2003.


SVN revision: 6698
2003-02-19 21:18:10 +00:00
Michael Jennings 4547d54583 Wed Feb 19 11:41:00 2003 Michael Jennings (mej)
Patch from Paul Brannan <pbrannan@atdesk.com> to fix a conflict
between twin's non-standard mouse drag reporting and vim when twin
support is not enabled.


SVN revision: 6696
2003-02-19 16:42:27 +00:00
Michael Jennings d553a9d67a Mon Jan 27 17:31:41 2003 Michael Jennings (mej)
Support for xterm's cursor color change sequence (\e]12;<color>\a) as
requested by Thomas <arnognul@tiscali.se>.


SVN revision: 6638
2003-01-27 22:35:58 +00:00