Category : File Managers
Archive   : XLIST264.ZIP
Filename : XLIST.PRO

 
Output of file : XLIST.PRO contained in archive : XLIST264.ZIP

//
// Set XLIST to go into idle mode (sleep) after 5 seconds, checking
// every 2000 milliseconds for user input. (OS/2 Version)
//
//*KEYWAIT 5
//*SLEEP 2500
//
// Load the directory tree at startup of XLIST
//
*TREE OFF
//
// The default keyboard is STANDARD (PC-DOS Version)
//
//*KEYBOARD ENHANCED
//
// The default menu is the LEFTSHIFT & RIGHTSHIFT
//
*HOTKEY RIGHTSHIFT LEFTSHIFT
//
// Disable mouse interface when set OFF.
//
*MOUSE ON
//
// When changing the attributes of a sub-directory, do you want to change
// all of the directories sub-directories?
//
*ALLATTR ON
//
// Sort the directories as a default by extension.
//
//*SORT D
//
// When using PC-DOS, shrink XLIST to 7K by paging XLIST.EXE out to disk
// pointed to by the TMP= environment parameter or EMS (expanded) memory.
//
//*OVERLAY OFF
//
// Turn the copyright statement ON or OFF the initial screen.
//
*LOGO OFF
//
// Size of the area to store previously entered directories.
//
*PATHSZ 200
//
// Logical command separator character.
//
*LINEEND ~
//
// Number of directory entries (Maximum: 800)
//
*ENTRIES 300
//
// Reload the function keys from XLIST.PRO when found in a directory.
// Maybe used to have different function keys per directory.
//
*PFREF OFF
//
// Suppress SNOW on screen for CGA monitors by setting the RETRACE to ON.
//
*RETRACE OFF
//
// Available modes for EGA/VGA display adapters using the Alt-e keystroke
// where three (2) parameters are passed separated by a comma. The first
// parameter is the menu title & second is the font file. (Note: The entries
// are commented and not active. Should change the font filenames to full
// drive+path+filenames for faster access.)
//
//*VGAMODE " 30-Line Mode ", "xli30s.fnt"
//*VGAMODE " 33-Line Mode ", "xli33s.fnt"
//*VGAMODE " 36-Line Mode ", "xli36s.fnt"
//*VGAMODE " 44-Line Mode ", "xli44s.fnt"
//*VGAMODE " 50-Line Mode ", "xli50s.fnt"
//*VGAMODE " 25-Line Mode ", "xli25s.fnt"
//
// Reset the search argument to *.* when changing directories.
//
*DIRCLEAR ON
//
// Don't even try to check for TOPVIEW when set OFF. Some video drivers will
// lockup if we try to check, such as the VIDEO7 drivers.
//
*TOPVIEW OFF
//
// Amount of memory to use for COPY command buffers.
//
*BUFSIZE 32000
//
// Use the PC-DOS commands when disabled from XLIST
//
*DISABLE RMDIR
*DISABLE MKDIR
*DISABLE CHDIR
*DISABLE DEL
//
// Set the function keys for the F1 thru F10 function keys
//
*PFKEYS 1 (ECH) ECHO $F
*PFKEYS 2 (KED) KEDIT $F
*PFKEYS 3 (LIS) LIST $F
*PFKEYS 4 (/SD) /SD
*PFKEYS 5 (TRE) /TREE
*PFKEYS 6 (NXT) /+1
*PFKEYS 7 (PRE) /-1
*PFKEYS 8 (EXE) /EXE
*PFKEYS 9 (BAC) /BD
*PFKEYS 10 (CAN) /CAN
//
// Set the function keys for the Shift-F1 thru Shift-F10 function keys
//
*PFKEYS S1 (SHF) /c/oECHO XLIST Test of Macros ~/oECHO ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ~ECHO PATH= $P~/oECHO DOLLAR= $$~ECHO NAME= $N~ECHO EXT= $E~ECHO PATH+NAME= $F~ECHO FILENAME= $~ECHO DRIVE= $D~ECHO PATH= $P\$~ECHO ARCHIVE= $A~pause
*PFKEYS S2 (KED) X $F
*PFKEYS S3 (LIS) LIST $F
*PFKEYS S4 (NCD) NCD /O
*PFKEYS S5 (ARC) /EXP
*PFKEYS S6 (DSP) /DSPF
*PFKEYS S7 (/BD) /BD
*PFKEYS S8 (LOC) /FIND
*PFKEYS S9 (EXE) /EXE
*PFKEYS S10 (CAN) /CAN
//
// Set the function keys for the Alt-F1 thru Alt-F10 function keys
//
*PFKEYS A1 (ALT) /o/cECHO ALT FUNCTION KEYS~pause
*PFKEYS A2 (KED) X $F
*PFKEYS A3 (LIS) LIST $F
*PFKEYS A4 (LOC) /FIND
*PFKEYS A5 (DOS) DOS
*PFKEYS A6 (DSP) /DSPF
*PFKEYS A7 (LOC) /FIND
*PFKEYS A8 (EXE) /EXE
*PFKEYS A9 (XCO) /FIND=XCOPY.EXE
*PFKEYS A10 (PRO) /o/cX \XLIST\XLIST.PRO
//
// Set the function keys for the CNTL-F1 thru CNTL-F10 function keys
//
*PFKEYS C1 (CNT) /o/cECHO CNTL FUNCTION KEYS~pause
*PFKEYS C2 (KED) X $F
*PFKEYS C3 (LIS) LIST $F
*PFKEYS C4 (LOC) /FIND
*PFKEYS C5 (DOS) DOS
*PFKEYS C6 (DSP) /DSPF
*PFKEYS C7 (END) /END
*PFKEYS C8 (LOC) /FIND
*PFKEYS C9 (BAC) /BD
*PFKEYS C10 (CAN) /CAN
//
// Set what to execute when based on different file extensions
//
*EXECUTE *.ZIP /ZIP
*EXECUTE *.LZH /LZH
*EXECUTE *.GIF VUGIF
*EXECUTE *.ARC /ARC
*EXECUTE *.CMD /EXE
*EXECUTE *.WP5 wp $F /c/s
*EXECUTE *.BAT /EXE
*EXECUTE *.EXE /EXE
*EXECUTE *.COM /EXE
*EXECUTE * LIST $F
*EXECUTE *.* LIST $F
//
*EXECUTE-ZIP * /cPKUNZIP -o $A %TEMP% $~LIST %TEMP%$~ERASE %TEMP%$
*EXECUTE-ZIP *.* /cPKUNZIP -o $A %TEMP% $~LIST %TEMP%$~ERASE %TEMP%$
//
*EXECUTE-LZH * /cLHA e $A $~list %TEMP%$~ERASE %TEMP%$
*EXECUTE-LZH *.* /cLHA e $A $~list %TEMP%$~ERASE %TEMP%$
//
*EXECUTE-ARC * /cPKXARC -r $A %TEMP% $~LIST %TEMP%$~ERASE %TEMP%$
*EXECUTE-ARC *.* /cPKXARC -r $A %TEMP% $~LIST %TEMP%$~ERASE %TEMP%$
//
// Set the function keys for the F1 thru F10 function keys (for .ZIP directories)
//
*PFKEYS-ZIP 1 (ZIP) /o/cECHO ZIP FUNCTION KEYS~pause
*PFKEYS-ZIP 2 (KED) /CPKUNZIP -o $A %TEMP% $~X %TEMP%$~PKZIP -U $A %TEMP%$~ERASE %TEMP%$
*PFKEYS-ZIP 3 (LIS) /cPKUNZIP -o $A %TEMP% $~LIST %TEMP%$~ERASE %TEMP%$
*PFKEYS-ZIP 4 (DEL) /CPKZIP -D $A $
*PFKEYS-ZIP 5 (EXT) /CPKUNZIP -o $A $
*PFKEYS-ZIP 6 (VIE) /CPKUNZIP -cm $A $~PAUSE
*PFKEYS-ZIP 7 (PRT) /CPKUNZIP -P $A $
*PFKEYS-ZIP 8 (EXE) /EXE
*PFKEYS-ZIP 9 (BAC) /BD
*PFKEYS-ZIP 10 (CAN) /CAN
//
// Set the function keys for the F1 thru F10 function keys (for .ARC directories)
//
*PFKEYS-ARC 1 (ARC) /o/cECHO ARC FUNCTION KEYS~pause
*PFKEYS-ARC 2 (KED) /CPKXARC -R $A %TEMP% $~X %TEMP%$~PKARC U $A %TEMP%$~ERASE %TEMP%$
*PFKEYS-ARC 3 (LIS) /cPKXARC -R $A %TEMP% $~LIST %TEMP%$~ERASE %TEMP%$
*PFKEYS-ARC 4 (DEL) /CPKARC D $A $
*PFKEYS-ARC 5 (EXT) /CPKXARC -R $A $
*PFKEYS-ARC 6 (VIE) /CPKXARC -C $A $~PAUSE
*PFKEYS-ARC 7 (PRT) /CPKXARC -P $A $
*PFKEYS-ARC 8 (EXE) /EXE
*PFKEYS-ARC 9 (BAC) /BD
*PFKEYS-ARC 10 (CAN) /CAN
//
// Set the function keys for the F1 thru F10 function keys (for .LZH directories)
//
*PFKEYS-LZH 1 (LZH) /o/cECHO LZH FUNCTION KEYS~pause
*PFKEYS-LZH 2 (KED) /CLHA e $A %TEMP% $~X %TEMP%$~LHA u $A %TEMP%$~ERASE %TEMP%$
*PFKEYS-LZH 3 (LIS) /cLHA e $A %TEMP% $~LIST %TEMP%$~ERASE %TEMP%$
*PFKEYS-LZH 4 (DEL) /cLHA d $A $
*PFKEYS-LZH 5 (EXT) /c/pLHA e $A $
*PFKEYS-LZH 6 (VIE) /cLHA p $A $~PAUSE
*PFKEYS-LZH 7 (PRT) /cLHA e $A %TEMP% $~copy %TEMP% lpt1$~ERASE %TEMP%$
*PFKEYS-LZH 8 (TRE) /TREE
*PFKEYS-LZH 9 (BAC) /BD
*PFKEYS-LZH 10 (CAN) /CAN