Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Asterisk has a command line shell mode which I enter by typing asterisk -r at the linux command line.

Inside its shell the standard linux commands like | more or | less do not work. And the screen just whizzes past me with no way of scrolling back up that I know of.

However, I can't be the first person that has this issue. Solutions?

share|improve this question

migrated from superuser.com Jan 6 '11 at 12:13

This question came from our site for computer enthusiasts and power users.

add comment

2 Answers 2

Have you tried Shift+Page-Up? It is the common way of getting back in the scroll buffer of your console. That might not be the perfect solution but you should be able to get to any point in the log you want to. Note that most consoles allow you to set how many lines of buffer to keep. So you can increase it in case it is not enough for you purpose.

share|improve this answer
    
Yeah, I tried that and it had no effect on the screen whatsoever. –  AngryHacker Oct 12 '10 at 20:24
    
For me it works. How do you access the console / which terminal are you using? Are you running asterisk -r within a screen session? If you do see Darth Android's answer. –  Tronic Oct 12 '10 at 20:27
add comment

Try running it from inside of a screen session. It supports scrolling back through the log with Ctrl+A,[. Because screen functions as a virtual terminal, asterisk need not have support for it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.