Re: [dev] [misc] How to disable scrolling in a vt100

From: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
Date: Thu, 18 Mar 2010 16:13:42 +0100

VT100 terminals have an autowrap mode set by default that can be
set/unset with the following escape sequences (respectively):

\033[?7h
\033[?7l

From the VT100 user guide [1] :

DECAWM – Autowrap Mode (DEC Private)
This is a private parameter applicable to set mode (SM) and reset mode
(RM) control sequences. The reset state causes any displayable
characters received when the cursor is at the right margin to replace
any previous characters there. The set state causes these characters
to advance to the start of the next line, doing a scroll up if
required and permitted.

(It works in st by the way :)

[1] : http://vt100.net/docs/vt100-ug/chapter3.html#DECAWM
Received on Thu Mar 18 2010 - 15:13:42 UTC

This archive was generated by hypermail 2.2.0 : Thu Mar 18 2010 - 15:24:02 UTC