![russell](/assets/img/avatar_default.png)
- Added development section (backtrace.tex) - Correct filesystem path formating - Replace all "|" argument separator to "," - Endless count of spaces at the end of line - Using astlisting to make listings do not take so much place - Take back ASTRISKVERSION on first page - Make localchannel.tex readable by inserting extra end of lines (closes issue #10962) Reported by: IgorG Patches: texdoc-85177-1.patch uploaded by IgorG (license 20) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85519 f38db490-d61c-443f-a65b-d21fe96a405b
31 lines
954 B
TeX
31 lines
954 B
TeX
\subsubsection{Changing the CLI Prompt}
|
|
|
|
The CLI prompt is set with the ASTERISK\_PROMPT UNIX environment variable that
|
|
you set from the Unix shell before starting Asterisk
|
|
|
|
You may include the following variables, that will be replaced by
|
|
the current value by Asterisk:
|
|
|
|
\begin{verbatim}
|
|
%d Date (year-month-date)
|
|
%s Asterisk system name (from asterisk.conf)
|
|
%h Full hostname
|
|
%H Short hostname
|
|
%t Time
|
|
%% Percent sign
|
|
%# '#' if Asterisk is run in console mode, '>' if running as remote console
|
|
%Cn[;n] Change terminal foreground (and optional background) color to specified
|
|
\end{verbatim}
|
|
|
|
A full list of colors may be found in \path{include/asterisk/term.h}
|
|
|
|
On Linux systems, you may also use:
|
|
|
|
\begin{verbatim}
|
|
%l1 Load average over past minute
|
|
%l2 Load average over past 5 minutes
|
|
%l3 Load average over past 15 minutes
|
|
%l4 Process fraction (processes running / total processes)
|
|
%l5 The most recently allocated pid
|
|
\end{verbatim}
|