home *** CD-ROM | disk | FTP | other *** search
INI File | 1992-03-28 | 12.0 KB | 303 lines |
- - 1 -
- Sat 28-March-1992
-
- About TSUTLD in General (All rights reserved)
- =======================
-
- This is the fourth package in my utilities series. TSUTLD is a
- stand-alone companion to TSUTIL, TSUTLB, TSUTLC, and TSUTLE.
- Although this TSUTLD set is for any type of PC, it is somewhat
- inclined towards utilities with a laptop flavor.
-
- This package may be used and distributed freely for NON-COMMERCIAL,
- NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in
- any way. (Repacking with another method is ok, though.) For ANY
- other usage, such as use in a business enterprise or a university,
- contact the author for registration. Uploading to bulletin boards is
- encouraged. Please do not distribute any part of this package
- separately.
-
- The programs are under development. Comments and contacts are
- solicited. If you have any questions, please do not hesitate to use
- electronic mail for communication.
- InterNet address: ts@chyde.uwasa.fi (preferred)
- Bitnet address: SALMI@FINFUN.BITNET
- Funet address: GADO::SALMI
-
- The author shall not be liable to the user for any direct, indirect
- or consequential loss arising from the use of, or inability to use,
- any program or file howsoever caused. No warranty is given that the
- programs will work under all circumstances.
-
- Timo Salmi
- Professor of Accounting and Business Finance
- School of Business Studies, University of Vaasa
- P.O. BOX 297, SF-65101 Vaasa, Finland
-
-
- Timo Salmi UTiLities set D, release 1.9 (TSUTLD19) includes the
- * * ** * * * *
- following utility-type programs:
-
- TSUTLD19 Fourth set of Utilities, T.Salmi
- Filename Comment
- -------- --------------------------------
- ADJCURS.BAT Batch shell for adjusting cursor
- BIGCURS.EXE Make the cursor better visible
- BIGNCURS.EXE NonResident temporary big cursor
- CAPS.EXE Get/set keyboard toggles
- FILES.EXE Summary of your different files
- KEYRATE.EXE Set keyboard repeat rate & delay
- POPSCR.EXE Pop screen from image file
- PSK.EXE Dis/enable the PrintScreen key
- PUSHSCR.EXE Push screen to image file
- SETPRT.EXE Set PrintScreen retry times
- SWITCHAR.EXE Makes Unix freaks feel at home
- TODAY.EXE Scan disk for files made today
- TSPROG.INF List of PD programs from T.Salmi
- TSUTLD.INF Document
- TSUTLD.NWS News announcements about tsutld
- VAASA.INF Info: Finland, Vaasa, U of Vaasa
- WARMBOOT.EXE Reboot without memory tests
- ---- ------ ------ -----
- 0017
-
-
- - 2 -
-
- ADJCURS.BAT Adjust cursor size
- ===========
-
- Usage: ADJCURS choice
- where the choice must be 1-7:
- 1 Big resident cursor
- 2 Medium resident cursor
- 3 Big transient cursor
- 4 Medium transient cursor
- 5 Restore original cursor for 1 and 2
- 6 Restore original cursor for 3 and 4
- 7 Map the resident programs
-
- Although BIGCURS.EXE and BIGNCURS.EXE can be used without further
- utilities, to use *this batch* you must have the TSR Utilities from
- TurboPower Software. In particular you'll need the programs
- MARK.EXE, RELEASE.EXE, and MAPMEM.EXE. Another utility that is
- necessary for this batch, is RESET.EXE by Timo Salmi. RESET restores
- the original screen settings. You should be able to obtain them by
- downloading TSRCOM33.ZIP and TSUTIL35.ZIP (or later) from any
- well-stocked BBS or FTP site, such as garbo.uwasa.fi, 128.214.87.1,
- Vaasa, Finland.
- ┌───────────────────────────────────────────────────────────────┐
- │ Warning: It is not advisable to load the resident cursor more │
- │ than once. │
- └───────────────────────────────────────────────────────────────┘
-
- Hint: First experiment with BIGNCURS.EXE to find the cursor size you
- prefer, and then apply BIGCURS.EXE.
-
- Release notes: Release 1.1: I have now tested the programs with
- several video adapters. I have added the option to give the
- starting scan line of the cursor as a numerical parameter. For
- example to get a medium size cursor you can alternatively use
- BIGCURS 3
- or whatever is best applicable on your system. Another improvement,
- thanks to Erik Jacobsen, is that the BIGCURS.EXE program releases
- the timer interrupt for the other resident programs that may be
- running. Thus the other TSRs that may use the timer, are not frozen
- by bigcurs.
-
-
- CAPS (Ver. 1.1) Get/set keyboard toggles
- ===============
-
- Usage : CAPS [get] [c+│-] [n+│-] [s+│-] [/b]
- only get status ─┘ │ │ │ │
- set CapsLock ─┘ │ │ │
- set NumLock ─┘ │ │
- set ScrollLock ─┘ │
- batch mode, no output ─┘
-
- The purpose of this program is to set and/or report the state of the
- keyboard toggles. This is useful in special situations such as in
- batch files when the state of these toggles need to be controlled,
- or if there are no keyboard leds, or if there is something wrong
- with the keyboard keys or leds.
-
- The output will be in the format:
- CapsLock OFF
- NumLock ON
- Insert OFF
- ScrollLock OFF
-
-
- FILES (Ver. 1.2) Summary of your different files
- ================
-
- Where does all your precious disk space go? FILES.EXE can be used to
- answer this question. It gives the following type of statistics
- (this is for my laptop's ramdisk):
-
- Type Count Size Allocation Efficiency
- . 1 419 512 81.84
- .COM 4 13473 13696 98.37
- .EXE 3 106212 106368 99.85
- .TPU 1 15536 15616 99.49
- Total D: 9 135640 136192 99.59
-
- The statistics can be sorted by any of the fields:
-
- Usage: FILES [device:]
- [/n(o sort)] (the default sort is by extension)
- [/c(ount sort)]
- [/s(ize sort)]
- [/a(allocation sort)]
- [/e(fficiency sort)]
- [/r(everse sort)]
- or: FILES ?
-
- Hint 1: If you have several partitions on your harddisk, and want to
- assess the overall file usage, apply MsDos join command before
- running files.exe. See your MsDos manual for using join.
-
- Hint 2: FILES does not include a switch for page by page scrolling
- since this is easily achieved by proper filtering. For example use
- FILES | MORE or better still, if you have Veron Buerg's well-known
- list program, use FILES | LIST /S.
-
- Release notes:
- Version 1.2: If the files are sorted by count (/c), size (/s), or
- allocation (/a), the percentage of each file type is shown as an
- additional column. - The capacity of the program has been increased
- from 2500 different file types to 3000.
-
-
- POPSCR.EXE (Ver 1.0) Pop screen from image file saved by PUSHSCR
- ====================
-
- Usage: POPSCR ImageFileName
-
- For batch programming, returns errorlevel 1 if operation
- unsuccessful, else 0.
-
-
- PUSHSCR.EXE (Ver 1.0) Push screen to image file
- =====================
-
- Usage: PUSHSCR ImageFileName [/o]
- overwrite if already exists ─┘
-
- For batch programming, returns errorlevel 1 if operation
- unsuccessful, else 0.
-
-
- KEYRATE (Ver. 1.0) Set keyboard repeat rate & delay
- ==================
-
- Usage: KEYRATE DelayCode RepeatRateCode [/b]
- └─ batch mode, no output
-
- When a key is held down there is a default delay before it starts
- repeating, and then the key repeats at a default rate. KEYRATE
- resets both the delay, and the repeat rate. The facility is useful
- e.g. when you want to speed up the cursor movement by incresing the
- repeat rate. Or if you have a faulty keyboard striking ddoouubble,
- you can try a temporary remedy by increasing the delay. The
- facilities used in this program do not work for XTs and older ATs.
- The delay and the rate are coded as follows:
- code delay (ms) code rate (chars per sec)
- 0 250 0 30.0
- 1 500 1 26.7
- 2 750 2 24.0
- 3 1000 3 21.8
- 4 20.0
- : :
- 30 2.1
- 31 2.0
- KEYRATE recognizes the type of your processor chip and ROM BIOS
- version and informs whether the program is likely to have an effect
- or not.
-
-
- PSK (Ver. 1.0) Dis/enable the PrintScreen key
- ==============
-
- PSK.EXE was added to this collection in release TSUTLD14.arc.
- Running PSK disables your PrintScreen key. It works as a toggle.
- Running PSK again reverses the process and enables the PrintScreen
- key. This is a utility that is particularly useful on laptops with
- cramped keyboads where you want to avoid the consequences of an
- accidental hitting of the PrintScreen key. Internally, PSK works by
- manipulating the contents of the memory location 0000:0500 Hex.
-
-
- SETPRT (Ver 1.0) Set PrintScreen retry times
- ================
-
- Usage: SETPRT [RetryTimes]
-
- If your printer is offline and you hit the PrintScreen key by
- accident, (depending on your hardware) you may be in for an annoying
- wait while your computer goes through its (default 20) recycles of
- retrying the printing. You can use this program to reset the times
- your computer retries PrintScreen before your computer accepts input
- again. Notice that some systems detect the printer's offline status
- immediately, others don't. You'll need setprt in the former case.
- For example I have a Zenith Z-181 laptop as one of my PCs, and I
- find it useful to reset the retry times to 3 from the autoexec.bat.
- On the other hand, I don't need this trick on my Trifunic 386
- desktop, since it detects the offline condition of the printer as
- soon as I apply the PrintScreen key.
-
- Hint: Using an excessively small value, like 1, may cause problems
- by giving too hasty offline feedback to some programs.
-
-
- SWITCHAR Toggle the switch character
- ========
-
- In our series of completely useless programs please meet switchar
- for Unix freaks. Switchar toggles the MsDos switchar between the
- slash (/) and the hyphen (-). When the switchar is the hyphen, the
- slash can be used in path names instead of the backslash (\). Have
- fun.
-
- Example: You can use expressions like dir -w c:/progs/yak
-
- Warning: Using the hyphen as switchar may have unexpected effects on
- some programs.
-
-
- TODAY (Ver. 1.2) Scan disk for files made today
- ================
-
- Usage: TODAY DirectoryMask [/the options (see below)]
- /Bxx since xx days Back
- /Dddmmyy since ddmmyy
- /E only Exact date (else date and later)
- /N No recursion (else all files in the default directory and below)
-
- Examples:
- To scan the entire disk: TODAY C: or TODAY C:\
- To scan the current directory and its subdirectories: TODAY *.*
- To scan the Pascal files for today and yesterday: TODAY C:\*.PAS /B1
-
- Hidden files are indicated by h, and read-only files by r.
-
- Release notes:
- Version 1.2: Corrected a file mask bug in formats like TODAY . and
- TODAY D: when used from another drive like C:.
-
-
- WARMBOOT (Ver. 1.0) Reboot without memory tests
- ===================
-
- Reboot your PC as if alt-crtl-del had been pressed.
-
- Usage: WARMBOOT [/b] [/e] [/n] [/t]
- batch mode ─┘ │ │ │
- execute ─┘ │ │
- no confirmation ─┘ │
- test only, don't actually reboot─┘
-
- If there are errors, errorlevel is set to 1 for batch usage.
-