BY USING THIS PROGRAM YOU AGREE TO HOLD THE AUTHOR FREE OF ALL LIABILITY OF ANY KIND TO THE EXTENT PERMITTED BY LAW. YOU ASSUME THE RISK OF ANYTHING THAT HAPPENS. PAWS IS SOLD WITHOUT WARRENTY OF ANY KIND, INCLUDING FITNESS FOR A PARTICULAR PURPOSE OR MERCHANTABILITY. REMEDIES ARE LIMITED TO THE REFUND OF THE REGISTRATION FEE. Setcur is a batch utility to set the position of the cursor, like the "locate" command in basic. Mercifully, I have forgotten basic, but I think it was called that. Setcur insists upon 4 digits on the command line. You can have spaces if you wish. Setcur will filter them out. EXAMPLES: Setcur 0525 set the cursor on row 5 column 25 setcur 24 00 set the cursor on row 24 column 0. If you leave it here, DOS is going to scroll when it gets control back. setcur 1079 set the cursor to row 10 column 79 (the last) Setcur uses the interrupt 10h bios subfunction 02h to set the cursor. This means it is as good as, and no better than, the bios in your computer. The bios will allow you to set an illegal cursor position, and put the cursor off the screen. You may do that on purpose, to hide the cursor, or you may do it by accident. NOTE: There is absolutely nothing setcur can do that you cannot undo with the dos command CLS. If you screw up, just say cls at the prompt you cannot see, and you will get your cursor back. Setcur works only on video page 0, which is normally where you are. If you are in a multitasker that sets different video pages, you may not be setting the cursor you want to. ERRORS: Interrupt 10h does not return any error codes. There is no way I can find out if the cursor went off the screen or something. Therefore there is no way I can trap any errors you might make. Setcur does what you tell it. Not what you want. Video modes: I have a mono monitor. It does not have 43 line mode or any of that neat stuff. So far as I know, setcur will work fine on 43 line mode, or whatever modes your fancy Dan video card has got. Because you may have some mode I know nothing about, I do not check your screen position to see if it is legal. I can't. I don't know what your card can do. If setcur gets 4 digits and no extra junk, it assumes the first two are your row and the second two are the column, and it asks the bios to put the cursor there. Echo: will display what you tell it to at the current cursor position. It will wrap if it hits the end of the line. After the .bat terminates, DOS moves the cursor down, and scrolls the screen if it needs to. You must allow for this when you do your video work. I can put the cursor where you tell me, but I cannot tell DOS what to do after I exit. REGISTRATION To register, send one buck to: Drake Koefoed 1409 Oak Patch Road # A9 Eugene, OR 97402 Comments about this or my other utilities can go to: Assembler bbs (503) 343-6383 You can also leave messages on: Out in the Styx bbs (503) 345 2582 FREQ files from 1:152/69 Dimension 7 BBS of Eugene OR. You do not need a password to freq there. Please bear in mind how nice it is of sysop Russ Johnson to let you do this. As should be obvious, my own bbs has the latest versions first, and is also the place to call if you want to play with betas and message about utilities or whatever. If you write and do not send a self addressed envelope, I won't answer. I answer mail even without registrations, but not without the self addressed stamped envelope. Writing shareware does not pay too awfully well, you know. UTILITIES BY DRAKE PRIN, a printing program that prints out unformatted or misformatted files as if they had been done on a word processor. Prin will put the filename and date and time created at the top of the printout, add a left margin, print to file, number the pages, print in doublespace, wrap excessively long lines, and control the number of lines per page as specified by the user. Good for program source code, batch files, and text files formatted by people who don't know your printer can't do that many lines on a page. Prin is written in assembler for high speed. Latest is prin30.zip VC Volume checker. Checks for a floppy in a drive, and if it finds one, compares the label you entered with the actual one, and returns an errorlevel based on the result. VC not only makes sure you write to the disk you wanted to, it saves you from the dread abort, retry, fail, give up and cry prompt. Makes it safe to back up a bbs in the night maintenance routine. When was the last time you backed up your bbs? You're kidding! What if the drive crashed? Get Volume Checker. Current version is VC12.ZIP DC Day checker. Checks the day of the week from the system clock and then returns an errorlevel based on the result. Allows you to run things you want to happen only on particular days of the week. Current version DC10.ZIP DKCLOCK A display or log to file clock. Displays the date and time and day of the week and continually updates it in display mode, or writes to a file and displays it once in file mode. clock nul will cause it to make a single display with no file write. You can use dkclock to time events in batch files, to log the date and time, keep track of your hours spent on different projects, etc. Can also be used to make a record of when your computer has been started up, in case you want to know if anyone has messed with it while you were away. Current version DKCLK11.ZIP 2CHARTS Decimal and Hex ascii charts for printing out. Done for Epson LQ 510 but probably adaptable to quite a few other printers. Cpaws, a batch utility that will pause for a specified time from one second to 9999 seconds, or specify 0 to wait however long it takes the user to press a key. If you press a key, Cpaws returns the ascii value of the key if it has one, and for the function keys, page up and down, cursor keys, etc, it returns the scan code of the key plus 128. You don't have to know what that means. It means your batch file can page through a series of one screen text files, or call different programs for different keys. Pause responds to nearly every key on the keyboard, and it has a report function that tells you what it's return value is for the key you pressed, so you do not need to look anything up. It's almost too easy. Current version CPAWS17.ZIP ----------- Still in beta testing --------------------- Box, another batch utility that draws boxes around text. If you have ever made a batch menu you know how tired you can get of having to worry about knocking the box out of whack when you edit, or adding some more box if you add a line. With box, you just keep the text away from the edges, and the top and bottom lines where the box goes, and then say box. It will be drawn from the top of the screen to the current cursor position.