0

I have two problems, in both cases the problem usually occurs when I resize my terminal client xterm.

  1. When ssh'd into a server all the output from commands doesn't scroll. It doesn't happen right away.
  2. Occasionally the margins don't resize when the client resizes.

I have seen an article on a command to run to fix this, but I can't seem to find it again.

Scott Pack
  • 14,907
  • 10
  • 53
  • 83
frogstarr78
  • 485
  • 7
  • 18

2 Answers2

2

You can force a reset of terminal state -- reset command might work. If it doesn't, send a RIS sequence to xterm -- printf "\033c"

sendmoreinfo
  • 1,772
  • 13
  • 34
0

The resize command should fix this. Try

eval `resize`

if you are in the bash shell (note the backticks).

Here's a reference.

Phil Hollenback
  • 14,947
  • 4
  • 35
  • 52