Commit Graph

523 Commits

Author SHA1 Message Date
Horms e796f1d447 Fixed compilation problem with XIM support which resulted
in Eterm segfaulting if the XIM server (kinput2) exited.


SVN revision: 6797
2003-03-31 09:59:47 +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 configure.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 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
Michael Jennings 8ddcb3f72d Wed Jan 22 15:12:36 2003 Michael Jennings (mej)
Yasufumi Haga <yasufumi.haga@nifty.com> found another typo in the man
page, this one concerning the non-existent "bold multichar" font.


SVN revision: 6615
2003-01-22 20:13:38 +00:00
Michael Jennings 9f7ddb591f Mon Jan 13 18:17:43 2003 Michael Jennings (mej)
Fixed an error in the "select_line" description in the man page
spotted by Yasufumi Haga <yasufumi.haga@nifty.com>.


SVN revision: 6581
2003-01-13 23:19:37 +00:00
Michael Jennings 45cc00b37f Wed Jan 8 01:16:29 2003 Michael Jennings (mej)
Fixed a bug with non-bordered icons being rendered at 0 size.


SVN revision: 6552
2003-01-08 06:17:12 +00:00
Michael Jennings 11df91c713 Thu Jan 2 14:54:45 2003 Michael Jennings (mej)
Spec file update.


SVN revision: 6541
2003-01-02 19:55:05 +00:00
Michael Jennings 5acc713fc1 Tue Dec 10 16:50:29 2002 Michael Jennings (mej)
A few fixes from Andre Pang <ozone@algorithm.com.au>.  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 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 43a572f886 Thu Nov 21 14:11:29 2002 Michael Jennings (mej)
Fixed a typo noted by Bill Allombert <allomber@math.u-bordeaux.fr>.


SVN revision: 6457
2002-11-21 19:12:11 +00:00
Michael Jennings b93dddf773 Thu Nov 21 14:03:23 2002 Michael Jennings (mej)
Fix for Debian Bug #169933, seg fault with invalid default font index.


SVN revision: 6456
2002-11-21 19:06:43 +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 c90247ce54 Thu Nov 7 12:37:08 2002 Michael Jennings (mej)
Fixed typo in configure.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 01c9e2811a Mon Nov 4 17:33:00 2002 Michael Jennings (mej)
Let's try that again, shall we?


SVN revision: 6440
2002-11-04 22:33:21 +00:00
Michael Jennings 3377e7efe8 Mon Nov 4 16:28:17 2002 Michael Jennings (mej)
Added XK_ISO_Left_Tab as an alias for XK_Tab, suggested by Jason
<jason@sdf.lonestar.org>.


SVN revision: 6439
2002-11-04 21:29:17 +00:00
Michael Jennings 35b9852363 Thu Oct 31 11:52:59 2002 Michael Jennings (mej)
Argh!  Last-minute discoveries....


SVN revision: 6438
2002-10-31 16:53:30 +00:00
Michael Jennings dd577eedcb Wed Oct 30 14:53:30 2002 Michael Jennings (mej)
Make sure the Escreen README goes in the tarball.


SVN revision: 6437
2002-10-30 19:53:51 +00:00
Michael Jennings f4cb6bf6a1 Tue Oct 29 23:41:07 2002 Michael Jennings (mej)
Documentation updates and last-minute cleanups.  Barring something
unexpected and disastrous, this is it for release.  So please make
sure it works and the docs are accurate. :-)


SVN revision: 6436
2002-10-30 04:44:36 +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 862a62b63c Sun Oct 20 21:07:43 2002 Michael Jennings (mej)
Fixed a double-free in libscream.c.  Also some cleanups to the spec
file, and I fixed some missing return statements in non-void
functions.


SVN revision: 6429
2002-10-21 01:08:35 +00:00
Michael Jennings 340755e956 Sun Oct 13 01:27:51 2002 Michael Jennings (mej)
Make sure it builds without Imlib2 so we don't have a repeat of last
time.


SVN revision: 6422
2002-10-13 05:28:36 +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 af599dfb9c Wed Oct 9 00:32:34 2002 Michael Jennings (mej)
Tidying up a bit.


SVN revision: 6419
2002-10-09 04:32:53 +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 18ae77d1d5 Mon Oct 7 22:19:58 2002 Michael Jennings (mej)
Patch from Azundris for Escreen.  In her words:

Debian Unstable comes with a version that is newer than 3.09.11 (which
most other distributions seem to have).  On top of that, it comes with
a global setup file in /etc that breaks our very best intentions.
Find enclosed some modifications that will (hopefully) make screen
work on those special Debs in your life as well as on the machines it
used to run on so far.  As a side-effect, the default action is now
-RDD rather than -xRR, but since several people have requested that
anyways, I might be the only one missing the previous default.  Guess
I'll change my actionclasses.cfg and hold my peace forever.  : )


SVN revision: 6417
2002-10-08 02:21:00 +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 4f1e4c1df5 Fri Oct 4 22:06:40 2002 Michael Jennings (mej)
Fixed button label positioning to be based on the font descent, not
just existing button text.


SVN revision: 6408
2002-10-05 02:08:13 +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 dc6687b670 Sun Sep 29 21:48:10 2002 Michael Jennings (mej)
Fixed Debian Bug #155960.  WM_COMMAND was being set improperly because
equals signs in the arg list were being NUL'd out for no reason.


SVN revision: 6399
2002-09-30 01:49:20 +00:00
Michael Jennings 47841ac519 Sun Sep 22 00:34:42 2002 Michael Jennings (mej)
Added an option to disable the secondary screen as requested by Marc
Merlin <marc@merlins.org>.


SVN revision: 6395
2002-09-22 04:35:54 +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 <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 e9207f876b Tue Aug 13 22:55:58 2002 Michael Jennings (mej)
Documentation fix from Jim Lewis <jel@louie.cc>.


SVN revision: 6365
2002-08-14 03:01:48 +00:00
Michael Jennings b8f5e6e2a1 Sun Jul 14 00:49:34 2002 Michael Jennings (mej)
Fixed bug pointed out by JC Wong <catalyst@gmx.net> where resizing a
window which had had transparency toggled on would reveal a black spot
at the bottom of the scrollbar.


SVN revision: 6340
2002-07-14 04:55:26 +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 aa959247eb Thu Jul 11 20:03:23 2002 Michael Jennings (mej)
Each side of an || must have a valid shell command.


SVN revision: 6337
2002-07-12 00:08:04 +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 3649b3a00c Fri Jun 28 17:02:57 2002 Michael Jennings (mej)
One too many....


SVN revision: 6335
2002-06-28 21:06:15 +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 94b2b06ff8 Thu Jun 27 09:14:39 2002 Michael Jennings (mej)
Fix compile when Escreen support is disabled.


SVN revision: 6332
2002-06-27 13:14:56 +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 5cc41f7340 Thu Jun 20 18:55:59 2002 Michael Jennings (mej)
Better fix from Azundris.


SVN revision: 6327
2002-06-20 22:59:04 +00:00