「FVWM」- FvwmConsole

  CREATED BY JENKINSBOT

FvwmConsole,FVMW的控制台,FVWM的命令输入接口,可在FvwmConsole中直接执行FVWM的配置命令。如图:

模块调用语法(SYNOPSIS)

Module FvwmConsole [options]

FvwmConsole模块只能由fvwm产生。从命令行直接调用该模块是无效的。

模块描述(DESCRIPTION)

FvwmConsole允许用于交互式的输入FVWM的配置命令,并立即执行。在测试新配置或者用于环境的临时功能时,非常有用。

模块调用(INVOCATION)

FvwmConsole只能做为一个模块由fvwm产生。FvwmConsole支持xterm(1)的所有选项。

可以在配置文件中使用’Module FvwmConsole’来启动FvwmConsole。如果想在FVWM的初始化期间启动FvwmConsole,可以将’Module FvwmConsole’放在配置文件中的单独一行。也可以绑定到菜单、鼠标按钮、按键来调用它。

配置选项(CONFIGURATION OPTIONS)

FvwmConsole uses xterm(1). All resources set for xterm are inherited unless overridden by command line options.

Module FvwmConsole -g 40×10 -fg black -bg green3

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.

Module FvwmConsole -terminal rxvt

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.

Module FvwmConsole -e FvwmConsoleC.pl

(see FvwmConsoleC.pl(1)).

Also X resources can be set in your ~/.Xdefaults file:

FvwmConsole*VT100*geometry: 40×4

FvwmConsole*font: 7×14

命令编辑(COMMAND EDITING)

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:

Module FvwmConsole -e FvwmConsoleC.pl

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.

Ctrl-A – beginning of line

Ctrl-B – previous char

Ctrl-D – delete char

Ctrl-E – end of line

Ctrl-F – next char

Ctrl-H – backspace

Ctrl-K – erase to the end of line

Ctrl-N – next line

Ctrl-P – previous line

Ctrl-R – search reverse

Ctrl-U – delete line

Meta-B – previous word

Meta-F – next word

Esc < – beginning of history

Esc > – end of history

退出(EXITING)

向FvwmConsole发送EOF字符进行退出,通常使CTRL-D快捷键。

注意:不要试用quit命令,因为在FvwmConsole中是直接执行FVWM配置命令的,而quit又恰巧是FVWM的退出命令,直接执行quit会导致FVWM退出。

相关文档(SEE ALSO)

xterm(1), FvwmConsoleC.pl(1), GNU Readline library