Messages in this thread | | | Subject | Re: [2.2.x] Obscure framebuffer bug | From | Andreas Schwab <> | Date | 22 Jul 1999 13:03:21 +0200 |
| |
"Petr Vandrovec Ing. VTEI" <VANDROVE@vc.cvut.cz> writes:
|> Hi, |> did not you change your screen resolution? Readline library used by |> bash reads screen size only at startup and if you change screen resolution |> (mainly screen width) after bash starts, it does strange things because |> of real cursor position does not match with position computed by readline. |> For example, if readline thinks that line start is one line up and twenty |> backspaces (because of you typed 100 chars with COLS=80) and you now have |> COLS=120, it gets printed one line above at column 80... |> I do not know any other workaround than restarting bash session.
With bash 2.x you can do "shopt -s checkwinsize".
-- Andreas Schwab "And now for something schwab@suse.de completely different." SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |