🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #1025

Re: OS/2 Auto start of program

#1025
From: Jeremy S. Anderson
Date: Sat, 06 Jan 1990 22:43
26 lines
1845 bytes
In article <444@telxon.UUCP> johnk@telxon.UUCP (John E. Kabat Jr.) writes:
>My boss wants a PM application to come up when OS/2 is booted.
>
	A file called STARTUP.CMD ( which is in the format of a standard OS/2
command script) is executed after PMSHELL.EXE is started.  The START command
will spawn a sub-process from your command file.  This can be a PM program,
or a full-screen command.

	Better applications than START exist for launching sub-processes,
however I am aware of none which are publicly avalible (not too hard, I lead
a very sheltered life)  As a hint, GO.EXE, which is used inside of IBM, 
provides full access from a command line to the features of the OS/2 base
call DosStartProgram (?) including sizing of windows, determining whether to
start the app full-screen, as a text-window, or as a PM application, etc.
etc.  This program is about 80 lines of code that could using information
drawn straight from any OS/2 programming refrence on the market.  If such a
program does not exist in the public-domain, take an afternoon off to write it,
as the benefits accrued for control of well-behaved PM applications are well
worth the trouble.



-- 
	There are two major products of Berkeley, CA -- LSD and UNIX.  We don't
believe this to be strictly by coincidence.
Jeremy S. Anderson  jeremy@rpp386.cactus.org   LostIn, TX
Technical Details
Message-ID: <17580@rpp386.cactus.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!natinst!rpp386!jeremy
References: <444@telxon.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!natinst!rpp386!jeremy
From: jeremy@rpp386.cactus.org (Jeremy S. Anderson)
Newsgroups: comp.os.os2
Subject: Re: OS/2 Auto start of program
Keywords: os/2 pm autostart
Message-ID: <17580@rpp386.cactus.org>
Date: 6 Jan 90 22:43:26 GMT
References: <444@telxon.UUCP>
Reply-To: jeremy@rpp386.UUCP (Jeremy S. Anderson)
Distribution: usa
Organization: Interzone Technologies -- Austin, TX
Lines: 26