>>>> "Ville" == Ville Skytt <Ville>
writes:
Ville> On Thu, 2002-09-12 at 21:28, David Masterson wrote:
> > We should do something about that.
Ville> Yep.
> If you can't run 'ver' at runtime, then report
it's output as "Build
> OS" in the message. It should be possible to get '%OS%' at runtime
> and report that as "Runtime OS".
Ville> Doesn't '%OS%' just contain 'Windows_NT' for NT and 2K,
and
Ville> nothing for 9x series (don't know about XP)? That wouldn't
Ville> be too useful.
Not too useful, yes.
Build-time OS is captured in Installation file by configure (UNIX,
cygwin) or xemacs.mak (native Windows build) respectively.
What's wrong with r-e-b to include runtime version as follows:
(if (eq system-type 'windows-nt)
(shell-command-to-string "ver")
(if
(file-exists-p "/etc/osversion") ; SONY NEWS-OS
(shell-command-to-string "cat /etc/osversion")
(shell-command-to-string "uname -a")))
Best regards,
Adrian
Ville> Listing both the build and runtime OS's sounds like a good
Ville> idea to me.
Ville> --
Ville> \/ille Skyttä
Ville> ville.skytta at
xemacs.org
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/