Commit Graph

100 Commits

Author SHA1 Message Date
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 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 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 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 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 675bf268aa Wed Nov 27 15:17:04 2002 Michael Jennings (mej)
Same as yesterday, only this time I'm *actually* going to fix the
problem. >:I  I should really read more carefully.

While I was at it, I fixed some bad uses of BEG_STRCASECMP().


SVN revision: 6467
2002-11-27 20:18:24 +00:00
Michael Jennings 28dcf32708 Tue Nov 26 17:51:34 2002 Michael Jennings (mej)
I need my Escreen sessions to be able to beep, so let's allow that.


SVN revision: 6466
2002-11-26 22:52:22 +00:00
Michael Jennings 6d1597926e Mon Nov 18 12:28:43 2002 Michael Jennings (mej)
Remove acinclude.m4 now that libast.m4 has all that stuff in it.

Hopefully improve exit handling.

Change "export TERM=vt100" to the portable "TERM=vt100; export TERM"
syntax.


SVN revision: 6452
2002-11-18 17:30:06 +00:00
Michael Jennings 3f5cf1fccc Thu Oct 24 23:54:46 2002 Michael Jennings (mej)
Added bbar_dock and bbar_font directives to escreen context so that
users can alter the dock location and font of the Escreen buttonbar.

This should be it for feature additions and last-minute code changes.
I need to update the docs, but that's about it.


SVN revision: 6433
2002-10-25 03:57:17 +00:00
Michael Jennings d86a345768 Tue Oct 22 23:02:28 2002 Michael Jennings (mej)
Allow users to customize the Escreen current/active display colors.

Don't display the Escreen button if there's no Escreen menu defined.


SVN revision: 6432
2002-10-23 03:03:27 +00:00
Michael Jennings a74ae94c5a Sun Oct 13 00:57:37 2002 Michael Jennings (mej)
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
2002-10-13 05:03:47 +00:00
Michael Jennings ea06545d9e Mon Oct 7 22:16:38 2002 Michael Jennings (mej)
This should clean up and consolidate the size-setting and reporting to
eliminate the discrepencies sometimes seen in Escreen mode when
coupled, for example, with --buttonbar 0.  Azundris spotted this ages
ago, and I've been putting off fixing it.  But it should be all
straightened out now.


SVN revision: 6416
2002-10-08 02:18:09 +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 ba78b88603 Thu Jul 11 20:39:28 2002 Michael Jennings (mej)
Addition to last fix.  Also, we're going to specify error messages
that *should* be shown and ignore others, not show all but a select
few.  This helps with the status line issue.


SVN revision: 6338
2002-07-12 00:44:42 +00:00
Michael Jennings 0db3598235 Wed Jul 3 13:49:27 2002 Michael Jennings (mej)
Fixed a bug in libscream that caused remote screen sessions to be
resumed with, e.g., "-e ^Uu_" instead of "-e ^Uu".

Applied a bug fix from Bill Allombert <allomber@math.u-bordeaux.fr>
where I was using the wrong variable for loading the icon file from
disk.

Also fixed a problem where PrintScreen would cause Eterm to exit.
Pointed out by Laurence J. Lane <ljlane@debian.org>.


SVN revision: 6336
2002-07-03 17:55:48 +00:00
Michael Jennings 224817eb24 Fri Jun 28 16:40:55 2002 Michael Jennings (mej)
Additional twin stuff, plus a bug fix for dragging Escreen buttons.


SVN revision: 6334
2002-06-28 20:44:40 +00:00
Michael Jennings d0cbe0001c Wed Jun 26 23:14:20 2002 Michael Jennings (mej)
Bug-hunting....


SVN revision: 6331
2002-06-27 03:17:45 +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
(twin.sourceforge.net).


SVN revision: 6330
2002-06-26 21:02:12 +00:00
Michael Jennings 7a1154f3d3 Tue Jun 18 16:24:03 2002 Michael Jennings (mej)
Fixed the flickering of the buttonbar caused by Escreen updates.

Also fixed the deselecting of the current button on redraw.


SVN revision: 6324
2002-06-18 20:27:41 +00:00
Michael Jennings 4e84d0f65b Fri Jun 14 09:05:49 2002 Michael Jennings (mej)
This should fix the bug Creepy spotted where the buttonbar event
initialization was crashing.


SVN revision: 6323
2002-06-14 13:06:34 +00:00
Michael Jennings 4e93b984de Fri Jun 14 01:40:50 2002 Michael Jennings (mej)
Fixed a couple bugs, trying to track down some others.


SVN revision: 6321
2002-06-14 05:41:23 +00:00
Michael Jennings b8c1785c39 Sat Jun 8 12:46:44 2002 Michael Jennings (mej)
My own Escreen updates, primarily for devoting a dedicated buttonbar
to Escreen's use.  This keeps Escreen from trodding on your existing
buttonbar, if you have one.  It's hard-coded to bottom-dock right
now; we'll look at configuration later. :-)


SVN revision: 6308
2002-06-08 16:50:38 +00:00
Michael Jennings 92937f46a7 Sat Jun 8 11:41:37 2002 Michael Jennings (mej)
Escreen update with Twin support from Azundris <scream@azundris.com>.


SVN revision: 6307
2002-06-08 15:44:08 +00:00
Michael Jennings 981b29c895 Sun Jun 2 20:23:07 2002 Michael Jennings (mej)
Latest Escreen patch along with twin support from Azundris.


SVN revision: 6297
2002-06-03 00:24:22 +00:00
Michael Jennings 6df3396a5d Thu May 23 14:12:28 2002 Michael Jennings (mej)
More cleanups and warning removals.


SVN revision: 6275
2002-05-23 18:14:41 +00:00
Michael Jennings 1aa62bc29c Wed May 22 16:52:37 2002 Michael Jennings (mej)
Cleanups of Escreen stuff.  Always use MALLOC/FREE, not malloc/free.


SVN revision: 6272
2002-05-22 20:55:06 +00:00
Michael Jennings 9ce5b286eb Wed May 22 11:37:19 2002 Michael Jennings (mej)
Latest Escreen work from Azundris <scream@azundris.com>.


SVN revision: 6270
2002-05-22 15:38:35 +00:00
Michael Jennings b173e4053d Mon May 13 19:18:46 2002 Michael Jennings (mej)
Fixed indentation.


SVN revision: 6252
2002-05-13 23:19:30 +00:00
Michael Jennings 0bdd7edc63 Mon May 13 18:46:06 2002 Michael Jennings (mej)
Latest Escreen patch from Azundris <hacks@azundris.com>.


SVN revision: 6251
2002-05-13 22:47:08 +00:00
Michael Jennings 92ca20bcba Sat May 4 10:23:38 2002 Michael Jennings (mej)
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
2002-05-04 14:25:30 +00:00
Michael Jennings e662a53967 Sun Apr 7 21:15:09 2002 Michael Jennings (mej)
Be even more anal when dumping a buffer to a file....


SVN revision: 6110
2002-04-08 02:16:09 +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 3bd0209d81 Mon Jan 14 13:51:49 2002 Michael Jennings (mej)
Added a server grab around the setting of the root properties and
background.  Suggested by Owen Taylor <otaylor@redhat.com> and Olivier
Chapuis <olivier.chapuis@free.fr>.

Also updated the version number in configure.ac for all those
mor^H^H^Hpeople using Debian unstable. :-)  Fixed a few compiler
warnings too.


SVN revision: 5834
2002-01-14 18:56:15 +00:00
Michael Jennings d5085e3001 Thu Jan 3 12:42:41 2002 Michael Jennings (mej)
This is better.


SVN revision: 5805
2002-01-03 17:44:39 +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 a923b86954 Sat Dec 29 15:39:38 2001 Michael Jennings (mej)
Fixed a little-endian bug with 24-bit XImages, added a bit to
init_locale() in an effort to replicate the behavior of the Athena
widgets, and added a -b option to Esetroot based on a patch from
Oliwier Ptak <supergrass@gmx.net>.


SVN revision: 5792
2001-12-29 20:47:49 +00:00
Michael Jennings 1e97991b6a Mon Dec 3 20:16:39 2001 Michael Jennings (mej)
Patches from Paul Brannan <pbranna@clemson.edu>, Klaus Elsbernd
<elsbernd@dfki.uni-kl.de>, and Derrick Moser
<d2moser@calum.csclub.uwaterloo.ca> 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 e03f5ed13c Tue Aug 28 00:30:55 2001 Michael Jennings (mej)
Let's see if this fixes the PrintScreen problems....


SVN revision: 5300
2001-08-28 07:36:44 +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 0c731576d4 Fri Jun 15 23:41:38 2001 Michael Jennings (mej)
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
2001-06-16 06:46:34 +00:00
Michael Jennings d6cf164837 Thu May 24 00:14:54 PDT 2001 Michael Jennings <mej@eterm.org>
Finally got the selection stuff cleaned up.  Hopefully this will be
	the last time I have to deal with it for awhile.  While I was at it,
	I implemented incremental selection transfers.  Unfortunately, it
	doesn't seem like too many people support it.  kedit doesn't, and it's
	broken in Emacs (*grumble*).  Works in gvim though.


SVN revision: 4784
2001-05-24 07:17:03 +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 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 f6c6837bf9 Minor fix to the patch from the other day.
SVN revision: 3922
2000-11-26 04:59:38 +00:00
Michael Jennings 30106904c3 Fri Nov 24 18:53:13 PST 2000 Michael Jennings <mej@eterm.org>
At the request of Snow-Man <sfrost@snowman.net>, 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 <namsh@lgic.co.kr> 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 <mej@eterm.org>
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 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