Thanks for the speedy response, Danny. So you recommend I run something like: asterisk -vvvvr | tee ast-help.txt Then when I need help on a command I request it on the command line, exit to the shell, edit (or whatever) the .txt file to find the command syntax I am looking for, then re-enter the asterisk cli? Kind of defeats the purpose of 'online help' doesn't it? Not trying to be a smart-a$$, just hoping to find something a little smoother. Is there a better way, or is help as useless as it is starting to appear? Thanks, Bill ------------------------------ Date: Tue, 17 Nov 2009 10:45:04 -0600 From: "Danny Nicholas" <danny at debsinc.com> Subject: Re: [asterisk-users] newbie question To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users at lists.digium.com> Message-ID: <EB4AB3D946C34A5F92AD47A7CF166608 at db0002> Content-Type: text/plain; charset="us-ascii" You can "tee" your CLI screen (google for it) so your output is in a file that you can use more|less|vi or some other controlled viewing method on. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bill Shaw Sent: Tuesday, November 17, 2009 10:34 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] newbie question 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. Thanks, Bill _______________________________________________
David Gibbons
2009-Nov-17 18:04 UTC
[asterisk-users] asterisk-users Digest, Vol 64, Issue 52
<snip> Not trying to be a smart-a$$, just hoping to find something a little smoother. Is there a better way, or is help as useless as it is starting to appear? </snip> If you're actually 'sitting' at the *nix console, use CTRL+PageUP to scroll back up in the buffer. If you ARE using the console directly, it's time to switch to SSH so that you have some scrollback buffer easily available. And so that you don't have to sit next to your * server when you're working on it... Otherwise, use more -or- less to view the output of a * command: `asterisk -r -x "help" | more` This will paginate and you can scroll through the pages using spacebar. -Dave
Danny Nicholas
2009-Nov-17 18:53 UTC
[asterisk-users] asterisk-users Digest, Vol 64, Issue 52
The "problem" with online help is the "verbosity" of the asterisk console. If you are in "realtime" and you have the CLI set for a verbosity higher than 1, you have a lot to deal with trying to separate the help output from the normal "asterisk chatter" (the stuff that comes from calls, registrations, etc). The smoothest way to use help is Tzafir's suggestion of using "asterisk -rx help |less" from a shell. If you are at the console, you can use a second tty session or window; if at your desk, perhaps a second putty session. Of course you can "can" most of the "chatter" by doing "core set verbose 0" before doing help. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bill Shaw Sent: Tuesday, November 17, 2009 11:20 AM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] asterisk-users Digest, Vol 64, Issue 52 Thanks for the speedy response, Danny. So you recommend I run something like: asterisk -vvvvr | tee ast-help.txt Then when I need help on a command I request it on the command line, exit to the shell, edit (or whatever) the .txt file to find the command syntax I am looking for, then re-enter the asterisk cli? Kind of defeats the purpose of 'online help' doesn't it? Not trying to be a smart-a$$, just hoping to find something a little smoother. Is there a better way, or is help as useless as it is starting to appear? Thanks, Bill ------------------------------ Date: Tue, 17 Nov 2009 10:45:04 -0600 From: "Danny Nicholas" <danny at debsinc.com> Subject: Re: [asterisk-users] newbie question To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users at lists.digium.com> Message-ID: <EB4AB3D946C34A5F92AD47A7CF166608 at db0002> Content-Type: text/plain; charset="us-ascii" You can "tee" your CLI screen (google for it) so your output is in a file that you can use more|less|vi or some other controlled viewing method on. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bill Shaw Sent: Tuesday, November 17, 2009 10:34 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] newbie question 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. Thanks, Bill _______________________________________________ _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users