Re: [asterisk-users] asterisk-users Digest, Vol 64, Issue 52

2009-11-17 Thread Bill Shaw
Thanks for the speedy response, Danny.

So you recommend I run something like:

asterisk -r | 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 da...@debsinc.com
Subject: Re: [asterisk-users] newbie question
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
asterisk-users@lists.digium.com
Message-ID: eb4ab3d946c34a5f92ad47a7cf166...@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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bill Shaw
Sent: Tuesday, November 17, 2009 10:34 AM
To: asterisk-users@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


Re: [asterisk-users] asterisk-users Digest, Vol 64, Issue 52

2009-11-17 Thread David Gibbons
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

___
-- 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


Re: [asterisk-users] asterisk-users Digest, Vol 64, Issue 52

2009-11-17 Thread Danny Nicholas
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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bill Shaw
Sent: Tuesday, November 17, 2009 11:20 AM
To: asterisk-users@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 -r | 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 da...@debsinc.com
Subject: Re: [asterisk-users] newbie question
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
asterisk-users@lists.digium.com
Message-ID: eb4ab3d946c34a5f92ad47a7cf166...@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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bill Shaw
Sent: Tuesday, November 17, 2009 10:34 AM
To: asterisk-users@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


___
-- 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