adc@tardis.msu.edu (Alan D. Cabrera) (04/15/91)
When I try to open a mail file, and Mail File: is set to mbox, I get: Cannot access file 'tty': Ambiguous./mbox No such file or directory notifier. Does anybody know what's going on? -- Alan Cabrera internet: adc@tardis.cl.msu.edu Michigan State University phone: (517) 353-3027 514a Computer Center fax: (517) 353-9847 East Lansing, MI 48824 bitnet: CABRERA@MSU
weimer@garden.ssd.kodak.com (Gary Weimer (253-7796)) (04/18/91)
In article <1991Apr15.162329.8367@msuinfo.cl.msu.edu> you write: |> |> When I try to open a mail file, and Mail File: is set to mbox, I get: |> |> Cannot access file |> 'tty': Ambiguous./mbox |> No such file or directory |> |> notifier. Does anybody know what's going on? It looks like you are using ~/mbox. Somehow the ~ is evaluating to 'Ambiguous.' and hence it is searching for the file Ambiguous./mbox Just a guess. You could try using the full path name to test this. weimer@ssd.kodak.com ( Gary Weimer )
kenw@protocol.COM (Ken West) (04/20/91)
(Note: I'm posting this because mail doesn't seem to go through. ) > From uunet!owner-openlook Wed Apr 17 03:06:35 1991 > To: openlook > Path: unify!csusac!ucdavis!csus.edu!wuarchive!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!widener!netnews.upenn.edu!msuinfo!news > Newsgroups: comp.windows.open-look > Subject: Mailtool weirdness > Sender: uunet!msuinfo.cl.msu.edu!news > Organization: Michigan State University > Lines: 15 > > > When I try to open a mail file, and Mail File: is set to mbox, I get: > > Cannot access file > 'tty': Ambiguous./mbox > No such file or directory > > notifier. Does anybody know what's going on? > > > -- > Alan Cabrera internet: adc@tardis.cl.msu.edu > Michigan State University phone: (517) 353-3027 > 514a Computer Center fax: (517) 353-9847 > East Lansing, MI 48824 bitnet: CABRERA@MSU The bug, believe it or not is in your SUN supplied .cshrc file (first place I'd look, right????). The line - if ( `tty` == "/dev/console" && $TERM == "sun" && ${?mychoice} == 0 ) then should be changed to (Note quotes around `tty` ) - if ( "`tty`" == "/dev/console" && $TERM == "sun" && ${?mychoice} == 0 ) then ^ ^ The reson for this is that mail is trying to run a csh program with no attached tty. This causes the `tty` call to return "no tty" which drives csh nuts. Adding the quotes causes the compare to work even when `tty` return multiple words. ---------- Ken West Protocol Systems, Incorporated 14924 N.W. Greenbrier Parkway Beaverton, Oregon 97006 (503) 645-2500 ...uunet!protocol!kenw