[14573] in Athena Bugs
sun4 8.0I: machtype
daemon@ATHENA.MIT.EDU (bdrosen@MIT.EDU)
Tue Aug 20 13:16:16 1996
From: bdrosen@MIT.EDU
To: bugs@MIT.EDU
Date: Tue, 20 Aug 1996 13:16:13 EDT
System name: cogsworth
Type and version: SPARC/5 8.0I (1 update(s) to same version)
Display type: cgthree
What were you trying to do?
use machtype
What's wrong:
> uname -a
SunOS cogsworth 5.4 Generic_101945-37 sun4m sparc
> where machtype
/bin/athena/machtype
> machtype -v -N
SunOS 5.3
> machtype -v -E
5.3
Looking at the sources, I can see that these values are specified explicitly.
Perhaps it would be better to "figure" them out at run time if possible
so that the source does not need to be changed every time the OS is updated.
( perhaps the uname function would be useful for this)
The same problem is relevant on the new sgis.
What should have happened:
It should have given me 5.4
Please describe any relevant documentation references:
machtype man page and source