FvwmConsole - an fvwm command input interface
Module FvwmConsole [options]
FvwmConsole can only be invoked by fvwm. Command line invocation of the FvwmConsole module will not work.
FvwmConsole allows the user to type fvwm configuration commands interactively, and have them executed immediately. This tool is particularly useful for testing new configuration ideas, or for implementing temporary changes to your environment.
FvwmConsole must be spawned as a module by fvwm. FvwmConsole takes all xterm(1) options.
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.
FvwmConsole uses xterm(1). All resources set for xterm are inherited unless overridden by command line options.
A different terminal emulator can be specified with the -terminal option. However, only terminal programs that understand the options -name, -title and -e can be used. Debian specific: hardcoded xterm is changed to x-terminal-emulator. To be policy compliant -name option is removed from default options and -title is changed to -T.
Previous versions of FvwmConsole supported a -e option to choose a different front-end. Although this option is still provided for backwards compatibility its use is discouraged unless you know exactly what you are doing.
Also X resources can be set in your ~/.Xdefaults file:
Debian specific: Since -name is not included by default, the default resource will be set by the x-terminal-emulator used and not be FvwmConsole. You can change the resource to match the terminal, or if supported by the terminal, run FvwmConsole with the -name option:
There are a few options. If the GNU readline library is available, it can be used.
If Perl5 is installed, FvwmConsoleC.pl can be used as a command editor. This can be accomplished by either copying FvwmConsoleC.pl to fvwmlib directory as FvwmConsoleC or invoking FvwmConsole with -e option. For example:
If neither one is installed, a simple input reading function which doesn't have editing capabilities is used.
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 page.
- - beginning of line
- - previous char
- - delete char
- - end of line
- - next char
- - backspace
- - erase to the end of line
- - next line
- - previous line
- - search reverse
- - delete line
- - previous word
- - next word
- Esc <
- - beginning of history
- Esc >
- - end of history
FvwmConsole can be stopped by entering the EOF character (usually CTRL-D).
Note! Do not use the "quit" command, as this is an fvwm builtin: typing "quit" at the FvwmConsole command line will cause fvwm to exit.
FvwmConsole is the original work of Toshi Isogai.
|06 November 2016 (2.6.8)||3rd Berkeley Distribution|