🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
2 messages
2 total messages Started by Michael Durket Tue, 14 Apr 1992 19:19
Help in setting up SDK in DOS sessions
#701
Author: Michael Durket
Date: Tue, 14 Apr 1992 19:19
27 lines
1507 bytes
Hello,

   I'm playing around with the Microsoft Windows SDK and the C
6.0 compiler under OS/2. I installed them as directed by their
installation manuals and now I'd like to set them up for use.

   I have a few questions:

   1) Should I set each of the tools in the C compiling system
      up to run in a separate DOS session (i.e. run PWB, CL
      and NMAKE separately)? Or, should I set up one DOS session
      that can run them all?

   2) If I set them up in separate DOS sessions, how do I specify
      the additional variables that must go into the environment,
      such as SET HELPFILES= for PWB, say. And, can I set these
      up on a per DOS session basis or do I have to edit AUTOEXEC.BAT
      and thus affect all DOS sessions under OS/2? What do I do
      if I run out of environment space - where is that set.

   I've looked in the OS/2 online help and can't seem to find the
answers to these questions, particularly with regard to having
unique AUTOEXEC.BAT settings for each DOS session.

   Any advice will be greatly appreciated,

   Mike Durket
Re: Help in setting up SDK in DOS sessions
#716
Author: Dan Ford
Date: Wed, 15 Apr 1992 18:19
34 lines
1749 bytes
GG.MPD@forsythe.stanford.edu (Michael Durket) writes:
> Hello,
> 
>    2) If I set them up in separate DOS sessions, how do I specify
>       the additional variables that must go into the environment,
>       such as SET HELPFILES= for PWB, say. And, can I set these
>       up on a per DOS session basis or do I have to edit AUTOEXEC.BAT
>       and thus affect all DOS sessions under OS/2? What do I do
>       if I run out of environment space - where is that set.
>
>    Any advice will be greatly appreciated,
> 
>    Mike Durket

  The environment space can be set individually.  
	1. Go to the icon for the dos program (or command.exe) you want
to start.
	2. Select Properties, then DOS SETTINGS
	3. Select Other: DOS Shell
	4. Edit the shell line to look something like this:

		C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P /E:1024

	The important part is the /E:1024,  that reserves 1024 bytes of 
environment space, it is usually enough.  You could reserve more if you
need it.  This will only apply instances started up with this icon, not all
DOS boxes or applications.  If you want to increase the environment space
for all DOS boxes, find the SHELL statement in your OS/2 config.sys file
and add the /E:xxxx part.  Then reboot. 

Good luck

Dan Ford
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads