darren@ethos.UUCP (02/04/87)
I just made a little utility called nc (new cursor), and thought I'd put it on the net. It's not a hard program, and could be done in any languge in about 10 minutes, but I optomized the code into a <150 byte .com file which will fit on just about any disk, so I thought it worth sharing. It redefines the cursor block. The syntax is: NC xy where x is he top line and y is the bottom line for the cursor. The CGA supports only 7 lines, allowing for single digit input, but EGA and HGC (which I don't have) support larger numbers. For this reason, x or y goes to 0 (10) and then starts over at A continuing through Z. I don't know if this works, but it should. The syntax must be followed exactly (one space between NC and xy). The lines do wrap around, so NC 70 produces a line on top of and underneath the char (on CGA monitors). Oh well, too much talk and not enough program. Here it is - all 6 lines of it. No cutting required - uudecode knows what to do. Have fun! begin 644 nc.com MZ3D`1&]N92X-)%-Y;G1A>"`Z($Y#(#Q4;W!,:6YE/CQ";W1T;VU,:6YE/B`@ M("AE>"X@3D,@,#<I#0HDOH``K#P"=PFZ"@'H(`#I%P"^@@#H'@"(Q>@9`(C! MM`'-$+H#`>@&`!ZX``!0RU"T"<TA6,.L/#E_!2PPZ0L`/&%\!2PWZ0(`+%?# ` end *----=====-----=====-----=====-----=====-----=====-----=====----* // Darren Friedlein, ANSI-FX software Phone: 919/596-7746 \\ (( Rt 4 Box 416, Durham, NC 27703 919/596-9492 )) \\ ...{burl,cbosgd,ihnp4,mcnc}!ethos!darren // *----=====-----=====-----=====-----=====-----=====-----=====----* Zaphod Beeblebrox is now appearing in "No Sex Please, We're Amoeboids and Gatularians" at the Bruntos Vogon Star House.