SECTION 2
Supporting DOS Applications
2-4 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
Switch
Description (Continued)
/GBL:
nn
Global backlight timeout in minutes. Normally the backlight is automatically turned back on
upon resume or when a key is pressed. Twenty minutes after turning on the backlight, the
light turns off. You then need to manually turn the backlight back on to start the timer going
again. The twenty minutes are measured only while the terminal is on. To disable this feaĆ
ture entirely, set a timeout of zero. To simply change the timeout period, specify a new timeĆ
out in minutes.
The default is 20 minutes.
/SS:n
Sets SystemSoft flag to 0 or 1. If using SystemSoft for PC Cards, set it to the value of 1.
Due to a bug in Card Soft version 3.12 software, suspend notifications must be broadcast
somewhat differently when Card Soft is loaded. When this switch is supplied the following
translations are applied prior to broadcasting APM events:
APM_SUSPEND_REQ is changed to APM_USER_SUSPEND.
All OEM specific broadcast messages are disabled.
The default is 0 (disabled).
Command Line Switches
There are some switches that you can use at any time to change the
configuration of NPOWER.EXE:
/AC /Cp /ID /L1 /PCM /Sp /Pp /SW /SY /WU
To use a command line switch, type
NPOWER
, followed by the setting that you
want to change; for example:
NPOWER /SY:100
Use these command line switches at any time. Valid values for the state
s"
are
shown in the
Operational Switches for NPOWER.EXE
paragraph, page 2Ć2.
Switch
Description
/AC:
bl
,
ch
,
cl
Sets the three activity masks maintained by the APM BIOS (NORAPM). The definition
for each mask value is defined by the APM SetActivityMask function, (INT 15h,
AX=5380h, BH=2Eh). The values for
bl
,
ch
, and
cl
are in hex and are described in the
APM BIOS description.
bl
indicates activity monitor 3
ch
indicates activity monitor 2
cl
indicates activity monitor 1
The defaults are determined by APM BIOS (NORAPM).
/C
p
:
s
Sets communications port
x
to power management state
n
.
Valid values for the COM port
(p)
are 1 and 2.
To disable power to the selected COM port
(p,)
set the state
(s)
for that COM port
to OFF (3). For example: /C1:3
To enable power to the selected COM port
(p,)
set the state
(s)
for that COM port
to ON (0). For example: /C2:0
This switch is equivalent to performing an APM Set Power State function call for the seĆ
lected COM port (INT 15h, AX=5307h, BH=04h, BL=com port, CX=power state). The deĆ
faults are determined by APM BIOS (NORAPM).
/ID:
nn
System idle timeout in seconds. The value of
nn
defines how long the terminal runs full
speed with no activity. Once idle, activity is required before the idle loop ends. Activity is
defined by the activity masks. Various DOS function calls also prevent the terminal from
idling. An idle timeout of zero prevents background system idling. An application can
still perform idling to save power.
A timeout value of zero is appropriate for all PL/N applications.
A value of 0 disables idle detection. The default is 2 seconds.
2. DOS
Applications