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
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
Several changes here, many of which come from the Debian bug list or
from bug reports on IRC. First off, I believe I've fixed an install
issue with the bg/ directory. I also put an alternative acsc line in
the terminfo file to see if it fixes anything on Debian. (RH works
fine.) I removed the "main" context from all the theme files...which
is something I should've done ages ago, but I forgot.
I made a couple things options which were not previously configurable.
The proportional font thingie which shrank the character cell width is
now the --proportional option. The automatic window gravity on resize
is now the --resize-gravity option. Both are boolean, and both are
documented in the man page.
And finally, I added the kill() function to the script language. At
this point it can only take signals as numbers, but that's good enough
for now.
SVN revision: 4857
There is now a new mechanism for dealing with the background image
collection, including a new update script. Please read the newly-
rewritten bg/README.backgrounds for details.
Also, I'm trying to flesh out the Contributors list in that file, but
my memory isn't cooperating. So if you contributed one of the
backgrounds, or know someone who did, please let me know.
SVN revision: 4810
Okay, first off, I removed 3 scaled backgrounds. See www.kainx.org 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
like.
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
You can now create key, mouse button, menu item, and buttonbar button
bindings which trigger the parsing of a "script." I've thrown in a
few functions already to replace some icky escape sequences; there
will be many more functions forthcoming, although I don't know how
many of them (if any) will make it in prior to release.
The usage is pretty simple. Where before you might've said:
action string "\e]6;70\a"
you would now say:
action script "exit();"
You can call as many functions as you like per script. Use a
semi-colon (';') to separate each function call. If you only call
one function, the ';' is optional. If you aren't passing parameters
to the function, the parentheses are also optional. Parameters are
separated by commas and/or whitespace.
Valid functions currently are:
die(): die() is a synonym for exit().
exec(): exec() is a synonym for spawn().
exit(): Exit Eterm. Takes an optional exit code or message.
quit(): quit() is a synonym for exit().
save(): Save the config. Specify "theme" to save the theme
config. Also takes an optional path & filename.
search(): Search the scrollback buffer for a string.
spawn(): Spawns a sub-program. Defaults to "Eterm".
You will need the libast dated today to build and run this Eterm.
You will also need to update your themes.
SVN revision: 4748