home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-05-31 | 39.0 KB | 1,012 lines |
-
- LOOK2 v2.1 DOCUMENTATION
-
- LOOK2 v2.1 ∞ A 32-bit OS/2 File Viewing Utility ∞
- Copyright (c) 1992, 1993 GCB Software (tm)
- 8511 Selway Drive, Austin, TX 78736
-
-
- >>>>>>>>>>>>>>>>>>>>>>>> SHAREWARE SOFTWARE <<<<<<<<<<<<<<<<<<<<<<<<<
-
- LOOK2 is copyrighted software. You may and are encouraged to copy
- and share it with others as long as it is copied in its entirety
- unmodified and no charge is made for it. If you find LOOK2 useful in
- your OS/2 environment, please send a $25 registration fee along with
- a filled-out registration form to the address below. In return, you
- will receive a lifetime registration number that is valid for this
- and any future versions of LOOK2. Registered users will receive
- notifications by mail when new versions of LOOK2 are available to be
- downloaded.
-
- Although LOOK2 was written with great care and attention (I wrote it
- originally for my own use), it like any other computer program may
- contain bugs. That being the case, I must, reluctantly, make the
- following disclaimer.
-
- %%%%%%%%%%%%%%%%%%%%%%%%%% DISCLAIMER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
- THE USER OF THE PROGRAM BY USING IT AGREES NOT TO HOLD GCB SOFTWARE
- NOR ITS OWNERS NOR ITS EMPLOYEES LIABLE FOR ANY DAMAGE THAT MAY
- HAVE BEEN CAUSED BY EITHER THE PROPER OR IMPROPER FUNCTIONING OR
- BY THE USE OR MISUSE OF THE LOOK2 SYSTEM.
-
- %%%%%%%%%%%%%%%%%%%%%%%% END OF DISCLAIMER %%%%%%%%%%%%%%%%%%%%%%%%
-
- That being said, if you decide to become a registered user of LOOK2,
- PLEASE let me know of any bugs you encounter in LOOK2. I may be
- contacted by mail at the address below. If there is a feature
- that you would like to see changed or added, please don't hesitate to
- let me know. I cannot promise I will be able to implement your
- ideas, but I will do my best.
-
- Gary Bourque
- GCB Software
- 8511 Selway Drive
- Austin, TX 78736
-
-
-
-
-
- TABLE OF CONTENTS
-
-
-
- 1. WHAT'S NEW FOR VERSION 2.1, 2.0 - - - - - - - - - - 1
-
- 2. HOW TO REGISTER FOR LOOK2 - - - - - - - - - - - - 3
-
- 3. INTRODUCTION - - - - - - - - - - - - - - - - - - - 4
- What is LOOK2? - - - - - - - - - - - - - - - - - 4
- LOOK2 Philosophy - - - - - - - - - - - - - - - - - 5
-
-
- 4. RUNNING LOOK2 - - - - - - - - - - - - - - - - - - 6
- Starting LOOK2 - - - - - - - - - - - - - - - - - 6
- Filespec Variations - - - - - - - - - - - - - - - 6
- Directing LOOK2 with the Keyboard and Mouse - - - - 6
- Setting LOOK2 Options - - - - - - - - - - - - - - 7
- The LOOK2FLAGS Environment Variable - - - - - - - 7
- LOOK2 Options - - - - - - - - - - - - - - - - - - 8
-
-
- 5. THE DIRECTORY SCREEN - - - - - - - - - - - - - - - 11
- Directory Screen Option Commands - - - - - - - - - 11
- Directory Screen Action Commands - - - - - - - - - 12
- Directory Mouse Actions - - - - - - - - - - - - - - 14
- Directory Screen Usage Notes - - - - - - - - - - - 14
-
-
- 6. THE FILE SCREEN - - - - - - - - - - - - - - - - - 15
- File Screen Option Commands - - - - - - - - - - - 15
- File Screen Action Commands - - - - - - - - - - - 16
- File Screen Usage Notes - - - - - - - - - - - - - 17
-
-
- 7. OTHER LOOK2 NOTES - - - - - - - - - - - - - - - - 18
-
-
-
-
- 1. WHAT'S NEW FOR VERSION 2.1
-
- Version 2.1 contains bug fixes related to OS/2 2.1.
-
- A. Full-screen session freezes upon program exit.
-
- B. Speed up directory screen light bar in window session.
-
- C. alt-R command added to re-read directory,
- refresh directory screen;
-
-
- WHAT'S NEW FOR VERSION 2.0
- PLEASE NOTE THAT SOME OPTIONS AND COMMANDS HAVE CHANGED.
- Please review the documentation and help screens if you
- have problems. If you are using OS/2 2.0 THIS VERSION REQUIRES
- the IBM OS/2 2.0 fixes in OS/2 2.0 Standard Edition Service Pack
- XR06055 or the mouse and synchronous child session execution will
- not work correctly. SP XR06055 is available from your IBM
- representative and some BBSes.
-
- LOOK2 is, to some extent, a labor of love. The faithful
- registration of a small, but dedicated group of users has
- motivated me to create this new version. These people are
- responsible for providing me with the enthusiasm to continue
- developing and improving LOOK2. Thanks folks!
-
- And thanks to everyone for your comments and suggestions!
-
-
- A. LOOK2 v2.1 is now a 32-bit OS/2 2.x program. As such LOOK2 is a
- faster, cleaner, more elegant program than before. It is also
- larger. This due not only to added functionality, but to the
- fact that 32-bit programs are, as a rule, 25%-30% larger that
- the same program compiled as 16-bit. Please note that
- LOOK2 v2.1 will not run on OS/2 1.x.
-
- B. LOOK2 is now HPFS/IFS compatible. The program supports two
- IFS directory screen modes. One will display one directory entry
- per line, allowing for long file names. This is the default.
- The other screen is identical to the FAT system screen, except
- that long filenames will be compressed. Filenames will be
- compressed as in the following example:
-
- A.long.HPFS.file.name
- will appear as
- A.long.H nam
-
- The entry will still be fully accessible. Use alt-F to toggle
- between display modes. Use the /F option to set your preference.
-
- C. LOOK2 now supports archive content listing capability with six
- default types of archive files (ARC, ARJ, LZH, RAM, ZIP and ZOO).
- You can change the default definitions or add new ones using the
- /C option. You must have the archive programs in your PATH to
- use this feature.
-
-
- - 1 -
-
-
-
- LOOK2 will display the archive listing as a file called $ARC$.LST.
- Whether to delete, keep or "prompt for the fate of" $ARC$.LST is
- controlled by the /A option or alt-A command.
-
- D. LOOK2 now supports changing the basic attributes of directory
- entries. The T command controls this function and works with
- marked entries. View the directory entries in one column mode
- to see their attribute settings.
-
- E. LOOK2 now supports almost as many video lines modes as OS/2
- under SVGA. 3-109 in windowed mode and 12,14,21,23-30,
- 33-34,39-43,45-50,54-60 in fullscreen mode are all valid.
- If you want a good laugh, run LOOK2 after entering MODE 80,3
- in a OS/2 window, or MODE 80,12 in a OS/2 fullscreen.
-
- F. You can now execute DOS .COM, .EXE, and .BAT programs from LOOK2.
- (.EXE programs now do not have to have an .EXE extension)
- You can designate a DOS text editor as your default LOOK2 editor.
-
- G. Ascending and descending sort keys are now supported. Enter a sort
- key in lowercase for ascending; uppercase for descending.
-
- H. Page scrolling in the directory menu with a mouse is now possible
- by left-clicking or left-click-holding the arrows in the upper
- and lower right corners of the screen.
-
- I. Printing has always been possible in LOOK2. It just wasn't
- documented. Just bring up the Copy prompt and copy the entry
- to LPT1 or whatever LPT port you use.
- Try not to print binary files.
-
- J. The alt-O command shells to an OS/2 prompt from the file or
- the directory screen. Uses the shell program specified in
- the OS2_SHELL environment variable in CONFIG.SYS.
-
- K. Mouse clicks on [] prompts will perform that response.
-
- L. New /M option to set mouse-per-second (mousematic) rate.
-
- M. The alt-C command (directory case) have been dropped.
- The /C option now has a new function.
-
- N. Various bug fixes, beautification and cleanup have be performed.
-
-
- - 2 -
-
-
-
- 2. HOW TO REGISTER FOR LOOK2.
-
- LOOK2 IS SHAREWARE. As such, you are expected, if you continue to
- use it after an initial trial period, to register and pay for the use
- of it. What is the length of the trial period? Well, I leave that
- partially up to you and partially up to me. Those of us who have
- used shareware pretty much know when we are done trialing a product
- and have added it to our set of tools. When you reach that point
- with LOOK2, please register. HOWEVER, THIS VERSION OF LOOK2 HAS A
- BUILT-IN EXPIRATION DATE. The period between the release of this
- product and the expiration date is fairly lengthy, allowing plenty of
- time to evaluate this product. If your copy of LOOK2 expires and you
- still wish to continue using it you should purchase the right to do so.
-
- Registration is easy! You will be registered for life and
- you will help all my hard work pay off. Here's what to do:
-
- 1. Fill out a copy of the enclosed order form. Please print
- or type and be complete.
-
- 2. Mail the order form along with a check or money order
- for the total number of copies ordered plus tax, if any.
-
- 3. In as short a time as possible, you will receive a letter
- containing a registration number for each name registered
- along with instructions on how to invoke LOOK2's registration
- process.
-
- 4. When you receive the letter, start up LOOK2 for registration
- and enter your name and number to it. Now you are registered.
-
- 5. As a registered user you will be notified by mail of any new
- versions of LOOK2 and how to download them from a local or
- national bulletin board.
-
- Corporate multi-user accounts are available, please write for prices.
-
- - 3 -
-
-
-
- 3. INTRODUCTION.
-
-
- What is LOOK2?
-
- LOOK2 is a 32-bit text-based OS/2 directory/file viewing and
- manipulation program. I decided to write LOOK2 because I felt
- there were no adequate directory/file tools for OS/2 at that time.
- LOOK2 provides some of the same features of other popular file
- viewers and adds some of its own that none of the others provide.
-
-
- Just some of LOOK2's features are:
-
- o Directory history.
-
- o Mouse support.
-
- o Multiple video modes.
-
- o Full HPFS/IFS directory support.
-
- o Multiple ascending/descending sort key directory sorting
- capability with automatic sorting.
-
- o File viewing in hexadecimal mode.
-
- o Toggling between hex and text mode maintaining file position.
-
- o Direct go to line or offset capability.
-
- o Text editor invocation.
-
- o OS/2 and DOS synchronous or asynchronous program execution.
-
- o Ability to mark and copy, move, delete or change the attributes of
- groups of files and subdirectories at once.
-
- o Deletion of empty or non-empty directories.
-
- o And more!
-
-
- - 4 -
-
-
-
- LOOK2 Philosophy
-
- One of the main features I wanted to include in LOOK2 was the
- ability to "travel" around among files, directories and drives and
- still be able to easily get back where I started. With this in mind,
- I built in a directory history feature that, when enabled, remembers
- each directory you have viewed. Pressing the ESCAPE key from a
- directory screen takes you back to the directory you were in before
- the current one, if one exists.
-
- That being the case, ESCAPE will never cause LOOK2 to terminate.
- ESCAPE is the backout key in LOOK2. If you're like me, you find it
- annoying when ESCAPE is used prominently to move around in a program
- and also causes the program to terminate, because you often exit the
- program unintentionally. So, F10 is the only keystroke that will
- cause LOOK2 to terminate.
-
-
- - 5 -
-
-
-
- 4. RUNNING LOOK2.
-
- Starting LOOK2
-
- LOOK2 is invoked from an OS/2 command prompt by typing
-
- LOOK2 [options] [drive:][path][file]
-
-
- Filespec Variations
-
- If the drive\dir\file (filespec) data is the name of a file, the
- file will be displayed for viewing. If it is a directory, the
- directory will displayed. If it contains valid wildcards, any files
- matching the wildcard will be queued for display and the first
- matching file will be displayed. If no filespec is entered, the
- current directory will be displayed.
-
- If the file or directory cannot be found, LOOK2 displays a message and
- displays the current directory. If the wildcard had no matches,
- LOOK2 displays a message and then goes to the directory screen either
- of the current directory or the directory (if found) included in the
- wildcard spec. Please note that the wildcard portion of the filespec
- is for files, not paths. So, while the following spec is valid...
-
- LOOK2 F:\LOOK2\L*.?
-
-
- This next one is invalid...
-
- LOOK2 F:\LO**\LOOK2.EXE
-
-
-
- Directing LOOK2 with the Keyboard or the Mouse
-
- LOOK2 may be controlled either by a variety of keystrokes or mouse
- actions. To enter a command either press the upper-cased letter of a
- command listed in the top row of a directory or file screen or click
- it with the left mouse button.
-
- To change an option setting either press ALT and the letter of the
- option or click the option (right of 'Op:' on the top row) with the
- left mouse button. When an option is enabled, it will be uppercase;
- when disabled, lowercase. Note, that while directory column count is
- one of the options that can be clicked with the mouse, the
- corresponding keyboard command does not require the ALT key to be
- pressed. Just press 1 through 5 to change the column count.
-
- ESCAPE is the backout key in LOOK2. The right mouse button is
- equivalent to ESCAPE.
-
- In directory viewing mode, the mouse may be used on the arrows in
- the upper and lower right corners of the screen to page scroll.
-
-
- - 6 -
-
-
-
- In file viewing mode, the mouse may be used on the right scroll bar
- to scroll through the file. Also, the cursor may be placed on a text
- item by clicking the left mouse button. This is useful when using
- Microsoft QuickHelp as a monitor under OS/2 since QuickHelp searches
- for the subject at the cursor location when alt-Q is pressed.
-
-
- Setting LOOK2 Options
-
- Any number of LOOK2 options may be included before the filespec. A LOOK2
- option has the following format.
-
- /o[data]
-
- Where o is an option letter or number and data is some required or
- optional data for the option. If the option is of the on/off
- variety, the '+' or '-' sign may be included to override settings in
- the LOOK2FLAGS environment variable, where '+' is on and '-' is off.
- If the '+' or '-' are omitted, '+' is the default. The options do
- not have to be separated by spaces and may be upper or lower case.
- Do not use a '-' in lieu of the '/'. For example to turn off any
- sounds LOOK2 may produce enter:
-
- LOOK2 /B-
-
- Many LOOK2 options correspond to LOOK2 commands to the directory screen
- or file screen or both.
-
-
-
- The LOOK2FLAGS Environment Variable
-
- Any option may be included in the LOOK2FLAGS environment variable.
- When placed there, they will effect any execution of LOOK2. Note that
- command line options always override the environment variable. The
- LOOK2FLAGS environment variable may be set in CONFIG.SYS or in any
- .CMD file you run to initialize command prompt sessions. Do not
- placed filespecs to be viewed in LOOK2FLAGS, only options are
- allowed. For example to turn off sound, place the following in
- CONFIG.SYS or a .CMD file.
-
- SET LOOK2FLAGS=/B-
-
-
- - 7 -
-
-
-
- LOOK2 Options
-
- /1bf Sets border colors where b is the background color and
- f is the foreground color.
-
- Valid colors are:
- Color Value Color Value
-
- Black 0 Dark Grey 8
- Blue 1 Light Blue 9
- Green 2 Light Green A
- Cyan 3 Light Cyan B
- Red 4 Light Red C
- Magenta 5 Light Magenta D
- Brown 6 Light Yellow E
- Light Grey 7 White F
-
- Please note that colors 8-F used for background colors
- will cause the foreground to blink in a full-screen session.
-
- /2bf Sets text colors where b is the background color and
- f is the foreground color.
-
- /3bf Sets marked text colors where b is the background color and
- f is the foreground color.
-
- /A[D|K|P] Dispatch action on listing file produced from an archive
- (e.g. .ZIP) file. D = delete, K = keep, P = prompt.
- Default is 'D'. Corresponding command is alt-A.
-
- /B[+-] Turns beep mode on or off. Defaults are on and '+'.
- Corresponding command is alt-B.
-
- /Cext~pgm~opt1~[optn~]
- Defines an archive file listing program where ext is the
- archive file extension, pgm is the archive program and
- opt(s) are the options (commands) to be passed to the
- archive program. The code for examining an archive is
- not contained in LOOK2. What LOOK2 does is try to execute
- a child program passing it appropriate parameters to
- produce the listing file. You must have the archive
- programs in your PATH.
-
- WARNING! DO NOT DEFINE AN ARCHIVE PROGRAM IN SUCH A WAY
- AS TO CAUSE THE PROGRAM TO PROMPT FOR KEYBOARD INPUT
- DURING EXECUTION. DOING SO WILL CAUSE THE LOOK2 SESSION
- TO LOCK UP.
-
- LOOK2 has six default archive program definitions as follows:
-
- Archive type Program name Options
- ------------ ------------ -------
- ARC ARC2.EXE v
- ARJ ARJ2.EXE l
- LZH LHA2.EXE l /v /o
- RAM LOADRAM2.EXE /G /Q
- ZIP PKUNZIP2.EXE -vn
- ZOO ZOO2.EXE l
-
- As an example, the LZH definition in the /C option would be:
-
- /CLZH~LHA2.EXE~l~/v~/o~
-
- Then, when you execute the Arc command on the LZH directory
- entry FOO.LZH, the following command would be excuted:
-
- LHA2 l /v /o FOO.LZH
-
- OS/2 versions of the archive programs must be used.
- These programs are available at little or no fee from BBS'es
- everywhere. If you have these utilities with different names
- you may rename them or override the default definition using
- /C.
-
- See the /A option, Arc command and the alt-A command.
-
-
- /Dn Sets number of columns in the directory screen where n is
- 1 - 5. The fewer the number of columns the more information
- LOOK2 can display. Corresponding commands are 1, 2, 3, 4, 5.
-
-
- - 8 -
-
-
-
- /Efile~ops~...
- Filespec of text editor program to be invoked when the
- E command is executed and the operands to be passed to it.
- THIS CAN BE A DOS PROGRAM.
-
- Where:
- file - Text editor filespec, may be file name only or
- drive\dir\file. Include the file extension.
- If name only must be in PATH=. Default is EPM.EXE
- ops - Any operands (options) to be passed to the editor.
- Must be separated by '~'.
-
- See the /X option.
-
- /F[+-] IFS (HPFS) directory screen mode. '-' Fully expands long
- filenames (as much as will fit on one line). '+' compresses
- long filenames in a screen that looks like the typical
- LOOK2 screen for FAT file systems. Default is '-'.
- Corresponding command is alt-F.
-
- /I[+-] Turns directory history tracking on or off. Default is on.
- Corresponding command is alt-I.
-
- /K[k|K][f|F][e|E][s|S][d|D][t|T][a|A]
- Directory menu sort keys where possible settings are any
- combination and sequence of:
-
- k or K - Kind (directory or file)
- f or F - File name
- e or E - File extension
- s or S - File size
- d or D - File last write date
- t or T - File last write time
- a or A - File attributes
-
- Lowercase sort key causes ascending sort.
- Uppercase sort key causes descending sort.
- Default is kfe.
-
- /L[+-] Causes (in directory screen) scroll down from bottom or
- scroll up from top to "loop" back to the other end. When
- off, LOOK2 beeps when a scroll passed top or bottom of list
- is attempted. Default is off.
- Corresponding command is alt-L.
-
- /Mn Set mouse-per-second (mousematic) rate. Valid values are
- 1 - 1000. Default is 20.
-
- /Pn Number of seconds LOOK2 displays a message before the message
- is cleared. Valid values are 0 - 9. Zero (0) means the
- message will not be cleared until a keyboard or mouse action
- occurs. Default is 3.
-
- /S[+-] Sets text search case sensitivity. Default is off.
- Corresponding command is alt-S.
-
- - 9 -
-
-
-
- /Tn Set the width of a tab character and a horizontal scroll.
- Valid values are 0-8. Default is 8. The alt-T command
- toggles text display tab expansion on and off.
-
- /Vnn Set video display mode line count. Valid values are many.
- On a SVGA monitor, 3-109 in windowed mode and 12,14,21,
- 23-30,33-34,39-43,45-50,54-60 in fullscreen mode are all
- valid. Default is setting of session when LOOK2 is started.
- Corresponding command is alt-V.
-
- /W[+-] Turn on or off long line wrapping in text file viewing mode.
- Default is off. Corresponding command is alt-W.
-
- /Xn Set default screen type of program executed with the
- X command or the E command. Valid settings are:
-
- 0 - Get definition from the program.
- 1 - Full-screen.
- 2 - Windowed.
- 8 - Whatever LOOK2 is currently running under.
-
- Default is 0. Note that this option is really useful
- to set how to execute window-compatible or DOS programs.
- Obviously, PM programs will always execute as PM
- programs, and non-window-compatible text-based OS/2
- programs will always executed in a fullscreen.
- But, window-compatible text-based OS/2 programs and
- DOS programs will be influenced by this option.
-
- - 10 -
-
-
-
- 5. THE DIRECTORY SCREEN.
-
- The LOOK2 directory screen presents a list of the entries in the
- current directory plus all the drives on your computer. The first
- entry will be highlighted. By using the direction keys or
- single-clicking the mouse, you may highlight any entry. By pressing
- ENTER or double-clicking the mouse on an entry, the entry will be
- opened. That is, either the file will be displayed or the directory
- or drive will be entered and displayed. Some directory screen
- commands operate on the currently highlighted entry.
-
- Directories are identified by an up-arrow or down-arrow prefix.
- Up-arrow indicates the parent directory and will prefix only '..'.
- Down-arrow indicates a subdirectory. Drives are identified by a ':'
- in the second position and always appear last in the display.
-
-
- Directory Screen Option Commands
-
- The settings of the directory screen options are displayed on the
- right side of the top line of the display next to the 'Op:'
- heading. Letter settings in uppercase indicate the option is on;
- lowercase indicates the option is off. The settings 1, 2, 3, 4, 5
- in column 73 indicate the number of directory columns.
-
-
- The setting may be toggled by single-clicking the option setting with
- the left mouse button or by the following keyboard actions.
-
- 1 - 5 - Changes directory menu to the specified number of columns
- The fewer the columns, the more information per entry is
- displayed.
-
- In the one column display the information displayed is:
- Filename Extension Size Date Time Attributes
-
- One column of information above is removed from the right (left
- in IFS mode) for each one column increase in the display.
- Corresponding command line option /D.
-
- alt-A - Toggle archive list file dispatch action. Corresponding
- command line option /A. See also the /C option.
-
- alt-B - Toggle beep on or off. Corresponding command line option /B.
-
- alt-F - Toggle directory screen display type for non-FAT systems.
- Corresponding command line option /F.
-
- alt-I - Toggle directory history on or off. When on, user will be
- able to return to previously visited directories by pressing
- ESCAPE or the right mouse button. Corresponding command line
- option /I.
-
-
- - 11 -
-
-
-
- alt-L - Toggle directory scroll looping on or off. When on, scrolls up
- from top or down from bottom will "loop" to the other end.
- Corresponding command line option /L.
-
- alt-O - Shells to a OS/2 command prompt. Uses the shell program
- specified in the OS2_SHELL environment variable in CONFIG.SYS.
- Enter 'exit' to return to LOOK2.
-
- alt-V - Prompts for video lines mode. Corresponding command line
- option /V.
-
-
- Directory Screen Action Commands
-
- For commands in upper and lower case, the upper case letter is the command
- hot key.
-
- HOME, END, UP, DOWN, LEFT, RIGHT, PAGE-UP, PAGE-DOWN
- - Move light bar to highlight an entry name.
-
- ENTER - Go to a new drive or directory or open a file for viewing.
-
- INSERT - Marks the current entry for group copy, move or delete.
- Parent directories and drives cannot be marked. When
- a entry is marked, a flashing check mark will appear
- between the filename and its extension.
-
- DELETE - Unmarks the current entry.
-
- alt-INSERT - Marks all entries.
-
- alt-DELETE - Unmarks all entries.
-
-
- Arc - Prompts whether to create a listing file of the current
- entry. You may change the current archive programs
- options at this point. If LOOK2 cannot determine the
- archive's type from its extension, it will prompt you
- for it. See /A option, the /C option and the alt-A
- command.
-
- ATtr - Prompts for new basic attributes of the current entry
- or marked entries. Enter any of the following:
-
- A or a -- Archive
- H or h -- Hidden
- S or s -- System
- R or r -- Read-only
-
- Uppercase turns the attribute on; lowercase turns it off.
-
- Copy - Prompts the user for a location (directory or file)
- and copies the current entry or the marked entries to
- the location the user specifies.
-
- Delete - Prompts the user for verification and deletes
- current entry or the marked entries.
-
-
- - 12 -
-
-
-
- Edit - Invokes the editor specified in the /E option (or
- EPM.EXE if /E not entered) to edit the current entry.
- Directories and drives cannot be edited. See the /E and
- /X options.
-
- eXec - Prompts for arguments to the OS/2 or DOS program entry
- and whether or not the program should be executed
- asynchronously then the executes the current entry
- if it has a .EXE, .COM, .CMD or .BAT extension.
- (.EXE programs do not have to have an .EXE extension.)
- If the program is executed synchronously, the program
- must terminate before control will return to LOOK2. If
- executed asynchronously, the program executes completely
- separate of and continues to execute even after LOOK2
- terminates. See the /X option.
-
- mKdir - Prompts for a new directory name and creates it.
-
- sPec - Prompts for a new filespec (directory, file or wildcard)
- and displays it.
-
- Move - Prompts the user for a location (directory or file)
- and moves the current entry or the marked entries to
- the location the user specifies.
-
- Rename - Prompts the user for a new name and renames the
- current entry to that name.
-
- Sort - Prompts the user for sort keys and sorts the current
- directory display accordingly. Multiple sort keys are
- allowed. Drive letters are not included in the sort.
- Possible values are any combination and sequence of:
-
- k or K -- Kind (directory or file)
- f or F -- File name
- e or E -- File extension
- s or S -- File size
- d or D -- File last write date
- t or T -- File last write time
- a or A -- File attributes
-
- Lowercase sort key causes ascending sort. Uppercase
- sort key causes descending sort. The default is kfe.
- Once sort keys are entered, they are active for any new
- directory LOOK2 displays until they are changed or
- cleared. If you request a sort but enter no keys
- (i.e just press enter), the current sort keys are
- cleared and no sorting is performed until new sort
- keys are entered.
-
- ESCAPE - Go to previous directory in history.
-
- F1 - Display help screens.
-
- F10 - Terminate LOOK2.
-
-
- - 13 -
-
-
-
- Directory Mouse Actions
-
- Left click commands to execute.
-
- Left click options to toggle.
-
- Left click a directory entry to highlight it.
-
- Left double-click a directory entry to open a file or enter a
- directory or drive.
-
- Left-click or left-click-hold arrows in upper and lower right
- corners to page scroll.
-
- Left-click on [] prompts (e.g. [Y]/[n]) will execute that response.
-
- Right click is the same as ESCAPE.
-
-
-
- Directory Screen Usage Notes
-
-
- To print, Copy the entry to LPT1 or whatever LPT port you use.
-
- If a subdirectory is the object of a copy command, then the target
- name entered will be an existing or new directory.
-
- Only the Attribute, Copy, Move and Delete commands can be operated
- upon marked entries. Other commands can be executed upon the current
- entry while entries are marked. But, be aware: Some commands force a
- re-read of the directory which clears all marks.
-
- Group copies to a file target do NOT concatenate, so there is no
- reason to do this.
-
- Moves across drives are not allowed. Use the Copy, then the Delete
- commands.
-
- If a file has the read-only attribute set, LOOK2 will notify the user
- upon a delete request, but will carry out the deletion if the user
- desires.
-
- If you try to delete a non-empty directory, LOOK2 will warn you that you
- are about to do so. You may then abort or proceed with the deletion.
-
- Pressing ESCAPE or clicking the right mouse button will clear a dialog
- box and abort the corresponding function.
-
- Pressing ESCAPE or clicking the right mouse button will cause LOOK2 to
- go to the previously displayed directory.
-
-
- - 14 -
-
-
-
- 6. THE FILE SCREEN.
-
- The LOOK2 file screen presents a single file to be viewed. The
- direction keys or mouse actions on the scroll bar on the right may be
- used to scroll through the file. The file may be displayed in either
- text or hex mode. Lines may be wrapped if desired.
-
-
- File Screen Option Commands
-
- The settings of the files screen options are displayed on the right
- side of the top line of the display next to the 'Op:' heading.
- Letter settings in uppercase indicate the option is on; lowercase
- indicates the option is off. The settings 1, 2, 3, 4, 5 in column 73
- indicate directory column count.
-
- A setting may be toggled by single-clicking the option setting with
- the left mouse button or by the following keyboard actions.
-
- alt-B - Toggle beep on or off. Corresponding command line option /B.
-
- alt-H - Toggle hex display on or off.
-
- alt-O - Shells to a OS/2 command prompt. Uses the shell program
- specified in the OS2_SHELL environment variable in CONFIG.SYS.
- Enter 'exit' to return to LOOK2.
-
- alt-S - Toggle case sensitivity of text searches.
- Corresponding command line option /S.
-
- alt-T - Toggle expansion of tabs on or off. The tab width is
- set by the /T option. Default is 8.
-
- alt-W - Toggle line wrap on or off. Corresponding command line
- option /W.
-
- alt-V - Prompts for video lines mode. Corresponding command line
- option /V.
-
-
- - 15 -
-
-
-
- File Screen Action Commands
-
- For commands in upper and lower case, the upper case letter is the command
- hot key.
-
- HOME, END, UP, DOWN, LEFT, RIGHT, PAGE-UP, PAGE-DOWN
- - Scroll through file.
-
- alt-LEFT - Go to column one.
-
- Goto - Prompts for a line number in text mode or a hex or
- decimal offset in hex mode and goes to it.
-
- sPec - Prompts for a new filespec (directory, file or wildcard)
- and displays it.
-
- Quit - Go to next file in wildcard match list if wildcard
- was input. Goes to directory screen if at end of
- end of wildcard list or no wildcard was input.
-
- ESCAPE - Go to directory menu.
-
- F1 - Display help screens.
-
- F2 - Prompts for a string and then searches forward for it
- starting at the current position. Use alt-S to turn
- case sensitivity on or off.
-
- F3 - Searches again for the last input string. Case sensitivity
- may be toggled in between searches.
-
- F10 - Terminate LOOK2.
-
-
- File Mouse Actions
-
- Left click commands to execute.
-
- Left click options to toggle.
-
- Double left click scroll bar arrows to go to the top or bottom of
- the file.
-
- Left click or left click and hold on arrows to scroll up or down a
- line at a time.
-
- Left click or left click and hold on scroll bar body above or below
- elevator to scroll up or down a page at a time.
-
- Left click on text to place cursor. This is useful when running
- QuickHelp as a monitor since QuickHelp will do an automatic search on
- the subject above the cursor when alt-Q is pressed.
-
- Right click is the same as ESCAPE.
-
-
- - 16 -
-
-
-
- File Screen Usage Notes
-
- Files with certain extensions will be brought up initially in hex mode.
- The currently supported extensions are:
-
- .EXE
- .COM
- .DLL
- .OBJ
- .LIB
- .SYS (except CONFIG.SYS)
- .DRV
- .BIN
- .FNT
- .BMP
- .GIF
- .ARC
- .ARJ
- .LZH
- .RAM
- .ZIP
- .ZOO
- .INI
- .IFS
-
- When wrap mode is on, scroll actions still move by the text line. So,
- if a line is wrapped once, scrolling passed it will cause the LOOK2 to
- scroll two screen lines.
-
- Toggling between text and hex modes will keep the current file
- position. When you toggle from hex to text mode after scrolling in
- hex mode LOOK2 must search for the current position from the top or
- bottom of the file in order to determine the line number. So, there
- may be a slight delay when viewing large files.
-
- Searches done from hex mode will place the display in text mode.
-
- Text marks set on file searches are cleared when a message is cleared.
-
- Use the Goto command to move to a line number in text mode or a hex or
- decimal offset in hex mode.
-
- Pressing ESCAPE or clicking the right mouse button will clear a dialog
- box and abort the corresponding function.
-
- Pressing ESCAPE or clicking the right mouse button will cause LOOK2 to
- go to the current directory display.
-
-
- - 17 -
-
-
-
- 7. OTHER LOOK2 NOTES
-
-
- LOOK2 uses a separate thread to clear messages displayed upon the
- screen. The /P command sets the number of seconds LOOK2 displays a
- message before clearing it. Valid setting are 0 through 9. Zero (0)
- turns off timed message clearing. The default is 3 seconds.
-
- If a message is displayed, any keystroke or mouse action will clear
- it immediately. The action will then be carried out. The exception
- is ESCAPE (and right mouse button). If these are input when a message
- is displayed, the message is cleared, but the ESCAPE action is not
- carried over to the parent screen. So, ESCAPE can be used to clear a
- message at any time. NOTE: Some special messages cannot be cleared
- by a keystroke, but will clear themselves in a second or two.
-
- - 18 -