home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
DOS_GG
/
COMCAT
/
VOL95.ARJ
/
VOL9507
< prev
next >
Wrap
Text File
|
1992-01-07
|
4KB
|
89 lines
OS/2 P r o g r a m m a T h e e k volume 9507
Titel: MAZE, DEOS Command editor, PM demo under DOS
Number Name Size Date Comments
CATALOG O07 819 9-10-89 This text
9507.01 DEOS2 ZIP 19001 2-09-89 Another Command Line Editor
9507.02 KILL ZIP 5362 7-26-89 Kill an OS/2 process (no DOC)
9507.03 LINES ZIP 4499 2-08-89 Show 50 lines on VGA in sreen group
9507.04 OS2CMD ZIP 1559 4-15-88 Dutch comparison OS/2 - MSDOS
9507.05 OS2PID ZIP 1456 7-26-89 Ask process ID, kill Process
9507.06 OS2PRES ZIP 167364 12-12-88 MS-DOS (!) Storyboard (EGA min.):
OS/2 Pres. Manager (IBM commercial)
9507.07 PCTJOS2 ZIP 14825 9-10-89 Dual Boot Program -
see PC Tech Journal
9507.08 PMMAZE1A ZIP 16253 9-04-89 Presentation Manager maze game
9507.09 SYSACT11 ZIP 23203 8-31-89 Monitor current system activity
VOL9507 ABS 3394 9-10-89 Zorro's abstract
11 File(s) 99328 bytes free on volume DOSGG9507
CLE (Command Line Editor for OS/2) is utility for OS/2 which allows
more natural recall and editing of command than using the indigenous F1 - F6
key stroke editing.
The way command line editing works with CLE is more like the way
you edit a document using DisplayWrite or other word processor. The
keystrokes used are Left Arrow, Right Arrow, Ctl Left Arrow, Ctl Right
Arrow, Home, End, Ins,
Del, Backspace, Ctl End, Esc.
CLE remembers a substantial number of previous commands, the exact
number depending on how long they are, but typically dozens, and you can
recall and see them by scrolling up or down through them using the Up
Arrow and Down Arrow keys. It is even possible to recall commands by
initial letter. Pressing F1 followed by a letter recalls the most recent
command issued that started with that letter. CLEOS remains in History
mode, indicated by a full-block cursor, until F2 is pressed or until
CLE can't find a command starting with the character given. Thus the
sequence F1 d recalls the last command starting
with d. Pressing d again recalls the one before that, and so on.
The other function keys F3 to F12, and the shift, control and
Alt function keys can have strings assigned to them so that pressing F3,
for instance, could be equivalent to typing "dir/w *.doc".
** PMMAZE **
This may aid your understanding of PMMAZE. Unfortunately, use
of an explicit stack instead of recursion results in somewhat obscure
code. Good luck!
To solve a maze, start at the entrance (lower left-hand room). Use
chalk to draw a line on the floor from the middle of the room to the outside
of the maze. In a given room, find a direction out of the room that you have
not yet taken and that does not follow your chalk line. If such a direction
exists, extend the chalk line in that direction until you reach the middle of
an adjacent room.
If no such direction exists, follow the chalk line out of the room,
erasing it until you reach the middle of an adjacent room. Since the maze
generated by this program has exactly one solution that does not involve
backtracking, you will eventually reach the
exit (upper right-hand room).
** PCTech Journal OS/2 **
This is an utility to make your system 'dual-booting': MS-DOS or
OS/2 on the same harddisk. You will need the following articles:
PC Tech Journal Vol. 6 No. 9, September 1988, page 137
PC Tech Journal Vol. 7 No. 2, February 1989, page 132
SETTING THE VGA DISPLAY FOR 50 LINES
The file here, LINES.EXE, toggles the VGA display between 50 lines and 25
lines in protected mode. The setting is effective only for the particular
screen group that the program is run in; other partitions remain in whatever
format they were started.
System Activity V1.10
This OS/2 protected mode program allows the user to inspect some of the
key system activities. It includes the display of:
- Total CPU usage (in percent)
- Largest free physical memory block (RAM)
- Swap file increase (in KB)
- Number of spool files
- Total size of all spool files (in KB)