Admiral - V1N1

From OS2World.com Wiki
Jump to: navigation, search

Battle Stations

Admiral - Advanced Users


Q.gif

Can I make OS/2 boot into a text-based shell without automatically starting the Workplace Shell?


A.gif
Yes, you can have OS/2 start a command-prompt shell instead of the Workplace Shell. Look for these lines in your CONFIG.SYS file:
PROTSHELL=C:\OS2\PMSHELL.EXE
SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE

PMSHELL.EXE is the executable file for the Workplace Shell. You can replace that shell with the OS/2 command-line shell by replacing PMSHELL.EXE with CMD.EXE, or any other OS/2-based shell for that matter. If you want a single-tasking character-based system only, replace the PROTSHELL (which stands for Protected Mode Shell). If you want multiple sessions and the Presentation Manager without the Workplace Shell, replace just the RUNWORKPLACE line. Replacing only RUNWORKPLACE will cause your system to boot into a graphical screen, but will not open your desktop or start the Workplace Shell. You will have one open text-based window labeled "Workplace Shell" on your screen. Once you are done issuing commands and want to launch the Workplace Shell, type:

START /N PMSHELL



Q.gif
How can set the size of my command-line windows so that they will open to the same size every time??


A.gif
Hold down the Shift key while maximizing or resizing a windowed command line. Each new command line window opened will conform to that size and shape.


Q.gif
How can I get Presentation Manager programs to start minimized? Only DOS and Windows programs give me that option.


A.gif
Normally, you can't. However, you can trick the Workplace Shell into giving you the option to run a program minimized by deliberately misspelling the name of the program on the first page of the settings notebook. Since the notebook can't find the program you are referring to and identify it as a PM program, it will give you the setting to run it minimized. Simply misspell the name of the program, set the minimize parameter, and return to correct the name of the program. Not elegant, but it works.



Wollogos.gif

Submit your questions to Battle Stations at Warp Online.