🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #3607

Re: Sozobon C in MT C-Shell

#3607
From: David Beckemeyer
Date: Fri, 01 Sep 1989 20:05
36 lines
2074 bytes
In article <428@h.cs.wvu.wvnet.edu> jlf@a.cs.wvu.wvnet.edu (Jack L Forester) writes:
[ description of problem with dlibs/MT C shel causing Sozobon C to bus err
  deleted ]
>The fix:  In the environment variables passed to the program, there are two
>  of concern here:  ARGC and ARGV.  The ARGC variable will always contain the
>  number of arguments passed to the program, and ARGV contains the starting
>  address of an array of pointers to the arguments.  You will have to replace
>  the Initargs function in dLibs with one of your own that searches the
>  environment for these two variables and puts their values into _argc and
>  _argv.
>

Be careful!   This is the old way that MT C-Shell used to pass arguments.
This was changed in version 1.10 and later to use the MWC ARGV envioronment
format "standard"!

Jack if you have version 1.0 of MT C-Shell, you are due for an upgrade.
That version is *very* old and the newer versions are *much* *much* improved.
The current version of MT C-Shell is 1.20.

If you don't know what the MWC ARGV format is, let me know and I can
give you the info.   I'm not posting it here now because it's been 
gone over many times before.   There is a file on the BDT BBS called
NEWENV.ARC in the MT file area (BBS number 415-452-4792).

>I hope this helps.
>
>Jack Forester, Jr.
>jlf@a.cs.wvu.wvnet.edu

I hope this also helps.
-- 
David Beckemeyer (david@bdt.UUCP)	| "I'll forgive you Dad...  If you have
Beckemeyer Development Tools		| a breath mint."
478 Santa Clara Ave. Oakland, CA 94610	|    Bart - "The Simpsons"
UUCP: {uunet,ucbvax}!unisoft!bdt!david	|
Technical Details
Message-ID: <129@bdt.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!unisoft!bdt!david
References: <428@h.cs.wvu.wvnet.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!unisoft!bdt!david
From: david@bdt.UUCP (David Beckemeyer)
Newsgroups: comp.sys.atari.st
Subject: Re: Sozobon C in MT C-Shell
Keywords: Sozobon
Message-ID: <129@bdt.UUCP>
Date: 1 Sep 89 20:05:32 GMT
References: <428@h.cs.wvu.wvnet.edu>
Reply-To: david@bdt.UUCP (David Beckemeyer)
Organization: Beckemeyer Development Tools, Oakland, CA
Lines: 36