bob@omni.com (Bob Weissman) (06/10/91)
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. This is mush 7.2.2 on a Sun 4 running SunOS 4.1. Does anyone have a fix for this? Thanks, -- Bob Weissman Internet: bob@omni.com UUCP: ...!{apple,decwrl,pyramid,sgi,sun,uunet}!omni!bob
schaefer@cse.ogi.EDU (Barton E. Schaefer) (06/15/91)
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