NAME
FvwmConsoleC.pl - Command editor for fvwm command input interfaceSYNOPSIS
FvwmConsole -e /usr/X11/lib/fvwm/FvwmConsoleC.plCOPYRIGHT
Copyright 1996, Toshi Isogai. No guarantees or warranties are provided. Use this program at your own risk. Permission to use this program for any purpose is given, as long as the copyright is kept intact.DESCRIPTION
FvwmConsoleC.pl offers editing capabilities while the user is entering the line. By default, the line editing commands are similar to those of emacs. It also offers substitution , which replaces a pattern to a string before it sends the command.FUNCTIONS
Functions are bound to a key or key combination to be invoked. The followings are functions available and their default key bindings.- bind
-
Meta-k, Ctrl-x Ctrl-b
- boh
-
- boh_ign_mode Esc-<
-
- bol
-
Home, Ctrl-a
- bs[(n)] BackSpace, Ctrl-h
-
- cancel
-
Ctrl-x Ctrl-k
- del_back_line
-
- del_back_word Ctrl-w
-
- del_char [(n)] Delete, Ctrl-d
- Delete n characters from the cursor to the right. Default of n is 1.
- del_forw_line Ctrl-k
-
- del_forw_word Meta-d
-
- del_line Ctrl-u
-
- enter
-
Enter, Ctrl-j, Ctrl-m
- enter_wo_subst Meta-Enter
-
- eoh
-
- eoh_ign_mode Esc->
-
- eol
-
End, Ctrl-e
- ins_char (str)
-
- ins_last_word Esc-.
-
- ins_nth_word Meta-[1..9]
-
- list_func Meta-l
-
- next_char Right, Ctrl-f
-
- next_line Down, Ctrl-n
-
- next_word Meta-f
-
- prefix
-
- prev_char Left, Ctrl-b
-
- prev_line Up, Ctrl-p
-
- prev_word Meta-b
-
- quote
-
Ctrl-q
- search
-
Ctrl-s
- search_rev Ctrl-r
-
- subst
-
Meta-s
CONFIGURATION
The key binding can be overridden or defined in fvwm module configuration.*FvwmConsole: Key \ck prev_line
*FvwmConsole: Key \ck
*FvwmConsole: Subst '^bigx' 'Exec xterm -g
120x60+0+0 -fn 10x20 -fg black -bg lemonchiffon'
*FvwmConsole: Subst '^g\s*(\d+)' 'Desk 0
0\nGotoPage 0 $1\nFocus'
INVOCATION
FvwmConsoleC.pl should be invoked by FvwmConsole.SEE ALSO
FvwmConsole(1x), perlre(1)AUTHOR
Toshi Isogai19 October 2022 (2.7.0) | 3rd Berkeley Distribution |