OS X Terminal lines don't go into scrollback

Posted by Steve Madsen on Server Fault See other posts from Server Fault or by Steve Madsen
Published on 2010-03-15T15:34:16Z Indexed on 2010/03/15 15:40 UTC
Read the original article Hit count: 328

Filed under:
|
|

I have a problem that crops up when using Mac OS X's Terminal (TERM=xterm): sometimes it gets itself into a state where lines that scroll off the top are not added to the scrollback buffer. I'm not using screen or similar; this is a plain bash shell inside a Terminal tab.

It doesn't do this immediately after opening a new tab. I believe it is a side-effect of something I've run in the problem tab. My guess is that it has something to do with the xterm emulation, possibly the scroll region.

What hasn't worked:

  • Soft and hard reset via the Shell menu
  • Running reset in the tab

Is there a reliable way to reset Terminal and/or the xterm state?

Can anyone provide a explanation for what's happening, even if the only fix is to close the tab and open a new one?

© Server Fault or respective owner

Related posts about xterm

  • XTerm and a bold text

    as seen on Super User - Search for 'Super User'
    This is my Xterm config: XTerm*saveLines: 512 XTerm*reverseVideo: false XTerm*reverseWrap: true XTerm*fullCursor: true XTerm*scrollTtyOutput: on XTerm*scrollKey: on XTerm*eightBitInput: false XTerm*pointerColor: white XTerm*pointerShape: left_ptr XTerm*charClass: 37:48,45-47:48,58:48,64:48,126:48 XTerm*cursorColor:… >>> More

  • Coloring The Z Shell[closed]

    as seen on Super User - Search for 'Super User'
    Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt. My .zshrc… >>> More

  • Coloring The Z Shell[closed]

    as seen on Super User - Search for 'Super User'
    Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt. My .zshrc… >>> More

  • tput: unknown terminal

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm on AIX-6.1 and I'm trying to make use of tput inside my $PS1. I've confirmed I can't even run tput from the commandline. Following is my session: # tput unknown terminal "xterm" # echo $TERM xterm # tput -T ansi unknown terminal "ansi" In fact, ... # ls /usr/lib/terminfo/x x1700 xl83 … >>> More

  • xterm window gets stuck after some time

    as seen on Super User - Search for 'Super User'
    I am using xterm on RHEL with KDE. Usually after a couple of days, the xterm terminals get stuck i.e. I am not able to resize or relocate them. After this, even if I open a new terminal, it is stuck the same way. What I do is logout and login again. Is this a bug with xterm? Is there a known solution… >>> More

Related posts about terminal