🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #692

Re: Changing the default mailbox for message saving

#692
From: Marc Guillemont
Date: Mon, 18 Feb 1991 07:32
35 lines
2065 bytes
In article <7871@chorus.fr> mgu@chorus.fr (Marc Guillemont) writes:

% I am using mush (7.0.4 1/31/90). Upon saving a message ("s" in curses
% mode), mush prompts for a default mailbox which is always the same (mbox).
% Is there any means for setting this default mailbox to the last mailbox
% used to save a message?

From article <7972@exodus.Eng.Sun.COM>, by argv@turnpike.Eng.Sun.COM (Dan Heller):

% The prompt says "mbox", but the actual file it saves to really *is*
% your "mbox" variable, whatever that may be.  This should be fixed
% in 7.2.2 (yeah, I know, it's still not posted yet).

This is not exactly what I am looking for. You say that messages are saved
in the mailbox designated by the "mbox" variable; but this variable has a
fixed static value. What I would like is a mechanism whereby, each time you
save a message, the "default" mailbox for saving is set to the mailbox used
for this saving. This is the way "Mailtool" on SunOS works, for instance. In
others words, the dialog would look like below:

filename to save [mbox]: +mb<CR>       => message saved to +mb
filename to save [+mb]: <CR>           => message saved to +mb
filename to save [+mb]: +mailbox<CR>   => message saved to +mailbox
filename to save [+mailbox]: <CR>      => message saved to +mailbox
etc...
--

 _ __         _ _ _   ___ 	Marc Guillemont
' )  )       ' ) ) ) /   )	Chorus syste`mes
 /--' __      / / / / __  . .	6, avenue Gustave Eiffel
/    / '     / / ( (___/_(_/_	F-78182, St-Quentin-en-Yvelines Cedex

Tel: +33 (1) 30 64 82 00	Fax: +33 (1) 30 57 00 66
E-mail: mgu@chorus.fr		or mgu%chorus.fr@mcsun.EU.net
Technical Details
Message-ID: <7895@chorus.fr>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!corton!chorus!mgu
References: <7972@exodus.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!corton!chorus!mgu
From: mgu@chorus.fr (Marc Guillemont)
Newsgroups: comp.mail.mush
Subject: Re: Changing the default mailbox for message saving
Message-ID: <7895@chorus.fr>
Date: 18 Feb 91 07:32:18 GMT
References: <7972@exodus.Eng.Sun.COM>
Sender: news@chorus.fr
Lines: 35