> 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 is 5 then printf("\033[?7l12345"); will print something like this in the terminal:
|2345 | instead of |12345|