[asterisk-users] newbie question

Steve Edwards asterisk.org at sedwards.com
Tue Nov 17 11:09:39 CST 2009


> On Tue, Nov 17, 2009 at 11:33:45AM -0500, Bill Shaw wrote:
>> Hi All,
>>
>> When typing 'help' on the command line (* console) is there a way to
>> keep it from just scrolling most of the information off the top of the
>> screen? I can't hit ctrl-s fast enough so I miss most of the info.  This
>> makes 'help' be not much help.

On Tue, 17 Nov 2009, Tzafrir Cohen wrote:

> No.
>
> But you can either:
>
> 1. Use a terminal that has a long enough scroll-back buffer (or screen
> inside one that doesn't)
>
> 2. Run from the external shell prompt:
>
>  asterisk -rx 'help <whatever>' | less

Or, you can use the "script" command to capture the output to a file so 
you can refer to it as needed.

"script" is also useful to capture the console log to a file when you are 
trying to debug a call and your console output looks like a broken fire 
hydrant.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list