🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #693

mush "cmd" oddity

#693
From: Clark O. Morgan
Date: Sat, 23 Feb 1991 07:33
33 lines
1540 bytes
I noticed something interesting tonight...don't know if it's a bug
or feature.  I created a 'cmd' for "q" that prevents me from carelessly
exiting an xterm that is invoked solely to read mail.  The cmd looks
like so:

   cmd q       "echo Type 'quit' to quit."

The cmd works, of course.  Now for the interesting part.  If I type 'q'
in shell mode when my mail drop is the current folder, I get what
appears to be a warning message from Mush.  If I type 'q' when +mbox is
my current folder, no warning appears.

Script started on Fri Feb 22 23:17:23 1991
$ mush -S -n
Mail User's Shell (7.1.2 7/11/90): Type '?' for help.
"/usr/spool/mail/morgan": 0 messages, 0 new, 0 unread
(morgan) 0/0: cmd
:     	curses
curr     	from - .
goto     	from - !*
q     	echo Type 'quit' to quit.
(morgan) 0/0: q
(ucb-command: "q" aliased to "echo Type 'quit' to quit.")   <--- ???
Type quit to quit.
(morgan) 0/0: fo -N &
"+mbox": 13 messages, 0 new, 0 unread
(mbox) 1/13: q
Type quit to quit.                   <-- No warning message
(mbox) 1/13: quit
$ exit

script done on Fri Feb 22 23:18:00 1991
Technical Details
Message-ID: <17768@ogicse.ogi.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!ogicse!ogicse.cse.ogi.edu!morgan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!ogicse!ogicse.cse.ogi.edu!morgan
From: morgan@ogicse.cse.ogi.edu (Clark O. Morgan)
Newsgroups: comp.mail.mush
Subject: mush "cmd" oddity
Message-ID: <17768@ogicse.ogi.edu>
Date: 23 Feb 91 07:33:40 GMT
Sender: morgan@ogicse.ogi.edu
Distribution: na
Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR
Lines: 33