🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ash status ?

#26665
From: dclemans
Date: Wed, 06 May 1987 17:12
26 lines
1775 bytes
The length byte in command tails cannot be negative.  The command tail is
taken from the Pexec call and stored in the base page for a process.
The base page is 256 bytes; the last 128 bytes of the base page are used
to store the command tail, including the length byte.  Thus the maximum
length of a command tail is 127 bytes.

The commercial shells that allow passing command lines greater than 127
bytes (Mark Williams msh, Beckemeyers csh, etc.) pass the actual command
line using environment variables, with the first 127 characters of the
command line put into the command tail of the Pexec call for compatibility
reasons.

As of the latest releases from Beckemeyer and Mark Williams products they
have gotten together and agreed on common formats for using the environment
strings so that their products can be used in each others environments.

The environment strings that they expect look something like

"name=value\0name=value\0...name=value\0\0"

if I remember correctly.  It's documentated reasonably well in their manuals;
some of Beckemeyers products even come with the source to example getenv
and putenv functions.

dgc
Technical Details
Message-ID: <629@dclemans.mntgfx.MENTOR.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!decvax!tektronix!sequent!mntgfx!dclemans
References: <1949@ihuxy.ATT.COM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!decvax!tektronix!sequent!mntgfx!dclemans
From: dclemans@mntgfx.UUCP
Newsgroups: comp.sys.atari.st
Subject: Re: ash status ?
Message-ID: <629@dclemans.mntgfx.MENTOR.COM>
Date: Wed, 6-May-87 13:12:10 EDT
Article-I.D.: dclemans.629
Posted: Wed May  6 13:12:10 1987
Date-Received: Fri, 8-May-87 05:33:23 EDT
References: <1949@ihuxy.ATT.COM>
Organization: Mentor Graphics, Beaverton OR
Lines: 26
Keywords: ash xbios gemdos HELP!
Summary: info about command tails and environments