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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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