home *** CD-ROM | disk | FTP | other *** search
- I've found a couple of things I'd like changed in my HP200LX. Fortunately,
- both of them are fixable through software.
-
- One is the size of the cursor. The default cursor, a small blinking
- underline, is just about invisible in the middle of a screen full of text,
- particularly when the screen is in the 80X25 mode--and of course, the 80 X 25
- mode is the one I use most of the time.
-
- This one is easy to fix. It turns out that the PIM applications don't change
- the shape of the cursor, and neither do most of the programs I use. Because
- of this, setting the cursor to a more visible form just after the machine boots
- makes it more visible in the PIM, System Manager, and in my DOS apps.
-
- There are heaps of programs out there to change the cursor on CGA screens,
- Undeterred, and noticing that there weren't any on the standard HPLX
- FTP sites, I decided to write one and contribute it to the HPLX community.
-
- The program is CURSOR.COM. It allows you to control which rows of the text
- line the top and bottom of the cursor are on. The CGA text line has 8 rows,
- numbered from 0, at the top, to 7, at the bottom. CURSOR can be run in three
- ways:
-
- c>cursor
-
- Running it like this, with no parameters, gives you 2 things: a help message
- and a cursor that is a large blinking block, much easier to see than the
- default cursor.
-
- Running it with a single parameter, a single-digit number between 0 and 7, ie:
-
- a>cursor 4
-
-
- sets the *top* row of the cursor to the row number specified, and the bottom
- row to row 7. The example above will produce a cursor that is a sort of
- thick underline.
-
- If you want to get really strange, you can run CURSOR with 2 parameters,
- both single-digit numbers between 0 and 7. The first number still sets
- the row for the top of the cursor. The second sets the row for the bottom
- of the cursor. So, for example, a line like:
-
- a>cursor 0 1
-
- will produce a cursor that is a thin blinking line at the *top* of the text
- line, while
-
- a>cursor 3 5
-
- will produce a cursor that is a medium-heavy blinking line at the center of
- the text line.
-
- Three things you should know about the parameters: first,they should be
- just as I've shown above--one space, the first parameter, another space,
- and the second. More or less spaces will make the program fail to read
- them correctly. Second, entering things other than digits 0-7 as
- parameters will not damage anything, but may produce strange-looking
- cursors, or an invisible cursor. Third, setting the top line lower than the
- bottom line can also make for an odd-looking cursor.
-
- I suggest putting just the command CURSOR, with no parameters, on a line
- by itself near the end of your autoexec.bat file (but before the '200' or
- '100' that starts the system manager) on the RAM drive. That will set
- a big cursor that will persist in all PIM applications, and in DOS
- windows opened using the System Manager, Filer, or by exiting the System
- Manager.
-
- If some uncooperative DOS program resets the size of the cursor, you can
- get the big cursor back by running CURSOR again from the DOS command line.
- If the cursor size is changed in a DOS window opened from the SysManager
- or the filer, the changed size will only affect that DOS session. To change
- it for all DOS sessions and PIM applications, it must be changed before the
- system manager is started, or you must use More, Menu, Application, Terminate
- all to exit the SysManager, change the cursor, then restart the SysManager.
-
- It is sometimes possible to patch uncooperative DOS apps so they don't
- resize the cursor--I've done this with Turbo Pascal 5.5. Many word
- processors actually let you set the size and shape of the cursor
- by changing options in their setups.
-
- Enjoy.
-
- Ross Alford
- ross.alford@jcu.edu.au
-
- ObDisclaimer: By the way, I totally disclaim any liability for any problems
- that may arise from the use of this software.
-
- This documentation and the associated program are both Copyright 1994 by
- Ross A. Alford. All commercial rights are reserved. The program and this
- documentation may be freely copied and used, and may be redistributed for non-
- commercial purposes. It may be distributed through the downloadable archives
- of bulletin boards and commercial information services. Sale of this software
- and documentation for any more than a fee sufficient to recover the costs of
- media, or inclusion of it in any commercial compilation of software, is
- prohibited without the permission of the copyright holder, who may be
- contacted at:
-
- Ross A. Alford
- Department of Zoology
- James Cook University
- Townsville, Qld 4811
- Australia
-
- phone +61 77 81 4732, 9-5 AEST
- fax +61 77 25 1570
-
- email ross.alford@jcu.edu.au
-