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

2010-03-18 Thread QUINTIN Guillaume
Yep and in mine too, forget my last mail sorry. I am really sorry, I just forgot to fflush stdout.

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

2010-03-18 Thread Aurélien Aptel
On Thu, Mar 18, 2010 at 5:04 PM, QUINTIN Guillaume wrote: > I have already tried that but it does not work at least with urxvt, terminal > (xfce terminal), konsole and xterm. If the width of the terminal is 5 then > printf("\033[?7l12345"); will print something like this in the terminal: > > |2345

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

2010-03-18 Thread QUINTIN Guillaume
> VT100 terminals have an autowrap mode set by default that can be > set/unset with the following escape sequences (respectively): > > \033[?7h > \033[?7l > I have already tried that but it does not work at least with urxvt, terminal (xfce terminal), konsole and xterm. If the width of the terminal

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

2010-03-18 Thread Aurélien Aptel
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) contr

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

2010-03-18 Thread Antoni Grzymala
On Thu, 18 Mar 2010 14:00:45 +0100, Valentin wrote: > On Thu, Mar 18, 2010 at 01:58:11PM +0100, QUINTIN Guillaume wrote: >> > >> > Scroll lock works for me in xterm. >> > >> >> What is the escape sequence to lock scroll ? >> > > No idea, I just hit scroll lock… AFAIK there are no escape sequen

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

2010-03-18 Thread Valentin
On Thu, Mar 18, 2010 at 01:58:11PM +0100, QUINTIN Guillaume wrote: > > > > Scroll lock works for me in xterm. > > > > What is the escape sequence to lock scroll ? > No idea, I just hit scroll lock… pgpKRlt4SZqLn.pgp Description: PGP signature

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

2010-03-18 Thread QUINTIN Guillaume
> > Scroll lock works for me in xterm. > What is the escape sequence to lock scroll ?

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

2010-03-18 Thread Valentin
On Thu, Mar 18, 2010 at 11:56:50AM +0100, QUINTIN Guillaume wrote: > is there a way to disable scrolling in a vt100 > using escape sequences ? Or simply tell the terminal > not to got to the next line when writing a char at the end > of a line ? Scroll lock works for me in xterm. > > Kind regard

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

2010-03-18 Thread QUINTIN Guillaume
Hi all, This is my problem, maybe one of you knows the answer. When writing a char in the bottom right corner of the terminal, it automatically scrolls down. And this I don't want. So is there a way to disable scrolling in a vt100 using escape sequences ? Or simply tell the terminal not to got to