summaryrefslogtreecommitdiff
path: root/v4.0-ozzie/bin/DISK1/COMMANDS.DOC
blob: 0fcfed75687d2717d8c7917eaa20a6e7eecbecb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
                                Multi-Tasking MS-DOS
                               Beta Test Release 1.00

                                   Command Guide


            ARENA.EXE - Prints out arena assignments

                 arena

                      The system's  memory arena  is printed  out.   The
                      number listed  under the owner field is the PID of
                      the process which owns the memory.


            BBSET.EXE - Set and report on behavior bits

                 bbset [-o] [ {+|-}bitname ... ] fname ...

                      BBSET sets or clears behavior bits in an .EXE file
                      header.   Multi-Tasking MS-DOS  uses the  behavior
                      bits   to   determine   the   level   of   special
                      compatibility   support    needed   to   run   the
                      application.

                      BBSET will  set  (if  +bitname)  or  clear  (if  -
                      bitname)  the   named  behavior  bit(s)  from  the
                      specified files.   If  the -o switch is specified,
                      BBSET writes  a report  on the  current setting of
                      all the  defined behavior  bits  to  stdout  after
                      making the requested changes.

                      For a  list of  behavior  bits  that  BBSET  knows
                      about, type BBSET without any arguments.


            COUNTDOW.EXE - Count down a CPU loop

                 countdown number

                      Its argument  is a  number; it  counts the  number
                      down to 0, at about a 1hz rate.     It  prints out
                      the countdown.   Another  CPU  loop  program  like
                      TEXT, but  this  one  terminates  when  the  count
                      reaches 0


            DETACH.EXE - Detaches a child process

                 detach command [argument ...]

                      The command  given is run as a background process.
                      Detach prints  out the  Command Subgroup ID (CSID)
                      which may  be used  as  an  argument  to  KILL  to
                      terminate the process.









     Multi-Tasking MS-DOS Command Guide - Page: 2

            HE_DAEM.EXE - Hard error catcher

                 detach he_daem

                      Intercepts hard  errors, reports them and requests
                      user action.   This  should always  be run  in the
                      background for now.  Put the above command line in
                      your AUTOEXEC.BAT  file if you're not going to use
                      the Session Manager (SM).


            KILL.EXE - send a signal to a process

                 kill [-nn] [sig=nn] [disp=mm] pid ...

                      Sends signal  nn with  disposition mm to processes
                      mentioned in pid.  Defaults to SIGTERM and process
                      tree disposition.


            POUND.EXE - Exercise disk I/O system

                 pound [t]count filea fileb

                      Pound reads  sequencially through filea and fileb,
                      reading 512  bytes at  a time  alternating between
                      the files  on each  read.  When the end of file is
                      read the  following read  for that  file begins at
                      the  beginning  of  the  file.    If  a  count  is
                      specified without  the preceeding  "t" then  pound
                      reads 512  bytes, count  number of times from each
                      file  before  the  program  terminates.    If  "t"
                      preceeds the  count value  then the files are read
                      for count  number of  seconds before  the  program
                      terminates.


            SLEEP.EXE - Sleep for a while

                 sleep sec[.millisec]

                      Sleep will  execute a  sleep system  call for  the
                      number  of  seconds  and  milliseconds  specified.
                      This might  be useful  in batch files to pause for
                      an interval  as opposed  to  waiting  for  a  user
                      response.


            SM.EXE - Session manager

                 sm

                      Manages multiple  processes running  on  different
                      screens.   Uses initialization  file SM.INI.  This










     Multi-Tasking MS-DOS Command Guide - Page: 3

                      program includes  the hard error catcher, so don't
                      run HE_DAEM  if you're going to use this.  See the
                      file SM.DOC for more information.


            TEXT.EXE - Loop and print text

                 text argument

                      CPU loops  and prints  its argument  every  2  CPU
                      seconds or so