cliprompt.tex

来自「asterisk 是一个很有知名度开源软件」· TEX 代码 · 共 30 行

TEX
30
字号
\subsubsection{Changing the CLI Prompt}The CLI prompt is set with the ASTERISK\_PROMPT UNIX environment variable thatyou set from the Unix shell before starting AsteriskYou may include the following variables, that will be replaced bythe current value by Asterisk:\begin{itemize}    \item \%d - Date (year-month-date)    \item \%s - Asterisk system name (from asterisk.conf)    \item \%h - Full hostname    \item \%H - Short hostname    \item \%t - Time    \item \%\% - Percent sign    \item \%\# - '\#' if Asterisk is run in console mode, '$>$' if running as remote console    \item \%Cn[;n] - Change terminal foreground (and optional background) color to specified    A full list of colors may be found in \path{include/asterisk/term.h}\end{itemize}On Linux systems, you may also use:\begin{itemize}    \item \%l1 - Load average over past minute    \item \%l2 - Load average over past 5 minutes    \item \%l3 - Load average over past 15 minutes    \item \%l4 - Process fraction (processes running / total processes)    \item \%l5 - The most recently allocated pid\end{itemize}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?