Article View: comp.mail.mush
Article #814Re: Line wrap bug in mush 7.2.2
From: Barton E. Schaefer
Date: Fri, 14 Jun 1991 23:37
Date: Fri, 14 Jun 1991 23:37
20 lines
1539 bytes
1539 bytes
On Jun 10, 5:22am, Bob Weissman wrote: } Subject: Line wrap bug in mush 7.2.2 } } When using an ANSI-like terminal emulation (namely VT102) in curses } mode, I've noticed that mush turns off line wrap during header viewing, } and then fails to turn it back on during message text viewing. This } results in long message lines being truncated. I suspect that your termcap has ti (and te) capabilities which are invoked when curses iniitializes (and shuts down). The ti capability is what turns off the line wrap. Mush saves the operating-system- controlled tty settings and restores them when executing an external program, but there's no reasonable way for it to save and restore the terminal state. You could try changing the echo_on() and echo_off() macros in mush.h to explicitly tput() the ti/te sequences, but it might be easier to simply use a different termcap for your ansi terminal. -- Bart Schaefer schaefer@zipcode.com Z-Code Software Corporation schaefer@cse.ogi.edu
Technical Details
Message-ID:
<9106142337.AA20343@cse.ogi.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-linesShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: schaefer@cse.ogi.EDU (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: Line wrap bug in mush 7.2.2 Message-ID: <9106142337.AA20343@cse.ogi.edu> Date: 14 Jun 91 23:37:26 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: Z-Code Software Corp. Lines: 20