disable line wrap in xterm??
Scherer, Bill
Bill.Scherer at VerizonWireless.com
Tue Jun 19 14:04:32 EDT 2001
On 19 Jun 2001, Michael Hudson wrote:
> "Scherer, Bill" <Bill.Scherer at VerizonWireless.com> writes:
>
> > Can anyone tell me how I can disable line wrap in an xterm (or
> > equiv, eg: rxvt, Eterm, etc) from Python?
>
> To turn auto-wrap off:
>
> print "\033[?7l"
>
> to turn it on:
>
> print "\033[?7h"
That does it. Thanks!
>
> Do you have the ctlseqs.TXT document? It's handy for this sort of
> thing.
Never heard of it.
>
> These are probably grossly xterm specific - AFAIK there's no
> corresponding terminfo/termcap code (but my termcap & terminfo book
> seems to have vanished into the depths of my room, so I'm not sure).
>
> Cheers,
> M.
>
>
William K. Scherer
Sr. Member of Applications Staff - Verizon Wireless
Bill.Scherer_at_VerizonWireless.com
More information about the Python-list
mailing list