Article View: comp.sys.atari.st
Article #26523Gemboot and MW Shell
From: Michael Fischer
Date: Mon, 27 Apr 1987 14:23
Date: Mon, 27 Apr 1987 14:23
24 lines
1800 bytes
1800 bytes
Several people have noted the fact that the new Mark Williams shell
MSH.PRG (v2.0) seems not to be able to find its profile after the
machine has been booted with GEMBOOT. The problem is that GEMBOOT
leaves a string in the system path buffer _shell_p that MSH cannot
interpret properly. GEMBOOT seems to follow the conventions of
the PD shell COMMAND.TOS (that was included in the GEMSOFT
distribution) in which semicolons are used to separate paths. Thus,
when I looked at that string after booting with GEMBOOT it contained
"PATH=;C:\". (This is from memory; there might have been another
semicolon somewhere.) MSH uses commas to separate path strings.
My guess is that MSH tried to open its profile file on device ";C:"
and of course got a TOS error.
A cure seems to be to change the path buffer to "PATH=" followed
by two zero bytes. A program to do that can be run as one of the
programs in the .BAT file that is invoked by COMMAND.TOS (which
is in turn run by GEMBOOT). MSH then starts up properly. I will
post a simple C program that does this after I have tested things
a little more thoroughly.
--Mike Fischer
Arpanet: fischer@yale.arpa
Bitnet: fischer@yale-cs
-------
Technical Details
Message-ID:
<8704271423.AA00927@yale-eli.arpa>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!ucbvax!YALE.ARPA!fischer-michaelShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!mit-eddie!genrad!decvax!ucbvax!YALE.ARPA!fischer-michael From: fischer-michael@YALE.ARPA (Michael Fischer) Newsgroups: comp.sys.atari.st Subject: Gemboot and MW Shell Message-ID: <8704271423.AA00927@yale-eli.arpa> Date: Mon, 27-Apr-87 10:23:32 EDT Article-I.D.: yale-eli.8704271423.AA00927 Posted: Mon Apr 27 10:23:32 1987 Date-Received: Tue, 28-Apr-87 02:50:36 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 24