[792] in Athena Bugs

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

viewdoc

daemon@ATHENA.MIT.EDU (qjb@ATHENA.MIT.EDU)
Sun Sep 4 13:43:13 1988

From: <qjb@ATHENA.MIT.EDU>
Date: Sun, 4 Sep 88 13:42:36 EDT
To: bugs@ATHENA.MIT.EDU

Here is the current viewdoc script.

------
#!/bin/sh

MACH=`/bin/athena/machtype`

exec /mit/athenadoc/.${MACH}viewdoc $1
------

This could be significantly improved if the $1 on the last line were
replacd by a /mit/athenadoc/$1.  This way, people wouldn't have to "cd
athenadoc" before using the software.  If you want
/mit/athenadoc/viewdoc /mit/athenadoc/file.PS
to be a valid syntax, then

------
#!/bin/csh -f

cd /mit/athenadoc
exec .`/bin/athena/machtype`viewdoc $1:t
------

would be better still.

                                Jay Berkenbilt

P.S.  Who should get mail about the contents of the athenadoc locker?

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