[15137] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: problems with mread, mwrite

daemon@ATHENA.MIT.EDU (William Chuang)
Fri May 9 13:29:30 1997

Date: Fri, 9 May 1997 13:29:25 -0400
From: William Chuang <wchuang@MIT.EDU>
To: mjduff@MIT.EDU
Cc: bugs@MIT.EDU
In-Reply-To: [15136]


In a bug report dated Fri, May 9, you wrote:
> A user has reported that mread and mwrite are not working on the Suns.
> mwrite writes to the user's directory and mread returns a file not
> found error.
> 
> It looks like there was a recent update to these commands, which might
> explain the problem.

Hey, Mike!

Actually, my guess would be that the user forgot to specify "a:" as the
target directory for "mwrite" (it defaults to the current directory as
it writes both to/from UNIX -- this is in the manual page), and forgot
to prefix the mread filename argument with "a:" as well.

i.e., if the user does:

	athena%  add consult
	athena%  mwrite Mail/inbox/3

it will take that file and write it to the current directory under the
same name; adding an "a:" as the last argument should make it write to
the floppy (note that this is because you could do something like
"mwrite a:Mail/inbox/3" or "mwrite a:Mail/inbox/3 a:" so it gives all
possible combinations).  Also:

	athena%  mread filename

will just check the current directory...

-William

home help back first fref pref prev next nref lref last post