The text of a manual · part 9 of 20
PDT 7500 Series Product Reference Guide for DOS: Chapter 5 Terminal Configuration: Edit the Configuration Files
Pages 63 to 74 of 156, from PDT 7500 Series Product Reference Guide for DOS
The original document is the PDF (1.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol PDT-7500
Page 63
Chapter 5 Terminal Configuration: Edit the Configuration Files Chapter Contents Setup/Edit DOS Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 CONFIG.SYS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 AUTOEXEC.BAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Symbol-Supplied TSRs and Device Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Symbol-Supplied Utilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10 Symbol-Supplied Network Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12
5-1
Page 64
PDT 7500 Series Product Reference Guide for DOS
5-2
Page 65
Terminal Configuration: Edit the Configuration Files
Setup/Edit DOS Configuration Files This section details the recommended edits of DOS system files. For more information on editing the DOS system files covered in this section, please refer to the Microsoft® MS-DOS User’s Guide. Note: See the Spectrum24 NDK for DOS Reference Guide for CONFIG.SYS and AUTOEXEC.BAT file edits for use in the Spectrum24 environment.
CONFIG.SYS HIMEM.SYS Device Driver This driver provides access to the terminal’s extended memory (RAM beyond the first 1 MB). It provides services for managing the High Memory Area (HMA), which is the first 64K of extended memory, and an Extended Memory Specification (XMS) API for managing the remainder of extended memory. Various uses of extended memory include: ! ! ! !
Loading DOS high (see DOS Settings: DOS = HIGH) Using Upper Memory Blocks (UMBs; see EMM386.EXE) Using Expanded Memory (EMS; see EMM386.EXE) Using DOS Extenders. Note: This driver must be loaded in CONFIG.SYS to allow use of extended memory. Most configurations created for the PDT 7500 should include this driver.
Recommended usage in CONFIG.SYS is: DEVICE=HIGHMEM.SYS/TESTMEM:OFF
The /TESTOFF:OFF option skips the memory test and speeds up the boot process.
5-3
Page 66
PDT 7500 Series Product Reference Guide for DOS
EMM386.EXE Device Driver This driver provides alternate access to extended memory. This driver requires that HIMEM.SYS be loaded first and uses the XMS API provided by HIMEM.SYS to further manage extended memory. Extended memory is “translated” into other types of memory such as Upper Memory Blocks (UMBs) and Expanded Memory (EMS). UMBs allow additional RAM memory to be located in unused areas of the first 1 MB of the address space. TSRs and drivers can be loaded into UMBs via the LOADHIGH and DEVICEHIGH commands, leaving additional Transient Program Area (TPA) available for application use. Expanded memory uses a 64K page frame within the first 1MB of the address space to allow RAM to be mapped in 16K pages via the EMS (LIM 4.0) API. Note: Include this driver in the PDT 7500 configuration ONLY if UMBs or EMS are required. Recommended command line switches include: 1. If EMS memory is not required, add the following line to allocate all unused Upper Memory Blocks for DEVICEHIGH and LOADHIGH commands: DEVICE=EMM386.EXE NOEMS X=B000-BFFF
CONFIG.SYS DOS Settings • BREAK = [ ON | OFF ] Controls whether or not extended CTRL+C checking is enabled. Since this feature introduces additional overhead and is useful only when a keyboard is attached, it should be disabled under most circumstances. Off is the default setting; hence this command need not be used unless this feature is being enabled.
• BUFFERS = n[,m] 1≤n≤99 0≤m≤8 Specifies the number of disk buffers to be allocated for use by DOS. The default value for the PDT 7500 is n=15 and m=0. Many applications and environments request a larger setting. Windows, for example, recommends a setting of n=20 and m=0. Using too large a value wastes memory and using too small a value can reduce performance. Unless there is a specific requirement, we recommend using the n=20 and m=0 settings.
5-4
Page 67
Terminal Configuration: Edit the Configuration Files
• COUNTRY = XXX[,YYY] Specifies the country-specific settings. The default is U.S. This command is required only for a different country setting.
• DEVICE = driver.ext DEVICEHIGH = driver.ext This command causes a device driver to be loaded either low (into TPA) or high (into UMBs). Drivers cannot be loaded high until both HIMEM.SYS and EMM386.EXE have been loaded low and DOS=UMB has been specified.
• DOS = [HIGH | UMB ] This command allows DOS to load information into the HMA (DOS = HIGH), increasing the amount of TPA available for applications. This command also enables loading TSRs and drivers into UMBs via the LOADHIGH and DEVICEHIGH commands (DOS=UMB). Note: DOS = HIGH can only be used if HIMEM.SYS is loaded. DOS = UMB can be used only if both HIMEM.SYS and EMM386.EXE are loaded.
• FILES = n 8≤n≤255 Controls the number of files that DOS can open at once. The larger this number, the more memory DOS allocates for file handles. The default is 8, which is generally inadequate for most applications and environments. Allocating too many files wastes memory; allocating too few files may cause an application or environment to fail if it attempts to open too many files. Unless there is a specific requirement for more files, we recommend using a value of n=20.
• INSTALL = file.ext This command loads a TSR from CONFIG.SYS. This command can be used to load TSRs (low only) that go along with drivers (as a convenience). Note that DOS does not load the TSRs until the end of CONFIG.SYS (as opposed to where they appear). If you use your application as a shell (see SHELL=), you can use this command to load TSRs prior to execution of the application as the shell.
• LASTDRIVE = x Specifies the number of disk drives managed by DOS. This command is necessary only if the number of drive letters managed by DOS must be increased. DOS automatically allocates C: and possibly D:, E: and F:, if additional FLASH disk(s) are present.
5-5
Page 68
PDT 7500 Series Product Reference Guide for DOS
The RAM disk driver and DRVSPACE are device drivers that allocate new drive letters beyond those automatically allocated by DOS. LASTDRIVE only adds new drive letters (to be managed by DOS) if the drive letter specified is greater than the last drive letter automatically allocated by DOS or by device drivers such as RAM Disk and/or DRVSPACE. One common use of this command is to reserve one or more drive letters for use by the DOS SUBST command, in addition to the drives needed for RAM Disk and DRVSPACE. For example, if DOS is managing drives A-F, set LASTDRIVE=G. For Spectrum24 use with Novell Netware and LAN Workplace TCP/IP stack, LASTDRIVE= must be set to Z.
• NUMLOCK = [ON | OFF ] This command sets the state of the numeric lock key on the keyboard on boot up.
• SET This command sets environment variables in CONFIG.SYS instead of in AUTOEXEC.BAT. Note: Environment variables are set in CONFIG.SYS only at the end of CONFIG.SYS, regardless of where the SET command occurs. Consequently, these settings cannot be used by device drivers, and this command is generally only used if environment variables are required by TSRs loaded via the INSTALL= command, or if the application is being used as a command shell (e.g., turn-key application).
• SET COMSPEC= This command specifies the drive and path where the shell can be found. Use this command only if the SHELL= command is used to select a program other than COMMAND.COM as the shell, or if the shell is located in a directory other than the root directory of the boot drive.
• SHELL = file.ext This command specifies the command shell to be used. The default command shell is COMMAND.COM from the boot drive’s root directory. Reasons for using this command include: " To increase the size of the environment table when running COMMAND.COM as the shell.
5-6
Page 69
Terminal Configuration: Edit the Configuration Files
The recommended command line for this is: SHELL=C:\COMMAND.COM/P/E:1024
For additional information, consult the MS-DOS User’s Guide. " To run (and store) COMMAND.COM in a directory other than the root directory (see also SET COMSPEC= above)
Note: TCM automatically puts COMMAND.COM in the root directory of a FLASH disk marked as bootable, so this should seldom be needed. " To use an application other than COMMAND.COM as the shell.
• STACKS = n, s0≤n≤64, 32≤s≤512 This command controls the number and size of the DOS stacks used to service hardware interrupts. Unless there is a specific requirement otherwise, we recommend using a value of n=9 and s=256 to save memory.
MS-DOS Device Drivers • ANSI.SYS This driver provides text mode display attribute support for applications that desire ANSI terminal command set portability.
• DISPLAY.SYS This driver allows internationalization of the text mode character set.
• RAMDRIVE.SYS This driver creates a simulated “disk” using TPA, EMS, or XMS RAM.
• SETVER.EXE This driver reports different version numbers for use with DOS-version-specific software programs. Consult the MS-DOS User’s Manual for more information.
• SMARTDRV.EXE This driver caches access to disk drives, thus increasing disk access speed. Due to the solid state nature of the “disks” available on the PDT 7500, this driver may be of limited use.
5-7
Page 70
PDT 7500 Series Product Reference Guide for DOS
AUTOEXEC.BAT Note: AUTOEXEC.BAT is processed by COMMAND.COM and has no meaning if another program is used as a shell (see the section SHELL= above).
DOS Settings • ECHO [ON | OFF | TEXT ] This command (which is commonly used in batch files, especially AUTOEXEC.BAT) displays a text string (the TEXT option), or enables/disables the echoing of commands in the batch file as it is executed. When a batch file is used to execute a program, it gives a more “transparent” look if the commands which “set up” the applications’s execution are hidden. To prevent the ECHO OFF command from itself echoing, precede it with an @ sign (e.g., @ECHO OFF).
• MODE This command sets up and/or configures various drivers. Refer to the MS-DOS User’s Manual for more information.
• PATH This command sets the path(s) used to find executable programs.
• PROMPT This command modifies the DOS COMMAND.COM shell prompt.
• SET This command sets environment variables. This is normally used to set up environment variables required by TSRs or applications/environments.
Symbol-Supplied TSRs and Device Drivers Symbol has provided the following device drivers and TSRs for use with the PDT 7500. For information on loading the TSRs device drivers, and on the APIs supported by each device driver or TSR, refer to the Series 7000 System Software Manual for DOS p/n 70-36860-XX.
• POWER7XT.EXE The Power Management Driver TSR API provides operating-system level power management. Use this TSR instead of the POWER.EXE TSR supplied with MS-DOS. While 5-8
Page 71
Terminal Configuration: Edit the Configuration Files
POWER.EXE can be used on the PDT 7500, it cannot be used in conjunction with POWER7XT.EXE, and does not provide as efficient a power management. POWER7XT.EXE requires that XBIOS7XT.EXE is loaded first and will not load unless one of these two files is present. When used on the development PC with XBIOS7XT.EXE, this TSR can be used for testing power management functionality of an application on the development PC.
• XBIOS7XT.EXE This TSR provides extended BIOS-level functionality specific to Series 7000 features. XBIOS7XT.EXE can be loaded on the development PC or the Series 7000 terminal for use in testing and debugging Series 7000 applications on the development PC.
• MOUSE7XT.EXE The Mouse TSR API provides Microsoft Mouse-compatible use to support the use of the pen and digitizer as a mouse. Mouse-aware applications can use this TSR to provide mouse emulation.
• SCN1DQST.EXE and SCN2DQST.EXE The DOS Scanner API provides one- and two-dimensional bar code scanning support and supplies an API for controlling scanning from an application. These TSRs require the presence of POWER7XT.EXE and XBIOS7XT.EXE to load. Additionally, these drivers require the presence of Series 7000-specific hardware, and cannot be loaded on the development PC (even if XBIOS7XT.EXE is loaded).
• WARMBEEP.EXE This application, when loaded on the terminal, causes an audible beep to sound when the defined warm boot time has expired. This is to assist the user in understanding the time when a warm boot occurs. See the Series 7000 System Software Manual for DOS Applications for more information.
CardSoft • CS_APM A TSR that must be loaded to utilize advanced power management functions for CardSoft. This TSR can also be installed in CONFIG.SYS with the CardSoft drivers using the Install command. Note: Do NOT load CS_APM in CONFIG.SYS and AUTOEXEC.BAT.
5-9
Page 72
PDT 7500 Series Product Reference Guide for DOS
• Spectrum24 ODI The Spectrum24 ODI drivers provided by Symbol consist of Novell’s Link Support Layer (LSL), Novell’s TCP/IP, and Symbol’s Multiple Link Interface Driver (MLID) layers. These executables are part of the Spectrum24 NDK for DOS.
• LSL.COM The LSL manages communications between TCP/IP protocol stack and SL8ODIOS. This layer is a component of the Novell Open DataLink Interface (ODI) driver specification.
• TCPIP.EXE This is Novell’s TCP/IP Multiple Protocol Interface (MPI). It supports the Berkeley socket APIs. This layer is a component of the ODI driver specification.
• SL8ODIOS.COM This is the Spectrum24 MLID Network Driver. The MLID layer controls a specific network interface and works below the LSL. The MLID manages the transmission and reception of packets to and from a physical or logical network interface. This layer is a component of the ODI driver specification.
Symbol-Supplied Utilities • PDTSET.EXE A utility that allows various system settings to be altered from AUTOEXEC.BAT. This utility is provided with the source code and an abstract explaining its use in the DOSSAMP\PDTSET directory.
• PDTCHECK.EXE A utility that allows various system conditions to be tested (e.g., trigger, pen, drive letter presence, display size, etc.). This utility is provided with the source code and an abstract explaining its use in the DOSSAMP\PPTCHECK directory. CardSoft is supplied with the Symbol Series 7000 SDK as a series of drivers which are loaded in CONFIG.SYS: ATADRV.EXE
5-10
'(9,&(+,*+ DWDGUY H[H
Page 73
Terminal Configuration: Edit the Configuration Files
CS.EXE
'(9,&(+,*+ FV H[H
CSALLOC.EXE
'(9,&(+,*+ FVDOORF LQL
SS365SL.EXE
'(9,&(+,*+ H[H
CARDID.EXE
'(9,&( FDUGLG H[H
• CSALLOC.INI This file is used by the CSALLOC.EXE driver to allocate memory, I/O, and interrupt resources to PCMCIA cards. Much of the upper memory area is used by the BIOS. This memory must be excluded from use by lines in the CSALLOC.INI file. The default CSALLOC.INI file contains the following memory settings: RIO=2F8-2FF,370-377,3E8-3FF,100-1FFF MEMEXCLUDE=C000-CFFF,D000-DFFF,E000-EFFF
Generally, these lines are constant and should never be changed by the user. The PDT 7500 has IRQ lines dedicated for internal system use, others are available for PCMCIA I/O cards. IRQ 11 and 15 are available to PCMCIA I/O cards; IRQ 3 and 4, although allocated for internal communication ports, can be used by PCMCIA modems when the internal communication ports (COM1 and COM2) are not active. To allow use of an I/O card that requires an IRQ line in a PCMCIA slot, the default CSALLOC.INI contains the following lines: IRQEXCLUDE=0-2,5-9,C-E IRQINCLUDE=A-B,F
This restricts the I/O cards to IRQ lines 10, 11, and 15. In addition to the IRQ lines discussed above, modem cards may also use IRQ lines 3 and 4 for COM3 and COM4, respectively. To use IRQ lines 3 and 4 for modem cards, modify the default CSALLOC.INI (below the resource modification line) to read: IRQEXCLUDE=0-2,5-9,C-E IRQINCLUDE=3-4,A-B,F
Consult the CardSoft 3.1 User’s Guide for more information.
• CARDID.INI Card identification initialization file (base).
5-11
Page 74
PDT 7500 Series Product Reference Guide for DOS
Note:*. CLB includes various card library files used in CARDID.INI to allow automatic recognition and configuration of PCMCIA cards.
Symbol-Supplied Network Configuration Files See the Spectrum24 NDK for DOS for specific network configuration instructions.
5-12