🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

returned error codes in beckenmeyer c shell

#26875
From: Rodney
Date: Mon, 18 May 1987 19:10
18 lines
1403 bytes
  I bought the micro c shell recently, and its beutiful except for the
fact that I can't get any status codes from programs except -1 and 0.
  The program Citadel (a public domain BBS for the ST and other systems)
returns different error codes depending on the action it wants performed
when it exits.  For example's sake, assume the following:  
   It returns    when it wants..
         0         to backup and shutdown to the cli.
         1         to perform the periodic maintence and restart.
         2         to signal that a remote sysop has shut down the board.
         3         to signal an error.
 
  By looking at status, I only get 0 and -1 back.  I'd like to be able
to tell if the system wants to do periodic routines or wants to be
shutdown.
  Help!
 
  Rodney Peck (Peck @ radc-multics.arpa)
Technical Details
Message-ID: <870518191051.291642@RADC-MULTICS.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!sdcsvax!ucbvax!RADC-MULTICS.ARPA!Peck

Show 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!ames!sdcsvax!ucbvax!RADC-MULTICS.ARPA!Peck
From: Peck@RADC-MULTICS.ARPA (Rodney)
Newsgroups: comp.sys.atari.st
Subject: returned error codes in beckenmeyer c shell
Message-ID: <870518191051.291642@RADC-MULTICS.ARPA>
Date: Mon, 18-May-87 15:10:00 EDT
Article-I.D.: RADC-MUL.870518191051.291642
Posted: Mon May 18 15:10:00 1987
Date-Received: Tue, 19-May-87 05:45:33 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 18