Disk Droppings

See all articles from Sinc-Link v5 n1
Author(s): Greg Lloyd
Publication: Sinc-Link
Pub Details: Sinc-Link v5 n1 (Volume 5, Issue 1)
Date: January/February 1987
Pages: 10

Another issue and more fun typing with my now favorite word processor and disk combo – Tasword II and Larken 2068 Disk interface. It is now a 4 second wait to load the program and 1 or 2 second wait to load any file I have created. Here are some tips and techniques that I have discovered about Tasword II.

The version of the program I am using has been modified to operate on the Larken system by Peter Haskel. All the regular features work identically to the original with the exception of Merge. In the cassette version, merging puts the code after the resident file. On my setup, the resident file must be pushed down (using Symbol shift AND) to enable a new file to load in at location 33280 (the first line of text). The merged file can then be block marked and moved to the location it should be. If you have to prepare form letters or a letterhead you can merge-move and print them.

Random Calls

There are some rand usr calls in the program to note as they do neat things. One is Rand usr 59081, this pokes ASCII 32’s (spaces) into the whole workspace. This is one you want to be carefull with! The next is usr 64330, this runs the program. The file Tasword creates does not have any charcters less than (ASCII 32). A blank line is just 64 spaces padding the file. This may explain some of the strange happenings, when you load a file recieved from any bulletin board via modem. After every line of text, a carrige return and a line feed character is sent. The wonderful world of Tasword II pads all it’s lines with spaces. The code of the program knows how to handle blanks, but freaks when it sees a carriage return or line feed. To get rid of these you will need to poke blanks into the offending locations or jab the file repeatedly with your space bar. I like my space invaders in game form.

Did You See That?

I mentioned a way to do this in my last Droppings column. I am looking at a way of finding and replacing from within the program and should have a bit of code next time. The solution of course is to filter your text files as you recieve them with the option in Mterm II that does this. I changed the version of Mterm II in the XLATE table section to substitute a hex 20 or an ASCII(32) for the ASCII(10) and ASCII(13), line feed and carriage return.

Marginally Missing

Another thing that happens with Tasword II is that you lose your margin settings when you go to the STOP MENU. All the defaults you have on startup are reset when you return to the program after a save. This same thing happens when you find and replace in one step. A file like this, where I have the left margin set to 52 gets reformatted to 64 columns and right justified even when you do not want it. So after this happens, you must go back up to the top of the file and reset the margin and chop the text up with the symbol-shift AND. Great fun but there must be something better.

Big Print Small Printer

Before I get too far from my roots, I must pass on a suggestion that I have used for some time but may not be too obvious to some people. It involves the use of the 2040 Printer and Tasword II. The character set Tasman uses is something less than readable when displayed on anything less than a 14″ B+W TV or on George Chamber‘s RGB monitor (lucky him). My solution is to use my 12″ B+W TV and use the Sinclair characters available with the Extended C function. You then get a 32 column display which is readable and to see what you print, you just switch back to the Tasman set. If you set your right margin to 32 (Extended D), you now have a highly readable and static display that, provided you stay in the Sinclair character set mode (Extended C) is printable on the 2040. Great stuff for reading without the aid of the new Sinclair Pocket Electron Microscope ($ 99.95).

Big Print Elsewhere

To my complete surprise the instructions that come with the Tasman printer interface are correct. My problem mentioned last column, has been solved. As the saying goes ‘When all else fails, read the instructions!’. How true. The Tasman interface software says send a CHR$ 27 to the printer to allow the use of a Control code outside of the printable range. The range of printables is from ASCII 32 to 127. So for example, to send the printer the code to line feed you would send LPRINT CHR$ 27;CHR$ 10;. To send a command to start compressed print, you would send LPRINT CHR$ 27;CHR$ 27;CHR$ 27;CHR$ 20;. These commands work on my combo of DMP 105 and Tasman CPI and 2068. The thing that threw me was the CHR$ 27 has to precede any code below 31 or above 127. When in doubt toss in a CHR$ 27 or read the instructions whichever comes last. 1/15/87