FvwmConsole(1x)
NAME
FvwmConsole - the FVWM command input interface
SYNOPSIS
FvwmConsole is spawned by fvwm, so no command line invoca-
tion will work. From within the .fvwm2rc file or from a
menu, FvwmConsole takes any options xterm will take,
except -name, and -title.
Module FvwmConsole -g 40x10 -fg black -bg green3
The option -e can be used to choose its front-end:
FvwmConsole -e /usr/X11/lib/fvwm2/FvwmConsoleC.pl
Also X resources can be set in .Xdefaults file
FvwmConsole*VT100*geometry: 40x4
FvwmConsole*font: 7x14
DESCRIPTION
FvwmConsole allows the user to type fvwm commands into
xterm, and have them executed immediately. These commands
are usually specified in the .fvwm2rc file, or are bound
to menu/mouse items as specified in that file. This tools
is particularly useful for testing new configuration
ideas, or for implementing temporary changes to your envi-
ronment.
Command Editor
There are a few options. If GNU readline library is
installed, add '#define HAVE_READLINE' in Imakefile and
compile.
If Perl5 is installed, FvwmConsoleC.pl can be used as a
command editor. This can be accomplished by either copy-
ing FvwmConsoleC.pl to fvwmlib directory as FvwmConsoleC
or invoking FvwmConsole with -e option. For example:
FvwmConsole -e /usr/lib/X11/fvwm2/FvwmConsoleC.pl
If neither one is installed, command line editor will call
gets function, which doesn't have editing functions.
GNU readline and FvwmConsoleC.pl have some frequent used
commands in common as default. These commands are similar
to emacs. For more details, refer GNU readline man and
info pages, and FvwmConsoleC.pl man pages.
Cntl-A - beginning of line
Cntl-B - previous char
Cntl-D - delete char
Cntl-E - end of line
Cntl-F - next char
Cntl-H - backspace
Cntl-K - erase to the end of line
Cntl-N - next line
Cntl-P - previous line
Cntl-R - search reverse
Cntl-U - delete line
Meta-B - previous word
Meta-F - next word
Esc < - beginning of history
Esc > - end of history
COPYRIGHTS
Copyright 1996, Toshi Isogai. No guarantees or warranties
are provided. Use this program at your own risk. Permis-
sion to use this program for any purpose is given, as long
as the copyright is kept intact.
INVOCATION
FvwmConsole can be invoked by inserting the line 'Module
FvwmConsole' in the .fvwm2rc file. This can be placed on a
line by itself, if FvwmConsole is to be spawned during
fvwm's initialization, or can be bound to a menu or mouse
button or keystroke to invoke it later. Fvwm will search
directory specified in the ModulePath configuration option
to attempt to locate FvwmConsole.
CONFIGURATION OPTIONS
FvwmConsole uses xterm. All resources set for xterm are
inherited unless overridden by command line options.
SEE ALSO
xterm(1) FvwmConsoleC.pl(1x) GNU readline library
AUTHOR
Toshi Isogai