Line Displayer v1.9 Jon Lindsay San Jose, CA (408) 272-4800 Function: Display ASCII file on console Usage: Like CP/M's resident TYPE command (only better) Version 1.9 (11-14-85) - Kaypro only (KPLD19.COM) Version 1.9 has been speeded up by adjusting the method of line and string searching, and I/O usage. Otherwise, it is similar to version 1.5. Also, a peculiar problem was side- stepped: by using character input functions (BDOS f.# 1 and 6) and BDOS f.# 10, the latter would produce mysterious (single) characters, the same as the last entered character through BDOS #1 or 6. Function 10 was used with the L(ine) and F(ind) searches. The algorithm was simulated with BIOS calls and the "problem" disappeared. Version 1.5 (10-18-85) This program makes viewing an ASCII file a simple and flexible convenience. Each line is numbered. You can quickly go to the top of the text or the bottom, or you may jump directly to a particular line. String searches are also permitted. It has particular value in reviewing a document created by WordStar in that several of the common printing features (underlining and boldfacing) are displayed on the screen rather than just the control codes for the particular feature. This latest version is submitted in two forms and has the added feature of "search next string": 1) KPLD15 - is designed for the Kaypro 2X, 4, 10 or equivalent. It has installed code for underlining, reverse video, half bright and blinking. 2) LD15 - is a somewhat more generic form in which codes for underlining, reverse video and half bright are marked within the COM file. The marker (see below) immediately precedes the code. Though configured for the Kaypro, it should be easily adaptable to any CP/M-80 computer. If the Kaypro video features are not desired or cannot be run as is, the locations of the various codes follow which can be used to change the code. Six (6) bytes have been allowed for each video function code, with each code sequence ending with a dollar sign ($). Use DDT to access LD15.COM: A>DDT LD15.COM (cr) and then the DDT 'D' command to display the COM file code. The DDT 'S' command lets you substitute your own computer code if necessary. Starting location Function ASCII code marker (Hex) 181 clear screen cls-> 3D2 half bright ON hbon-> 3EF half bright OFF hboff-> 40B underline ON ulon-> 428 underline OFF uloff-> 47E cursor ON curon-> 49C cursor OFF curoff-> 4B8 reverse vid. ON rvon-> 4D5 reverse vid. OFF rvoff-> Where your computer will not do any of the above, if necessary you can place the '$' in the first position after each marker in order to bypass that screen function. Version 1.2 This Line Displayer (LD) was designed on and for the Kaypro 2X, or equivalent (ADM-3A). It's a simple ASCII text viewer that can be used in place of CP/M's TYPE command and employs the following features for added flexibility: FEATURES: 1) Viewing page by page - forward/backward single step 2) Jump to specified line 3) (Unique) string search 4) Shows WordStar's Underline & Boldface 5) Jump to start (Top) or end (Bottom) of text Input commands: Lnnnn = Will go to line nnnn, (e.g., L231) - = backup 1 page CR = forward 1 page space bar or . = forward 1 line T = top of text B = bottom of text E = erase screen and print next page Fstring = Find string (e.g., FHello) U/L case matters! control-L = continue search for string <-- NEW Q = quit and return to CP/M ? = print this menu Comment: Programs like this are common. However, I've noticed several that appear to have been written in a high level language and are rather sizeable, the most recent to come to mind being ZTYPE. Ergo, here is a smaller one. While not perfect, I hope you find it handy. If anyone is interested in the latest source code, I can be reached at the above number or through DC-To-Light RBBS (408) 262-5150. J.L.