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
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
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.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 -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
> -----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:34 AM > To: asterisk-users at lists.digium.com > Subject: [asterisk-users] newbie question> 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.Another option is to use 'screen' and use the integrated scroll back buffer. I'm pretty lazy so most of my servers have established screen sessions with consoles, logs, mysql, etc. already running that I simply reconnect to. sl