跳转到主要内容

一个用于显示示例shell会话的Trac宏。

项目描述

注释

ShellExample宏的快速移植。

此宏提供了ShellExample,用于以漂亮的颜色渲染终端会话。

配置

启用

[components]
shellexample.* = enabled

示例

{{{
#!ShellExample
$ ./configure --help
...
  --enable-abc ......
  --enable-def ......
  --with-ghi[=dir] ......
...
$ ./configure '--enable-abc' \
 '--enable-def' \
 --with-ghi='/usr
/local'
(many outputs here)

$ make
(many outputs again)

(now su to root)
$ su
Password:
(type your root password)

# make install
(ok, it's now installed)
}}}

由...