[comp.mail.mush] Odd mush screen behavior

icsu6000@caesar.cs.montana.edu (Jaye Mathisen) (01/04/90)

Machine:	MVAX II
OS:			Ultrix 3.1
Mush-version:	7.0.0 patchlevel 3

After using rn to save appx. 50 messages of news.misc into a mailbox,
I was using the :pick command to extract some messages, and after extracting
them, delete 'em.  The following is the screen after mush was done
picking-writing-deleting.  You can see the commandline I typed at the
bottom.  There is definitely something weird going on here.


   3  N  campbell@redsox.UUCP   Dec 19 11:46 (30  li) Re: What constitutes abu
   4ing  cc.usu.edu!slcx9       Dec 19  3NET_P14tScripFACTS OF LIFE
   5ing  uunet!ateng!chip    s) Dec 20  5:21 (36tScript_map_m.maps.hdr"
   6ing  uunet!ateng!chiplines) Dec 20US6:43 (28tScripRe: FACTS OF LIFE
   7ing  canada@crash.cts.coms) in "./US5:47 (112ScripThe Rape of Usenet
   8ing  msmiller@gonzoville.Ea in "./US8:40 (50tScript_: The Rape of Usenet
   9ing  tneff@bfmny0.UU.NET s) in "./U10:08 (20 ScripRe: The Rape of Usenet
  10ing  nic.MR.NET!ns!logajan  in ".1 12:00 (63tScript_map_m.wld.ref2"
  11ing  crdgw1!brspyr1!tim es) in "./US1:04 (121Script_map_m.ca.ref"        (
  12ing  bloom-beacon!jik     ) in "./U 2:01 (111Script_map_m.na.bb"
  13ing  bloom-beacon!jik  nes) in ".1  2:40 (57 Script_map_m.anz.ref"
  14ing  Think.COM!barmarlines) in "./US5:26 (45 Script_map_m.eur.flow"      (
  15ing  utgpu!utzoo!henryines) in "./US4:58 (40tScript_map_m.nena.ref"
  16ing  maytag!looking!bradnes) in "./U5:10 (42stScript_map_m.na.ref"
  17ing  maytag!looking!bradnes) in "./U5:27 (53stScript_map_m.eur.ref1"
  18ing  pem@cadnetix.COM   nes) in "0 10:58 (3ostScriMac news software
  19ing  mark@lakesys.UUCP  nes) in "./U4:47 (26stScript_map_m.wld.flow2"
  20ing  umich!itivax!newslines) in "1  2:23 (25stScriRe: The Rape of Usenet
  21ing  tneff@bfmny0612.NETnes) in "./U2:27 (20stScript_map_m.wld.ref1"
(.) display      (s) save lines)  (m) mail         (r) reply
(\n) next-msg    (^K) back-msgs)  (z) screen-next  (Z) screen-back
:pick -s "USENET Post" | write -s | delete(11:28) News.misc: #2 of 143> ...conti

nue...
--
+-----------------------------------------------------------------------------+
| Jaye Mathisen,systems manager       Internet: icsu6000@caesar.cs.montana.edu|
| 410 Roberts Hall                      BITNET: icsu6000@mtsunix1.bitnet      |
| Dept. of Computer Science	                                              |

schaefer@CSE.OGI.EDU (Barton E. Schaefer) (01/08/90)

On Jan 3,  6:11pm, Jaye Mathisen wrote:
} 
} I was using the :pick command to extract some messages, and after extracting
} them, delete 'em.  The following is the screen after mush was done
} picking-writing-deleting.
} 
} 
}    3  N  campbell@redsox.UUCP   Dec 19 11:46 (30  li) Re: What constitutes abu
}    4ing  cc.usu.edu!slcx9       Dec 19  3NET_P14tScripFACTS OF LIFE
}    5ing  uunet!ateng!chip    s) Dec 20  5:21 (36tScript_map_m.maps.hdr"
[ lots of messy redundancy deleted ]

This is is a side-effect of mush's "minimalist" approach to using curses.
Whenever output will scroll the screen, mush bypasses curses and prints
directly to the screen (because many if not most curses implementations
do not handle scrolling correctly, and some not at all).  It then prints
the ...continue... prompt to let you know that the screen has been messed
up.  Unfortunately, if for some reason printing that prompt causes the
line to wrap, curses will decide the screen needs to be redrawn.  Curses
doesn't know that mush has been scribbling on the screen behind its back,
so it efficiently redraws only some parts of the screen, leaving fragments
of mush's other output in the gaps.

This does mean that you should try to limit your $prompt setting to less
than 65 characters when using curses mode, or you'll see this sort of
garbage a lot.

Hitting any unbound key (space bar is easiest) will cause the screen to
be properly redrawn.

-- 
Bart Schaefer     "Miserable miscreant!  Question MY integrity, will you?"
               "I have to see some *evidence* of it before I can question it."
                                                            -- Calvin & Hobbes
schaefer@cse.ogi.edu (used to be cse.ogc.edu)