Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After quitting elinks, the browser page history is lingering in my scrollback buffer, and therefore not returning to whatever was buffered on screen when I launched elinks.

Inside a GNU screen with altscreen enabled, this does not happen. But in any normal terminal session elinks stays in the buffer. I note that other terminal programs like Vim and lynx do not stay in the scrollback buffer, and instead return the buffer to its state at the time they were launched. I am not finding a configuration option in ELinks to ensure it switches to the alternate terminal, however.

$TERM=xterm-256color  

Is there a configuration option to prevent ELinks sticking around in the scrollback buffer?

Update:

On a little further investigation, the scrollback problem occurs only in iTerm2 and Terminal.app on OSX. In an XTerm, ELinks does not modify the scrollback buffer.

share|improve this question
    
Have you tried the answers from this question? – Thor Sep 7 '12 at 15:57
    
@Thor Thanks but I'm not looking to clear the scrollback, just to prevent elinks from writing to it. – Michael Sep 7 '12 at 16:07

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.