home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1997 / ARCHIVE_97.iso / text / hints / volume_10 < prev   
Text File  |  1997-08-17  |  138KB  |  3,279 lines

  1. Hints and Tips
  2. 10.1
  3. Larger Ö I have recently stumbled upon a feature of Larger which I now
  4. use regularly. I cannot find any reference to it in the manual.
  5. 10.1
  6. When you double-click on an application on the backdrop, or in a filer
  7. window, it runs as you would expect. However, when you double-click and
  8. Éholdæ the second click down, the application is opened, as if <shift>
  9. were held down.
  10. 10.1
  11. I think that Larger causes this, as it seems to work only when Larger is
  12. loaded.
  13. 10.1
  14. Alisdair McDiarmid <a.mcdiarmid@zetnet.co.uk>
  15. 10.1
  16. Ink for Canons Ö I read with interest the letter detailing the
  17. successful use of non-generic inks for Canon printers. I have a BJC 600
  18. and have successfully refilled its cassettes many times using a
  19. hypodermic with a narrow needle. However, recently, the machine simply
  20. stopped printing, and I began to believe the head was damaged. I rang
  21. Canonæs helpline and the first question I was asked was öhave you used a
  22. non-Canon ink?ò Readers should be aware therefore that the use of such
  23. inks probably constitutes a breach of the warranty agreement, and that
  24. should be taken into account.
  25. 10.1
  26. P.S. The problem with the printer was solved by simply feeding a great
  27. deal of good paper through it, presumably cleaning the head thoroughly
  28. in the process.
  29. 10.1
  30. Kevin Beales, Highley, Shropshire.
  31. 10.1
  32. PowerTec SCSI II + PC Card Ö If you use these two, you may have found,
  33. like me, that SCSI discs formatted to DOS do not work with the PC card.
  34. I found that if you format the discs as ÉBlankæ and then use FDisk and
  35. Format from DOS to format them, they work fine.
  36. 10.1
  37. Ian Clark <rooster@cat1.demon.co.uk>
  38. 10.1
  39. RTF facilities Ö Reference to Kate Crennellæs request for RTF conversion
  40. (Archive 9.12 p13) there are two Rich Text Format (RTF) PD utilities
  41. !RTFwriter and !RTFreader, both v.1.10, by Darryl Sims. These will
  42. convert RTF version 1 text files to Acorn Edit text format and vice
  43. versa.
  44. 10.1
  45. Both utilities are available on Risc Disc CD 1 in the Shareware DTP
  46. directory also on Datafile PD CD 1 Issue 2 in the Applications
  47. directory. They may also be downloaded from Arcade BBS.
  48. 10.1
  49. They seem to cope very well with most files, and are recommended to
  50. anyone wanting to do occasional conversions.
  51. 10.1
  52. Both utilities are on the Archive magazine disc.
  53. 10.1
  54. Colin Sutton, Bradford.áuá
  55. 10.1
  56. Hints and Tips
  57. 9.12
  58. C++ Operator Summary Ö Itæs a bit late to go with my series, but C++
  59. programmers who reHints and Tips
  60. 10.1
  61. Larger Ö I have recently stumbled upon a feature of Larger which I now
  62. use regularly. I cannot find any reference to it in the manual.
  63. 10.1
  64. When you double-click on an application on the backdrop, or in a filer
  65. window, it runs as you would expect. However, when you double-click and
  66. Éholdæ the second click down, the application is opened, as if <shift>
  67. were held down.
  68. 10.1
  69. I think that Larger causes this, as it seems to work only when Larger is
  70. loaded.
  71. 10.1
  72. Alisdair McDiarmid <a.mcdiarmid@zetnet.co.uk>
  73. 10.1
  74. Ink for Canons Ö I read with interest the letter detailing the
  75. successful use of non-generic inks for Canon printers. I have a BJC 600
  76. and have successfully refilled its cassettes many times using a
  77. hypodermic with a narrow needle. However, recently, the machine simply
  78. stopped printing, and I began to believe the head was damaged. I rang
  79. Canonæs helpline and the first question I was asked was öhave you used a
  80. non-Canon ink?ò Readers should be aware therefore that the use of such
  81. inks probably constitutes a breach of the warranty agreement, and that
  82. should be taken into account.
  83. 10.1
  84. P.S. The problem with the printer was solved by simply feeding a great
  85. deal of good paper through it, presumably cleaning the head thoroughly
  86. in the process.
  87. 10.1
  88. Kevin Beales, Highley, Shropshire.
  89. 10.1
  90. PowerTec SCSI II + PC Card Ö If you use these two, you may have found,
  91. like me, that SCSI discs formatted to DOS do not work with the PC card.
  92. I found that if you format the discs as ÉBlankæ and then use FDisk and
  93. Format from DOS to format them, they work fine.
  94. 10.1
  95. Ian Clark <rooster@cat1.demon.co.uk>
  96. 10.1
  97. RTF facilities Ö Reference to Kate Crennellæs request for RTF conversion
  98. (Archive 9.12 p13) there are two Rich Text Format (RTF) PD utilities
  99. !RTFwriter and !RTFreader, both v.1.10, by Darryl Sims. These will
  100. convert RTF version 1 text files to Acorn Edit text format and vice
  101. versa.
  102. 10.1
  103. Both utilities are available on Risc Disc CD 1 in the Shareware DTP
  104. directory also on Datafile PD CD 1 Issue 2 in the Applications
  105. directory. They may also be downloaded from Arcade BBS.
  106. 10.1
  107. They seem to cope very well with most files, and are recommended to
  108. anyone wanting to do occasional conversions.
  109. 10.1
  110. Both utilities are on the Archive magazine disc.
  111. 10.1
  112. Colin Sutton, Bradford.áuá
  113. 10.1
  114. Hints and Tips
  115. 10.2
  116. Acorn Toolbox from Assembler Ö Using the Acorn Toolbox from Assembler is
  117. easy Ö even easier than from ÉCæ. Writing a WIMP application in
  118. assembler must now be about as easy as it can ever get.
  119. 10.2
  120. By way of a demonstration, the !SoundTest application on this monthæs
  121. disc assembles to less than 900 bytes and will run in a 2Kb wimpslot,
  122. even though it supports an iconbar, a menu, info window, and a window
  123. with three sliders, three display fields, a stringset and a button. Oh,
  124. and of course thereæs interactive help everywhere as well!
  125. 10.2
  126. The header file defines the data areas required. The toolbox needs two
  127. additional data areas Ö IDBlock which returns information about where
  128. events have occurred, and FileDescriptor which holds information about
  129. the messages file.
  130. 10.2
  131. Initialisation is straightforward. The WimpSlot size is checked, data
  132. initialised, and then a call to Toolbox_Initialise:
  133. 10.2
  134. Setting r2 to zero ensures that the only Énormalæ wimp message returned
  135. is Message_Quit. All other messages returned will be toolbox events, and
  136. a pointer to a null terminated list of the required events is passed in
  137. r4. Registers r5 and r6 point to FileDescriptor and IDBlock
  138. respectively.
  139. 10.2
  140. The program then falls into a standard Wimp_Poll loop. If the message
  141. returned is a toolbox event, the program looks up the event in the list
  142. that was passed to Toolbox_Initialise, and then jumps to the associated
  143. handler.
  144. 10.2
  145. Handling the events is very similar to pre-toolbox programs, except that
  146. an abstract handle is returned in the IDBlock rather than the actual
  147. window/icon causing the event.
  148. 10.2
  149. The trickiest part is initialising gadgets before theyære displayed for
  150. the first time. This is achieved during the Toolbox_ObjectAutoCreated
  151. event, when we can check the name of the object raising the event Ö
  152. i.e.áöIconbarò, öMenuò, öProgInfoò or öWindowò in this case.
  153. 10.2
  154. Dave Appleby, York
  155. 10.2
  156. Alternative wastebin Ö I used to use a PD wastebin application, but
  157. always begrudged the space on the iconbar. So, when I found it was
  158. clashing with another application, I binned my bin.
  159. 10.2
  160. As a very effective alternative, I now use a directory on my hard disc
  161. that is called up onto my desktop at boot-time, occupies very little
  162. space, and makes a very effective waste bin. I start it up with:
  163. 10.2
  164. Filer_OpenDir scsi::SQ270.$.zzz 2348
  165. 10.2
  166.  1160 166 186 -sd -si
  167. 10.2
  168. This ensures that, whatever I have as the current filer display
  169. settings, this particular directory has small icons (si) and is sorted
  170. by date (sd) That means that the latest file created is at the top of
  171. the directory and hence easily visible, despite the tiny size of the
  172. filer window allocated to it.
  173. 10.2
  174. So, to delete a file or directory, I shift-drag it into zzz and then
  175. when, finally, it tells me the directory is full, I open it up and
  176. delete the lower two-thirds of the items (sorted by date, remember).
  177. Itæs simple but effective.
  178. 10.2
  179. I use a similar startup for my RAMdisc:
  180. 10.2
  181. Filer_OpenDir RAM::RamDisc0.$ 1860
  182. 10.2
  183.  1156 134 156 -sd -si
  184. 10.2
  185. I actually use this more for my temporary files than the zzz directory Ö
  186. because it empties automatically on switch-off!
  187. 10.2
  188. Ed <paul.NCS@paston.co.uk>
  189. 10.2
  190. Compression with the PC card Ö Aálot of people seem to be having trouble
  191. using DoubleSpace and DriveSpace. These compression utilities work by
  192. compressing the data written to your hard disc Éon the flyæ, so it
  193. appears that your data is written normally when in fact it isábeing
  194. stored in a highly compressed format.
  195. 10.2
  196. The compressed data is actually being stored in a very large hidden file
  197. (called drvspace.001) which resides in the root directory of your PC
  198. partition.
  199. 10.2
  200. The problem with this method of compression is that if this drvspace.001
  201. file is accidentally deleted or corrupted, youæve lost all of your data.
  202. The chances of this happening, however, are about the same odds as your
  203. hard discs crashing which, in the long run, are very slim.
  204. 10.2
  205. There is no incompatibility that I know of, but because the program is
  206. not being run on a 100% compatible PC, there could be complications. The
  207. most reliable way of running DriveSpace is under Windows 95. To be even
  208. more secure, there is a version on the MS Plus pack for Windows 95
  209. called DriveSpace 3.
  210. 10.2
  211. If you really want to be on the safe side, stick with good old PKZIP.
  212. With this, you can create nicely packed ZIP files with the ability to
  213. access them with SparkFS.
  214. 10.2
  215. Anthony Wheeler <tech.NCS@paston.co.uk>
  216. 10.2
  217. DOS files from the PC card Ö I received two responses to my plea for
  218. help (9.12 p27).
  219. 10.2
  220. First of all Dennis Aldcroft very kindly explained how I can actually do
  221. this with PCExchange, although it is a bit of a fiddle. Basically,
  222. Windows is loaded and then you go into DOS from there, save your file to
  223. a floppy disc, which is then re-accessed from within Windows and saved
  224. to the ClipBoard by associating the file to the Windows Notepad. PC
  225. Exchange can then be used as before.
  226. 10.2
  227. Secondly, Jim Nottingham offered a simpler approach: save any DOS file
  228. to the hard disc, and then Éfreezeæ the PC card. This does not interfere
  229. with the application running in DOS but allows the file to be accessed
  230. from within RISC OS by opening up the PC hard drive directory. Once the
  231. file is found, it will need to have its type set to ÉTextæ, and it can
  232. then be moved or copied to any RISC OS application.
  233. 10.2
  234. I am very grateful for these tips, and pass them on in the hope that
  235. they might be useful for others.
  236. 10.2
  237. Colin Randall <carandall@argonet.co.uk>
  238. 10.2
  239. Double-click-hold Ö Alisdair McDiarmid (10.1 p18) points out a feature
  240. of Larger, whereby if you double click and hold on a file, it is treated
  241. as if shift were held down. Anyway, StrongED also provides this feature,
  242. and jolly useful it is too! The latest version of StrongED (4.14 at the
  243. time of typing) can be downloaded from:
  244. 10.2
  245. http://login.eunet.no/~guttorvi/strong.html
  246. 10.2
  247. Ian Clark <se96ic@dmu.ac.uk>
  248. 10.2
  249. EasyFont3 Ö When using EasyFont3, if you load an Impression file and get
  250. a Éfont not foundæ message, drag the file onto Easyfont3, and the fonts
  251. will be loaded and drawn, with no need to reload the file.
  252. 10.2
  253. Robert Lytton, Leeds
  254. 10.2
  255. Large Impression files Ö If you have a large Impression file and a large
  256. amount of memory, Impression will try to load as much as possible into
  257. memory. Most can then be removed by using ÉMinimise memoryæ (if it is a
  258. document and not a file) but this process can take time when using 8Mb
  259. on an older machine! By creating a RAMdisc to use up most of the surplus
  260. memory (click <select> on Acorn, to bottom of Task window, click and
  261. drag out a red bar ÉRAMdiscæ) less of the document will be able to be
  262. loaded and so loading will be quicker! You can then menu ÉQuitæ the
  263. RAMdisc to reclaim the memory.
  264. 10.2
  265. Robert Lytton, Leeds
  266. 10.2
  267. MoirΘ patterns on scanning Ö In last monthæs Help!!!! feature (10.1
  268. p41), John Molyneux described how he used ImageMaster to minimise MoirΘ
  269. patterns when using his Mustek scanner. There is a more Éscientificæ way
  270. that I used with my Epson that ought to work with his scanner too:
  271. 10.2
  272. 1) Scan at high resolution, ideally the highest true resolution of the
  273. scanner.
  274. 10.2
  275. 2) If there is MoirΘ patterning, set ImageMasteræs Alias Filter to
  276. ÉLanczosæ. (Iconbar menu, use Choices.General, then set and OK or Save)
  277. 10.2
  278. 3) Resample (ImageMasteræs main menu, use Edit.Scale then click the
  279. Resample radio icon, set to 90/90 and Click OK).
  280. 10.2
  281. After a few seconds delay, even the worst MoirΘ patterning will entirely
  282. disappear.
  283. 10.2
  284. It appears to be necessary to Resample with a fairly wide variance from
  285. the original scanning resolution. The closest numbers I have found
  286. satisfactory have been: original scan at 600 dpi and resample at
  287. 200ádpi.
  288. 10.2
  289. It is worth experimenting with a variety of numbers. The MoirΘ
  290. patterning isnæt just reduced when this technique is employed Ö it
  291. totally disappears and the improvements can be truly amazing.
  292. 10.2
  293. Malcolm Knight <malcolm@digidark.demon.co.uk>
  294. 10.2
  295. OCR Ö If you wish to use OCR with a Scanlight Professional, I have found
  296. Sleuth2 works very well when using Twain set with maximum brightness.
  297. Before, I used Sleuth1.5 which did a poor job and Iáhad trouble
  298. preparing dark enough scans from the scanner.
  299. 10.2
  300. Robert Lytton, Leeds
  301. 10.2
  302. PC partitions Ö While I was working at NCS, a number of PC card users
  303. called to ask how they could create more space on their Édrive_cæ
  304. partitions. Attempts to copy DOS/Windows system files to another
  305. partition and recreate drive_c, invariably end in tears and hair loss.
  306. 10.2
  307. To make life easier, the !PCConfig application allows you to create a
  308. second partition, called drive_d. You create this in the same way that
  309. you created the first drive_c partition, and DOS and Windows identify it
  310. as drive ÉDæ.
  311. 10.2
  312. We recommend that you keep DOS and Windows on drive_c, making sure that
  313. there is a little spare capacity, and create a drive_d on which you then
  314. keep your applications and data. You should allocate around 25-30Mb for
  315. DOS and Windows on drive_c.
  316. 10.2
  317. Richard Hesketh <NJ108@lamp.ac.uk>
  318. 10.2
  319. Printer driver problems Ö Some months ago, I read a article about
  320. difficulties using !Printer 1.52 regarding a problem about page-formats
  321. when using a image-setter.
  322. 10.2
  323. Iæve installed version 1.53 on a RiscPC connected to an image-setter,
  324. and the problem disappears if you proceed as follows:
  325. 10.2
  326. Define a page-format in the printer driver of a size 10╫10 mm Ö
  327. obviously too small for all your documents.
  328. 10.2
  329. Configure your PostScript driver to use this page-format. When using
  330. ArtWorks, be sure that ÉSet page formatæ is on. When using Publisher,
  331. the program will complain about the small page size. Click OK and not
  332. Cancel.
  333. 10.2
  334. If you use landscape and portrait the correct way, you can save a lot of
  335. bromide/film. Another advantage is that you never have to select a page-
  336. format again in your printer driver.
  337. 10.2
  338. I donæt know what happens in other programs like Ovation Pro because I
  339. donæt own this program (yet).
  340. 10.2
  341. Martijn Claassen <martijn.argos@pi.net>
  342. 10.2
  343. RiscPC special characters Ö In Archive 6.3, Gabriel Swords produced a
  344. very useful display showing where the special alt-characters are on the
  345. Archimedes keyboards. I have updated this for the RiscPC keyboard.
  346. 10.2
  347. Eddie Lord <72046.251@CompuServe.COM>
  348. 10.2
  349. (Thanks, Eddie! I find it most useful. I keep it above my desk. Iæve put
  350. both that drawfile, and the original Archimedes one, on the monthly
  351. program disc. Ed.)
  352. 10.2
  353. Tablemate and OLE Ö When using a Tablemate file and Impressionæs OLE
  354. feature, the tablemate file is exported as a drawfile. If you save the
  355. file and change the filetype to öBCFò or ötblmateò you can then reload
  356. it into Tablemate to edit it before dragging it back into your
  357. Impression document.
  358. 10.2
  359. Robert Lytton, Leeds
  360. 10.2
  361. TechWriter tips Ö Here are a number of tips from Jim Lesurf. If you have
  362. any more, please send them in to Jim.
  363. 10.2
  364. Extending Ésmart quotesæ Ö Versions 2.17 and later of TechWriter Pro
  365. (and recent editions of EasiWriter) offer Ésmart quotesæ and these are
  366. jolly useful. One tap on the ` key gives É, two gives ö, three gives `
  367. itself. Similarly, one tap on É gives æ, two ò, and three gives æ
  368. itself. If you donæt like this feature, you can turn it off. Load the
  369. Messages file into a text editor and find the lines:
  370. 10.2
  371.   x35:`Éö`
  372. 10.2
  373.   x35:ÉæòÉ
  374. 10.2
  375. x35: denotes these triple action commands. The first character after É:æ
  376. is the key it is assigned to, and the following three characters appear
  377. on pressing that key once, twice or three times. Usefully, you can add
  378. extra keys to this list. For example:
  379. 10.2
  380.   x35:ÿùÿ
  381. 10.2
  382.   x35:..╖î
  383. 10.2
  384. Now theá-ákeyágivesá-á,áùáoráÿá, and the . key gives . or ╖ or î
  385. (ellipsis). You can include up to seven x35 commands in the Messages
  386. files, giving you access to up to 14 characters that are otherwise
  387. awkward to get.
  388. 10.2
  389. Print button-bar icon Ö The defaults on TechWriter (may work on
  390. EasiWriter too) are, for me, the wrong way around. To swap the defaults
  391. on the print icon, proceed as follows: Load the Resources file into an
  392. editor and change the line
  393. 10.2
  394.   w1:icbr Isave!11 10,68,4
  395. 10.2
  396. to
  397. 10.2
  398.   w1:icbr Isave!11 68,10,4
  399. 10.2
  400. This swaps the actions of select and adjust on this icon. If you look at
  401. this file, you can see that the other button-bar icons work in a similar
  402. way and, if you want, you can fiddle around with them, too. However,
  403. proceed with care!
  404. 10.2
  405. Stationery and default choices Ö When using TechWriter (may work on
  406. EasiWriter too) I keep myástationery in a directory called Stationery
  407. inside !TechWriter. To tell the program where it is, Iáinclude a line in
  408. the !Run file:
  409. 10.2
  410. Set TechWriter$Path <TechWriter$Dir>.Stationery.
  411. 10.2
  412. (Note the trailing full stop.) This command sets a path.
  413. 10.2
  414. You can then tell TechWriter which piece of stationery to use by default
  415. by adding the É-uæ switch to the run command at the bottom of the run
  416. file, e.g. in my case this reads Run .!RunImage %*0 -d  -ustyle_def -
  417. r1600, so my default stationery is the file Éstyle_defæ inside the
  418. !TechWriter.Stationery directory.
  419. 10.2
  420. Other useful switches: the É-r1600æ switch tells TechWriter to keep the
  421. current document wholly in memory unless it gets bigger than 1600Kb.
  422. i.e. it sets the file size below which TechWriter avoids any disc-
  423. swapping and keeps the current file Éclosedæ unless youære loading/
  424. saving. You can use É-ræ to set any size you find convenient.
  425. 10.2
  426. The -b switch followed by a font name, causes that font to be displayed
  427. and printed Éback to frontæ. This is useful if you want to write in
  428. languages like Hebrew which read/write from right to left. It means you
  429. can mix a right-to-left language with a left-to-right one in the same
  430. document and each will come out the correct way around.
  431. 10.2
  432. The -o switch sets the Éeasy save directoryæ. That means it sets where a
  433. file will be saved if you give a plain name (what Acorn call a
  434. leafname). e.g. if you set this to
  435. 10.2
  436. -oADFS::HardDisc4.$
  437. 10.2
  438. and then save a file as fred it will be saved to the file
  439. 10.2
  440. ADFS::HardDisc4.$.fred .
  441. 10.2
  442. Modern Choices! Ö Acorn have decided that instead of putting default
  443. settings in the run command of TechWriteræs (and perhaps EasiWriteræs)
  444. !Run file, they should be saved in a ÉChoicesæ file elsewhere in the
  445. machine. This is to facilitate the Net machines which have the
  446. applications in ROM. Try looking for it inside !TechWriter or the !Boot
  447. application on the main hard disc. Specifically, look for a file
  448. !Boot.Choices.TechWriter.Choices. If it exists, it over-rules anything
  449. you may set on the run line, so you should make any changes in the
  450. !Choices file.
  451. 10.2
  452. Jim Lesurf <jcgl@st-and.demon.co.uk>
  453. 10.2
  454. The characters shown in bold are produced by pressing the relevant key
  455. in conjunction with either the Alt key on its own or both the Shift and
  456. Alt keys:-
  457. 10.2
  458. e.g.   to type ó hold down Alt and press the C key
  459. 10.2
  460.   to type ⌐ hold down Shift and Alt and press the C key.
  461. 10.2
  462. The characters indicated by an arrow are intended to be used in
  463. conjunction with other keys to produce accented letters; in each case
  464. the accent is only produced if the Alt-key combination is followed by an
  465. appropriate letter: e.g. to produce Θ you first type Alt-[ then type e.
  466. If you want the accent on its own, follow the Alt-key combination by
  467. pressing the spacebar.
  468. 10.2
  469. Alt-<hyphen> produces a öhard hyphenò (character 173)
  470. 10.2
  471. Alt-<spacebar> produces a öhard spaceò (character 160)
  472. 10.2
  473. Hints and Tips
  474. 10.3
  475. ÉCanæt find file: Logonæ Ö With some software running on RISC OS 3.
  476. 6/3.7, you get an error message saying it cannot find file ÉLogonæ.
  477. It is likely be caused by a lazy programmer using a *LO. (*Load)
  478. command. To avoid the problem, you have to make sure that any alias
  479. for ÉLogonæ is unset.
  480. 10.3
  481. To find out if you have an Alias called Alias$Logon, either bring up
  482. a task window (ctrl-f12) or press <f12> and, at the star prompt, type
  483. SHOW, and then look through the list of Aliasæs for the above. (Or
  484. use *SHOW A* to avoid looking through the whole list. Ed.)
  485. 10.3
  486. If you find it, then it is preventing you using *LO. The simple
  487. answer is to unset this alias, by typing UNSET alias$Logon <return>.
  488. This should not upset any of your programs unless you are using a
  489. network, since this alias is used to allow an abbreviated method of
  490. logging onto a file server!
  491. 10.3
  492. Chris Hughes <chris@cumbrian.demon.co.uk>
  493. 10.3
  494. HP printer problems Ö Concerning the problems with colour printing on
  495. a 550C (Archive 10.2 p52): I used to have the same problem, but I
  496. solved it by creating a drawfile with a dozen thin, not quite
  497. horizontal lines, alternating in colour between yellow, cyan and
  498. magenta. I dropped its icon onto the Pinboard, and every fortnight
  499. !Alarm reminds me to print the file. Apparently, this keeps the
  500. nozzles from clogging, because I have not had any problems since.
  501. 10.3
  502. Jochen Konietzko <uu1093@koeln.shuttle.de>
  503. 10.3
  504. HTML hint Ö A hint that other folks may have thought of: When
  505. converting database or formatted tables into HTML table format, use a
  506. spreadsheet to insert all the <tr><td> tags into the document.
  507. 10.3
  508. I use PipeDream 4 (Iæve not put my StrongARM in yet because PD4 is my
  509. most used piece of software and I havenæt got my copy of 4.5 yet!)
  510. and go through the following steps.
  511. 10.3
  512. I load the table into PD4. Insert columns where the <tr> and <td>
  513. tags are to go. Replicate the tags down each column.
  514. 10.3
  515. I have a league table which changes every week. The table is
  516. calculated in document(A) by PD4 and the columns of the table have
  517. copies in every alternate column in document(B). If all the required
  518. other tags are already in document(B) then it can be saved as plain
  519. text, the filetype changed to HTML and Robert is your Uncle!
  520. 10.3
  521. You may see the crude results by looking at the URL: http://www.nwnet.
  522. co.uk/dean/
  523. 10.3
  524. Barry Allen <barrya@dean.nwnet.co.uk>
  525. 10.3
  526. Installing cast-off 3.6 chips Ö With all these super StrongARMs
  527. appearing, there are lots of sets of redundant RISCáOS 3.6 chips
  528. floating around. So I thought Iæd give it a go. I did have some
  529. difficulties, but have now successfully installed RISC OS 3.6 in my
  530. old RiscPC 600, öwith a little help from my friendsò.
  531. 10.3
  532. It might help other people to explain what I did. Any references to
  533. Config assume that you have double-clicked on !Boot to bring up the
  534. Configure application.
  535. 10.3
  536. 1. I had problems with odd error messages when setting the monitor
  537. config but these were solved by using a completely Évirginæ RISCáOS 3.
  538. 6 !Boot application from the CD-ROM disc supplied with the StrongARM
  539. upgrade.
  540. 10.3
  541. 2. Problems with a Cumana double-speed CD-ROM drive were solved as
  542. follows...
  543. 10.3
  544. a. Move !BootIDECD out of the !Boot.Choices.Boot.PreDesk folder. Do
  545. this before you fit the new ROMs, and you can leave the other steps b-
  546. d until afterwards.
  547. 10.3
  548. b. Copy the module !BootIDECD.islcd_2 back into the PreDesk folder.
  549. 10.3
  550. c. *UNPLUG CDFSSoftATAPI (Do this before step d. or the machine will
  551. Éfreezeæ and will require another power-on ÉRæ reset.)
  552. 10.3
  553. d. Reboot the machine and set the number of CD-ROM drives to 1 with
  554. the configure routine. When the CD icon appears on the iconbar, check
  555. the iconbar menu Configure=>Drives is also set to 1.
  556. 10.3
  557. (My thanks to Mark Gillman of Cumana for the above advice.)
  558. 10.3
  559. 3. Problems with the Castle Technology 16-bit SCSI card and 135Mb
  560. Syquest drive were solved with a few bits of advice from Castle on
  561. the use of the new !Setup application Ö there is no documentation
  562. supplied with the application itself. The old SetupSCSI Basic program
  563. can be used instead. Myáthanks to John Ballance of Castle Technology.
  564. 10.3
  565. Once the machine is up and running again with the new ROMs and !Boot
  566. application, itæs just a question of copying over any modules,
  567. applications etc, from the old !Boot application as and when you find
  568. the need for them. Any modules that you need from the old !Boot.
  569. Resources.!System.Modules folder should be copied into the new !Boot.
  570. Resources.!System.360.Modules folder.
  571. 10.3
  572. Donæt forget that you do not require such applications as Chars,
  573. Draw, Edit, Help, Paint in the $.Apps folder, as they are supplied in
  574. ROM.
  575. 10.3
  576. In brief, to upgrade...
  577. 10.3
  578. 1. Move the old !Boot application into a folder called, say, $.
  579. OldBoot.
  580. 10.3
  581. 2. Copy the new RISCáOS 3.6 Boot application from the CD-ROM. (If you
  582. donæt have a CD-ROM drive, then youæll have to get hold of a copy on
  583. floppy discs.)
  584. 10.3
  585. 3. Remove the old Apps such as Edit and Paint into a folder called,
  586. say, $.OldApps.
  587. 10.3
  588. 4. Power down the machine tidily and change the ROMs. Take care!
  589. 10.3
  590. 5. Power the machine back on, holding down the ÉRæ key to reset the
  591. CMOS configuration RAM.
  592. 10.3
  593. 6. Reset the appropriate configuration options, including the CD-ROM
  594. drive as above.
  595. 10.3
  596. Happy upgrading for skinflints like me, who are too tight-fisted to
  597. cough up for a StrongARM!
  598. 10.3
  599. P.S. One note of caution.
  600. 10.3
  601. Having successfully upgraded to RISCáOS 3.6, Iáfound that everything
  602. worked fine. I then decided that it was time to take advantage of the
  603. new filecore, and format my 850Mb Conner HD to the full 812Mb instead
  604. of 511Mb, which was all that the old filecore could handle in one
  605. partition.
  606. 10.3
  607. I therefore backed everything up onto a Syquest cartridge,
  608. reformatted the disc, and restored all the data. Then I attempted to
  609. run EasyFont-3, and it tartly informed me that this was not the disc
  610. that it had been installed upon. I should have first un-installed
  611. from the Éoldæ disc, thus gaining one credit on the master floppy
  612. disc. Without the credit, you are snookered.
  613. 10.3
  614. (Am I the only person who hates these pedantic O.T.T. copy protection
  615. measures?) (I can assure you that youære not alone! Ed.)
  616. 10.3
  617. So, remember to un-install Éfussyæ copy-protected programs such as
  618. EasyFont, before upgrading to RISCáOS 3.6, or changing or
  619. reformatting the hard disc, or anything else likely to make the
  620. machine appear different!
  621. 10.3
  622. P.P.S. The good news is that EasyFont-Pro (which is SA compatible)
  623. has a much better form of copy protection. As long as you still have
  624. the original floppy disc, you can re-install as many times as you
  625. like. Phew! Iæve coughed up my ú15 to upgrade.
  626. 10.3
  627. Richard Sterry <richard@waveg.demon.co.uk>
  628. 10.3
  629. PC partitions Ö This is the easiest way to get more space on Drive_C.
  630. Create Drive_D of the desired size, using !PCConfig, then run the PC
  631. Card and at the DOS prompt, type:
  632. 10.3
  633. format d: /s
  634. 10.3
  635. The É/sæ ensures correct copying of the system files. Now quit the PC
  636. card, and ensure that Truncate is off by typing (after <f12> or from
  637. a task window):
  638. 10.3
  639. configure truncate off
  640. 10.3
  641. Open filer windows on Drive_C and Drive_D, select all on Drive_C and
  642. then deselect the system files (which are already on Drive_D). Drag
  643. the selection to Drive_D.
  644. 10.3
  645. When the copying finishes, use !PCConfig to make Drive_D the only
  646. partition seen by the PC Card (confusingly, it will still be called
  647. ÉC:æ by DOS) and run !PC. When you have confirmed that the new
  648. partition works you can quit !PC, rename the old Drive_C, rename
  649. Drive_D as Drive_C and use !PCConfig to make sure that the PC Card
  650. only sees the new Drive_C. In case of disaster, you still have your
  651. original Drive_C so you can start again! Or you can delete it later.
  652. 10.3
  653. This method has never failed me. I have used it to make three
  654. Éminimum sizeæ partitions containing only the files found on newly
  655. set up DOS, Windows 3.1 and Windows 95 partitions (without the swap
  656. files). In case of a disaster befalling one of my normal partitions,
  657. I can easily get back to a newly set up partition without the painful
  658. and time-consuming installation process.
  659. 10.3
  660. Seßn Kelly <skelly@argonet.co.uk>
  661. 10.3
  662. Photograph frames in Draw Ö Iárecently copied some old family
  663. photographs for a friend for an album he was making up. Whilst we
  664. were sweating in my darkroom, we were talking about the fact that the
  665. only person who could recall the names and relationships of the
  666. subjects was an old uncle. I suggested that it might be a good idea
  667. to scan all of the available photographs to disc and add labels in
  668. Draw with all the necessary details. We decided that this was a good
  669. idea and, whilst doing this, I thought that some of the Victorian
  670. photographs would benefit from having an oval frame around them.
  671. 10.3
  672. This was the beginning of many enjoyable hours trying to achieve the
  673. required results. After much consultation of the manual, I discovered
  674. the quirky little routine called The Winding Rule and, after a little
  675. bit of experimentation, I found what was and was not possible.
  676. 10.3
  677. Once Iæd got my first frame, there was no stopping me Ö I had squares
  678. in circles, circles in squares, triangles, ovals, stars and various
  679. other shapes that have no geometric names, inside one another. I had
  680. hearts with arrows, bottles with see-through labels, as well as
  681. dozens of other indescribable shapes. Once Iæd satisfied my creative
  682. urges I thought to myself ÉSurely I Canæt Be The Only Person In The
  683. Acorn Fraternity Unaware Of Thisæ, so I decided to share it with the
  684. rest of the world.
  685. 10.3
  686. Hereæs the method I used and some pretty æorrible examples of my
  687. efforts. (On the Archive monthly disc. Ed.)
  688. 10.3
  689. Select Open Line Tool, single click at point A
  690. 10.3
  691. Move to point B, single click
  692. 10.3
  693. Move to point C, single click
  694. 10.3
  695. Move to point D, single click
  696. 10.3
  697. Move to point E, single click
  698. 10.3
  699. Select Move Tool
  700. 10.3
  701. Select Closed Curve Tool
  702. 10.3
  703. Single click at point F
  704. 10.3
  705. Move to point G, single click
  706. 10.3
  707. Move to point H, single click
  708. 10.3
  709. Move to point I, double click
  710. 10.3
  711. The basic shape is now drawn; clicking with <adjust> over the object
  712. will allow it to be altered to suit.
  713. 10.3
  714. Use the select box and style menu to alter line thickness, and line
  715. and fill colours.
  716. 10.3
  717. I have found the use of the PD application, Warfarin, invaluable in
  718. the drawing of the frames, especially the keypress replacements for
  719. the mouse buttons.
  720. 10.3
  721. Brian Coleman, Yar, Cleveland
  722. 10.3
  723. Portuguese keyboard Ö The command *country xxx configures the
  724. keyboard, but the ROM keyboard driver has only the UK layout
  725. definition, and no other. So, you need an international layout
  726. definition module which will be selected by the *country command.
  727. 10.3
  728. Since there was no such module for Portugal, I made my own with an
  729. application named !IKHG (Acorn International Keyboard Handler
  730. Generator), which Iágot from APDL. This is a very old program (RISC
  731. OS 2 epoch), but it is very efficient, easy enough to use, and it
  732. works!
  733. 10.3
  734. I now have a Portugal module installed in my PreDesk directory. It
  735. runs OK, and it drives my Portuguese keyboard on RISC OS 3.6!!! This
  736. !IKHG should be on every non-UK Acorn computer! (If anyone wants a
  737. copy, just email me.)
  738. 10.3
  739. Ricardoæs Portuguese keyboard driver plus a drawfile of the keyboard
  740. layout is on this monthæs disc, and Iæll try to get hold of !IKHG,
  741. too. It should be on the Acorn ftp site if I can find it! Ed.
  742. 10.3
  743. Ricardo Martins <ricmartins@mail.telepac.pt>
  744. 10.3
  745. StrongARM / ArcFS warning Ö Many PD and magazine discs (including
  746. Archive!) have archived material, and include a copy of !ArcFS so
  747. that files are self-extracting when clicked upon. Unfortunately, this
  748. often turns into a computer crash as their copy of !ArcFS has not
  749. been upgraded for StrongARM. A copy of the upgraded version is on the
  750. StrongARM CD, so delete or rename the old !ArcFS copy on the disc,
  751. because the computer will crash even when using the new copy once it
  752. has Éseenæ the old one. You can then drag the files to your upgraded
  753. copy of !ArcFS with no trouble.
  754. 10.3
  755. Lots of folk got caught on this one Ö sorry! Weæve updated all our
  756. discs now (I think!) Ed.
  757. 10.3
  758. Eric Ayers <ewayers@argonet.co.uk>
  759. Hints and Tips
  760. 10.4
  761. Archive CD Ö Weæve found a slight Éfeatureæ in the TextFind program
  762. on the Archive CD. It searches Volume 8 twice and doesnæt search
  763. Volume 9! It isnæt actually the program thatæs at fault, but the Data
  764. file it uses. When it was updated from the æ95 version to the æ96
  765. version, the changes in the Data file were not done properly. Sorry
  766. about that.
  767. 10.4
  768. This is how to modify it. Copy the whole of the !TextFind application
  769. to your hard disc. The program searches a path set by an OS variable
  770. and this is set in the !Run file, so this will need to be changed.
  771. Alter the line:
  772. 10.4
  773. Set TextFindSearch$ Path<Obey$Dir>.^.TEXT
  774. 10.4
  775. to:
  776. 10.4
  777. Set TextFindSearch$Path CDFS::ARCHIVE_96.$.TEXT
  778. 10.4
  779. That will make it look on the CD even though itæs being run from
  780. somewhere else.
  781. 10.4
  782. Now load the file ÉDataæ in the applicationæs directory into a text
  783. editor. This file defines all the files to be searched. If you look
  784. at the list of magazine filenames, you will see that the VOLUME 8
  785. references were duplicated, but we forgot to change the directory
  786. name to ÉVOLUME 9æ.
  787. 10.4
  788. So, look for lines like:
  789. 10.4
  790. 9 MAGAZINE.VOLUME_08.ISSUE_xx
  791. 10.4
  792. and change them to:
  793. 10.4
  794. 9 MAGAZINE.VOLUME_09.ISSUExx
  795. 10.4
  796. but only alter the lines beginning with É9æ.
  797. 10.4
  798. Thereæs a similar mistake in the products section, so youæll need to
  799. modify the last line of the file in a similar way.
  800. 10.4
  801. Sorry for the confusion. Weæll put a modified version on the monthly
  802. program disc if you donæt want to be messing about editing data files.
  803. 10.4
  804. Ed. <paul.NCS@paston.co.uk>
  805. 10.4
  806. Archive magazine storage (10.3 p64) Ö I have been using cardboard
  807. magazine boxes to store a variety of publications for years. At
  808. different times, I have bought ÉEsselteæ, ÉEastlight Storeallæ
  809. (93051) and Éa.i.m Packagingæ (013171), but I would not know where to
  810. go for these now.
  811. 10.4
  812. I do have a mail order catalogue from ÉNeat Ideasæ office supplies
  813. which lists them. They are oná0800-500192, fax:á0800-600192. The A5
  814. boxes are made by ÉR-Kiveæ (sounds appropriate) in woodgrain finish.
  815. The order number is 42856 and packs of 12 cost ú7.29 bought in
  816. quantities of 10+.
  817. 10.4
  818. (This sounded like good news, but I ordered a set, just to see how
  819. they compared with the, now discontinued, Fellowes ones that I
  820. mentioned last month Ö they ARE the, önow discontinued, Fellowes
  821. onesò! Bother!! Ed.)
  822. 10.4
  823. Steve Drain, Bridport
  824. 10.4
  825. Credit card numbers by email Ö Iáhave just read the article in
  826. Archive 10.3 p42 about sending credit card numbers by email. I agree
  827. it is a very convenient way of ordering goods. If the credit card
  828. details were Éencodedæ into a Squash/Spark/Arc file, then sent as a
  829. mail attachment, wouldnæt this be sufficient to prevent card number
  830. detection?
  831. 10.4
  832. (An excellent idea, Gary!! OK, it wouldnæt stop someone who was
  833. determined, but using Squash would be pretty effective. For once,
  834. being in the minority would be a singular advantage Ö how many
  835. criminals are öAcorn-awareò?! Feel free to use a Squashed Edit file
  836. to convey your credit card details if you like. Ed.)
  837. 10.4
  838. Gary Jones <gary@cams.nwnet.co.uk>
  839. 10.4
  840. Email management and address storage Ö As you can imagine, I receive
  841. large numbers of emails (up to 60 a day just after the magazine has
  842. gone out). Since the Marcel instructions say that files over 100
  843. messages or so become unwieldy, backing up the mail could be a bit of
  844. a nightmare, but I have developed a technique which seems to work
  845. well.
  846. 10.4
  847. In the main ÉMailæ directory, where the ÉINBOXæ and Ésentæ files are
  848. stored, I have text files called É_Addrsæ, É_Receivedæ and É_Sentæ,
  849. and other Marcel files called Énowæ, Éwaitæ and Ékeepæ. (The É_æ
  850. characters at the beginning of the names, simply makes them appear at
  851. the end of the directory, alphabetically.)
  852. 10.4
  853. When some emails come in, I load É_Receivedæ, and drag ÉINBOXæ into
  854. it, and re-save it. This archives the messages in case I decide I
  855. want to refer to them after they have been deleted from the Marcel
  856. file. Iáthen open the Énowæ file and drag all the incoming messages
  857. from ÉINBOXæ into this file. This ensures that I donæt archive the
  858. messages twice.
  859. 10.4
  860. (The uses of Éwaitæ and Ékeepæ should, hopefully, be fairly self-
  861. explanatory, and É_addrsæ is the text file of my email addresses Ö
  862. see below.)
  863. 10.4
  864. The É_sentæ text file provides a backup to the Marcel Ésentæ file
  865. which fills up rapidly and becomes unusable because of the huge
  866. length of time it takes to open and close it in Marcel Ö even with
  867. StrongARM.
  868. 10.4
  869. My emails come from many hundreds of different people, so storing
  870. their email addresses needed some thought too. Rather than trying to
  871. store them all in Marcelæs Address Book, I use !Zap (because I
  872. havenæt found out how to do it in StrongED yet!!) with its öSearch To
  873. Bufferò facility to go through the huge files of archived email
  874. messages, looking for öFrom:ò. The effect of this is to create a file
  875. of all the addresses from each of the emails. With a bit of massaging
  876. in StrongED, and sorting in PipeDream, I have a textfile of email
  877. addresses, and StrongEDæs interactive search facility means I can
  878. quickly locate anyoneæs email address.
  879. 10.4
  880. (Help, please?! As the weeks and months go by, this file gets bigger
  881. and bigger, and the addresses of those who email me frequently are
  882. repeated over and over again. Would someone be prepared to write me a
  883. simple application which takes a text file as input, and removes
  884. adjacent lines that are identical? Shouldnæt be too difficult for
  885. someone who knows what they are doing!)
  886. 10.4
  887. Ed. <paul.NCS@paston.co.uk>
  888. 10.4
  889. File download with ANT Suite Ö Now, I know you all know this (but I
  890. didnæt)... If you are told thereæs a file you want at, say, ftp://ftp.
  891. acorn.co.uk/pub/riscos/patches/printers153.arc, how would you get it?
  892. Well, I would have loaded the ftp client application, accessed ftp.
  893. acorn.co.uk and then worked my way laboriously through each of the
  894. directories. Try this instead...
  895. 10.4
  896. Have a Marcel file containing a dummy email. Load the Marcel file
  897. into your text editor (shift-double-click), add the ftp address on a
  898. blank line anywhere in the email text and save it again. Load it into
  899. Marcel and simply click on the address. It loads Fresco (not the ftp
  900. client), finds the file and presents it (after a certain download
  901. time) as a draggable directory Ö much easier!
  902. 10.4
  903. For users of StrongED, itæs even easier still!! You can simply drop a
  904. text file containing the address onto the iconbar, or type in the
  905. address, and then double-click on the address in StrongEDæs editing
  906. window. It will load Fresco for you and hey presto!
  907. 10.4
  908. Ed. <paul.NCS@paston.co.uk>
  909. 10.4
  910. Keyboard fault? Ö Today the letter ÉNæ on my A310æs keyboard gave up
  911. the ghost. Not being one to baulk at the idea of DIY repairs (or
  912. attempted repairs!), out came my trusty screwdriver.
  913. 10.4
  914. After switching the machine off, I unplugged the keyboard and mouse,
  915. and took the keyboard to a cleared table, complete with tablecloth.
  916. 10.4
  917. Turning the keyboard over revealed eight fixing screws, easily
  918. removed. The case splits in two, and a further seven screws remove
  919. the keyboard assembly from the case, and another 21 screws remove the
  920. printed circuit board (PCB) from the keys. If you attempt this, I
  921. suggest that you keep the assembly upside down or the bits may fall
  922. out.
  923. 10.4
  924. The bottom of each key switch has a small silver disc which makes
  925. direct contact with two semi-circular contacts on the PCB when
  926. pressed. On my machine, it was these contacts which had accumulated
  927. much Égrelpæ Ö it was a surprise that only the ÉNæ had stopped
  928. working!
  929. 10.4
  930. It was tempting to use cotton wool and isopropyl alcohol, but cotton
  931. wool is too hairy, Iæm told, so Iáused a screen cleaning pad Ö You
  932. know, the ones that are similar to KFC finger wipes, though
  933. Iáwouldnæt suggest you used one of those!
  934. 10.4
  935. As you can see from this, the letter ÉNæ is working fine now. As they
  936. say, reassembly is the opposite to disassembly.
  937. 10.4
  938. Perhaps someone could comment on the equivalent procedure for later
  939. machines.
  940. 10.4
  941. Tim Hill <tim.hill@argonet.co.uk>
  942. 10.4
  943. Keyboard cleaning is something that gets covered every so often, but
  944. itæs over three years since the last time it was mentioned. If you
  945. want more details, you can refer to: 3.9 p10,  4.7 p5,  5.1 p37,  5.2
  946. p28 and 7.1 p32. Ed.
  947. 10.4
  948. PC partitions (10.3 p 66) Ö If you have version of !PCx86 later than
  949. about 1.89, the !PCConfig application has another application,
  950. !PCFormat, inside its Resources directory. This can be copied from
  951. there and run independently to create as many DOS partitions as you
  952. want, with any names. I use this to provide partitions for my Pocket
  953. Book files to preserve names. It is quicker and simpler than keeping
  954. them in archives, and DOS mapping is in force too.
  955. 10.4
  956. As the partitions are RISC OS files, they can be copied and moved and
  957. you can have Drive_Cæs in more than one directory, or rename one as a
  958. backup. Just be sure to have one of them where the PC expects to find
  959. it, and that it has been formatted at some stage with the /s, system,
  960. switch.
  961. 10.4
  962. When copying files between partitions only, Étruncateæ has no effect,
  963. at least in RISCáOS 3.6.
  964. 10.4
  965. Another useful trick is to specify drive partitions on a path
  966. variable, e.g. <PCDrives$Dir>.C or on a pseudo-filing-system, e.g.
  967. PCDrives:C. Then the location of the drives does not have to be
  968. fixed. Examine the application É!PCDrivesæ to see what Iámean.
  969. 10.4
  970. Lastly, as the partitions are files you can change their extent. What
  971. good is that? If you create, say, an initialised 100Mb partition most
  972. of it is empty; only the beginning contains disc data and space for
  973. FAT etc. By removing the blank space you can have that 100Mb disc
  974. occupying only 216Kb in RISCáOS if it is empty of DOS files.
  975. Conveniently, as DOS files are added, RISCáOS extends the partition
  976. to accommodate them, but not from DOS inside !PCx86. I have used this
  977. for a while and had no problems at all (so far) to store and backup
  978. DOS files. Active drive partitions will not work if shortened.
  979. 10.4
  980. The partitions created by É!PCFormatæ are not actually the sizes you
  981. would expect, always smaller. How far you can reduce the extent
  982. without overwriting the FAT area can probably be determined, but I
  983. did it by trial. The reduced files are still nearly all empty so they
  984. compress very well. Iáhave made an ArcFS archive of a useful
  985. selection which you can copy out and rename.
  986. 10.4
  987. (Available on this monthæs program disc. Ed.)
  988. 10.4
  989. Steve Drain, Bridport
  990. 10.4
  991. TurboDrivers Ö Having reinstalled TurboDrivers following my upgrade
  992. to StrongARM, I found that I could not remember how to fix the
  993. position of the TurboDrivers status window and it took some time to
  994. find. So I thought this might be of interest to others.
  995. 10.4
  996. To locate and fix your TurboDrivers status window, position the
  997. status window where you want it, then press <f12> and type:
  998. 10.4
  999. *PQFSSaveWindows
  1000. 10.4
  1001. or
  1002. 10.4
  1003. *PQFS.
  1004. 10.4
  1005. (donæt forget the ö.ò after the öSò). If you donæt want it to appear
  1006. at all on start-up, close the window altogether and then use the
  1007. *PQFS. command.
  1008. 10.4
  1009. Chris Dawson <chris@seador.demon.co.uk>
  1010. 10.4
  1011. Hints and Tips
  1012. 10.5
  1013. Essential Selection demo CD Ö In Archive 10.1 p40, I wrote about YITM
  1014. öEssential CDò demo disc and its incompatibility with RiscPC 700
  1015. (RISCáOS 3.6) series 16-bit sound card, saying that it necessitated a
  1016. patch to be obtained and run first. This now only applies to the
  1017. original version 1 CD (December 1994) which was Acorn/PC dual
  1018. platform. The current version 2 (December 1995), Acorn platform only,
  1019. has the patch included on the CD-ROM and runs at start-up, offering
  1020. the choice of 8 or 16-bit sound. This later version also has several
  1021. additional demos of 1996 releases. It is a very well produced demo
  1022. disc of YITM educational multimedia catalogue and, best of all, it is
  1023. free!
  1024. 10.5
  1025. Colin Sutton, Bradford
  1026. 10.5
  1027. Hard disc nightmare Ö The tale of the lost IDE hard disc in last
  1028. monthæs Comment Column (10.4 p26) reminded me of a few weeks ago when
  1029. Iáaccidentally trashed my main SCSI HD. (Filecore wanted to know if
  1030. the disc had been formatted!) Like a fool, Iæd not taken backups
  1031. either.
  1032. 10.5
  1033. Anyway, just before I was about to throw myself off the top of a very
  1034. tall building, I remembered the fsck suite from Sergio Monesi. Not
  1035. only did I manage to make my disc readable again (without
  1036. reformatting), but I also managed to recover all my lost files using
  1037. fsck and Hardfix.
  1038. 10.5
  1039. I canæt recommend the fsck suite highly enough Ö it was the best ú5 I
  1040. ever spent.
  1041. 10.5
  1042. Ian Clark <rooster@cat1.demon.co.uk>
  1043. 10.5
  1044. PC partitions Ö Following on from my hint last month, p30, I have
  1045. just realised that I made
  1046. 10.5
  1047. an elementary mistake in the !Boot file:
  1048. 10.5
  1049. If PCDrives$Path=öò Then ...
  1050. 10.5
  1051. should have been:
  1052. 10.5
  1053. If ö<PCDrives$Path>ò=öò Then ...
  1054. 10.5
  1055. Sorry about that!
  1056. 10.5
  1057. Steve Drain <steve.d@virgin.net>
  1058. 10.5
  1059. Polling the Wimp Ö One of the problems with version 3.1 of RISCáOS is
  1060. the time taken to page applications in and out of memory when
  1061. multitasking. (I have heard it said that this problem has been
  1062. overcome with later versions.) If the application, at the time of
  1063. paging in and out, occupies a large wimp slot, this situation is even
  1064. worse.
  1065. 10.5
  1066. I find this problem most acute when using Twain with a scanner, but
  1067. other software, which is highly multitasking, can also slow down when
  1068. processing. Iáfind it essential to quit any large applications and
  1069. associated files, such as Impression, when acquiring an image from
  1070. the scanner, otherwise the scanner continually pauses as it waits for
  1071. the computer to catch up.
  1072. 10.5
  1073. The solution is for software writers to only have the wimp Épollæ
  1074. them when it is necessary, and to keep the slot sizes to a minimum.
  1075. Could the latter be achieved by storing large stationary data in the
  1076. System sprite pool? Hum! The former should be done by sending the
  1077. correct poll word and by setting up a list of messages you wish to
  1078. receive.
  1079. 10.5
  1080. The poll word, sent when you call Wimp_Poll, is to state which events
  1081. you are interested in receiving, and the list of messages contains
  1082. those you wish to receive via a message event. The message list is
  1083. important because of the large, and ever expanding, number of
  1084. messages that are Ébroadcastæ around the wimp. If you do not state
  1085. which messages you are interested in, you will be sent all of the
  1086. broadcast messages, such as when a directory is opened!
  1087. 10.5
  1088. The messages you wish to receive should be stated as:
  1089. 10.5
  1090. DEF PROCWimp_Start(taskname$)
  1091. 10.5
  1092. ON ERROR PROCError:END
  1093. 10.5
  1094. DIM wimp% 256
  1095. 10.5
  1096. task%=0
  1097. 10.5
  1098. wimp%!0=1     :REM Message_DataSave
  1099. 10.5
  1100. wimp%!4=2     :REM Message_DataSaveAck
  1101. 10.5
  1102. wimp%!8=3     :REM Message_DataLoad
  1103. 10.5
  1104. wimp%!12=4    :REM Message_DataLoadAck
  1105. 10.5
  1106. wimp%!16=8    :REM Message_PreQuit
  1107. 10.5
  1108. wimp%!20=&502 :REM Message_HelpRequest
  1109. 10.5
  1110. wimp%!24=&400C1 :REM Message_ 
  1111. 10.5
  1112. ModeChange
  1113. 10.5
  1114. wimp%!28=&808C1 :REM Message_
  1115. 10.5
  1116. TaskWindow_Output
  1117. 10.5
  1118. wimp%!32=0      :REM end of list
  1119. 10.5
  1120. SYSòWimp_Initialiseò,310,&4B534154, 
  1121. 10.5
  1122. taskname$,wimp% TO ,task%
  1123. 10.5
  1124. ENDPROC
  1125. 10.5
  1126. Please note that the version number used here is 310 (as in 3.10 Ö
  1127. there may be important additions for later versions) and also there
  1128. are many other possible messages you may like to receive.
  1129. 10.5
  1130. The wimp poll will only return to your task if an event has occurred
  1131. that you have stated you are interested in. If it is of no
  1132. consequence that the pointer has entered a window that you own, you
  1133. should mask this event out. If you do not, your application will be
  1134. paged into memory, an event ÉPointer_Entering_Windowæ will be sent to
  1135. you, you will ignore it, request the next wimp poll and be paged out
  1136. of memory.
  1137. 10.5
  1138. A far more important event to mask out is the Null_Reason_Code event.
  1139. This event will page in your application whenever the user is not
  1140. clicking away, to allow background processing. If you donæt need to
  1141. do any background processing, mask it out!
  1142. 10.5
  1143. Some code:
  1144. 10.5
  1145. REM Stages of the applicationæs life
  1146. 10.5
  1147. PROCWimp_Start(òMy Applicationò)
  1148. 10.5
  1149. PROCSetInitialData
  1150. 10.5
  1151. PROCWaitForEvent
  1152. 10.5
  1153. PROCWimp_CloseDown
  1154. 10.5
  1155. END
  1156. 10.5
  1157. REM The applications base state,
  1158. 10.5
  1159.  waiting for instruction
  1160. 10.5
  1161. DEF PROCWaitForEvent
  1162. 10.5
  1163. finished%=0   :REM Global variable can 
  1164. 10.5
  1165. be set anywhere
  1166. 10.5
  1167. REPEAT
  1168. 10.5
  1169.   PROCCallWimpPoll(%1)
  1170. 10.5
  1171.   REM mask out null event
  1172. 10.5
  1173. UNTIL finished%
  1174. 10.5
  1175. ENDPROC
  1176. 10.5
  1177. DEF PROCWimp_CloseDown
  1178. 10.5
  1179. REM close any files and tidy up and
  1180. 10.5
  1181.  then...
  1182. 10.5
  1183. SYSòWimp_CloseDownò,task%,òTASKò
  1184. 10.5
  1185. ENDPROC
  1186. 10.5
  1187. DEF PROCPolling
  1188. 10.5
  1189. REM call procedure during extensive
  1190. 10.5
  1191.  processing to keep multitasking
  1192. 10.5
  1193. PROCCallWimpPoll(%0)
  1194. 10.5
  1195. WHILE Paused%=1 AND Aborted%=0
  1196. 10.5
  1197.   PROCCallWimpPoll(%1)
  1198. 10.5
  1199.   REM mask out null event whilst
  1200. 10.5
  1201.  processing paused
  1202. 10.5
  1203. ENDWHILE
  1204. 10.5
  1205. ENDPROC
  1206. 10.5
  1207. DEF PROCCallWimpPoll(idle%)
  1208. 10.5
  1209. REM polling the wimp for events and a
  1210. 10.5
  1211.  short break in processing!
  1212. 10.5
  1213. LOCAL event%,mask%
  1214. 10.5
  1215. mask%=%11100100110000+idle%
  1216. 10.5
  1217. REM masked out events 4,5,8,11,12,13
  1218. 10.5
  1219.  as will not respond to them
  1220. 10.5
  1221. SYSòWimp_Pollò,mask%,wimp% TO event%
  1222. 10.5
  1223.   CASE event% OF
  1224. 10.5
  1225.   WHEN0 : REM will give you control
  1226. 10.5
  1227.  back for further processing
  1228. 10.5
  1229.   WHEN2 : PROCEvent_WindowOpen
  1230. 10.5
  1231.   WHEN3 : PROCEvent_CloseWindow
  1232. 10.5
  1233.   WHEN6 : PROCEvent_MouseClick
  1234. 10.5
  1235.   WHEN9 : PROCEvent_MenuChoice
  1236. 10.5
  1237.   WHEN17,18: PROCEvent_Message  
  1238. 10.5
  1239.     REM those stated in PROCWimp_Start
  1240. 10.5
  1241.   ENDCASE
  1242. 10.5
  1243. IF finished%=1 THEN Aborted%=1
  1244. 10.5
  1245. REM Aborted% is used here as a means
  1246. 10.5
  1247. REM to drop through processing for
  1248. 10.5
  1249. REM various reasons and not just
  1250. 10.5
  1251. REM when finishing!
  1252. 10.5
  1253. ENDPROCáuá
  1254. 10.5
  1255. Robert Lytton, Leeds
  1256. 10.5
  1257. Printing from both RISC OS and Windows Ö I have an Aleph One PC
  1258. podule card in my A540, and I find printing from Windows, through the
  1259. A540 and a Turbo Driver, to be terribly slow. There are various
  1260. Éfixesæ for this, but I need things to work for my non-technical wife
  1261. (not the other one). So I decided to buy a printer sharer (RS number
  1262. 215-016) and connect it to both the A540 printer port (using the
  1263. Turbo Driver cable) and to the PC card (with a regular cable). I then
  1264. configured the PC card to use its own printer port. To work in
  1265. Windows it is vital to turn off the Windows Éfast print to portæ
  1266. option which is on by default. From the Control panel, you must go
  1267. through Printers, to Connect, to find the box to click.
  1268. 10.5
  1269. Brian Cowan <UHAP027@vms.rhbnc.ac.uk>
  1270. 10.5
  1271. StrongED & Keystroke Ö Has anyone tried the combination of Keystroke
  1272. and StrongED? At first when I moved over to StrongED, I had real
  1273. difficulties because Keystroke does not seem to be able to
  1274. communicate with StrongED when it comes to cursor movements within
  1275. öInsert textò commands. (Has anyone else had that problem and/or
  1276. solved it?)
  1277. 10.5
  1278. Anyway, I have got round it to some extent by using the \@ within
  1279. StrongED to mark a place to which the cursor should go, and using
  1280. Keystroke to enter the characters that call up the abbreviation.
  1281. 10.5
  1282. For example, I need keystrokes that simplify some of the editing when
  1283. answering emails. So suppose I start with the following text:
  1284. 10.5
  1285. > end of the paragraph.
  1286. 10.5
  1287. >
  1288. 10.5
  1289. > This is the start of the
  1290. 10.5
  1291. I have a Keystroke that is defined as |?|?$; (i.e.ádelete, delete
  1292. followed by $;) and then I have a StrongED abbreviation definition
  1293. for $; as \n\n\@\n\@ which means type two returns, mark where the
  1294. cursor is to go (\@), do another return and then go back to where we
  1295. want the cursor. I then put the cursor on the blank line between the
  1296. two paragraphs that I want to split, and I end up with:
  1297. 10.5
  1298. > end of the paragraph.
  1299. 10.5
  1300. I type on this line... etc
  1301. 10.5
  1302. > This is the start of the
  1303. 10.5
  1304. StrongED is extremely powerful, and Iæm hoping weæll soon have some
  1305. articles on it, hopefully two lots, one for beginners (because I
  1306. found it very difficult to get started) and one to encourage people
  1307. into using it more deeply.
  1308. 10.5
  1309. One other quick hint (from Guttorm Vik himself) is to use ` for your
  1310. abbreviation definitions instead of $. The reason for using it is
  1311. that, unlike $, it is an un-shifted character and is therefore
  1312. quicker to type. So, I have things like:
  1313. 10.5
  1314. `ri  RISCáOS
  1315. 10.5
  1316. `rp  RiscPC
  1317. 10.5
  1318. `sm  StrongARM
  1319. 10.5
  1320. `sa  Small Ads
  1321. 10.5
  1322. `se  StrongED
  1323. 10.5
  1324. In each case, itæs three simple un-shifted keystrokes to produce
  1325. complex combinations of shifted and un-shifted letters.
  1326. 10.5
  1327. Oh, and I use `` for öUKPò which I use in emails instead of the pound
  1328. sign which isnæt handled properly by email systems that canæt cope
  1329. with MIME encoding.
  1330. 10.5
  1331. Ed. <paul.NCS@paston.co.uk>
  1332. 10.5
  1333. System font Ö Since starting to use email, Iáhave been using system
  1334. font much more frequently, especially because of !PtrCopy which is so
  1335. useful for avoiding having to re-type email addresses Ö just öwipeò
  1336. them from some text file into the writeable icon of the öMail toò
  1337. window Ö see 9.8 p23. (but Iádigress!)
  1338. 10.5
  1339. The thing I hate about the system font is the Éslashedæ zeros which I
  1340. find so difficult to read. I used to use a command in my boot file
  1341. that reprogrammed the screen definition of the zero, so I set out to
  1342. find it again and reinstall it on my StrongARM RiscPC! Iáfound it in
  1343. Archive 1.12! It was given in the form of VDU commands:
  1344. 10.5
  1345. VDU23,48,60,102,102,102,102,102,60,0
  1346. 10.5
  1347. VDU23,79,126,102,102,102,102,102,126,0
  1348. 10.5
  1349. These can be put in a Basic program, but if you want to use an Obey
  1350. file, and put it in the PreDesk directory, you need the command line
  1351. equivalent:
  1352. 10.5
  1353. *echo<23><48><60><102><102><102><102>
  1354. 10.5
  1355. <102><60><0>
  1356. 10.5
  1357. *echo<23><79><126><102><102><102>
  1358. 10.5
  1359. <102><102><126><0>
  1360. 10.5
  1361. This redefines the zero (ASCII 48) into the shape of the capital O,
  1362. and then squares up the shape of the capital O (ASCII 79) to
  1363. differentiate the two.
  1364. 10.5
  1365. Ed. <paul.NCS@paston.co.uk>
  1366. Hints and Tips
  1367. 10.6
  1368. AMD 5x6 devices Ö Anyone who purchases a 5x6 card, or upgrades their
  1369. current card to a 5x6, should be aware that if it is an AMD device,
  1370. it will not work if you have the PCSleep directory in your !Boot.
  1371. Choices.Boot.Predesk directory. It is not always obvious that you
  1372. have this chip, as it is covered with a fan.
  1373. 10.6
  1374. The symptoms are that, on boot up, the PC device will be reported as
  1375. a 486SXLC2, and you will receive the message ÉUnable to set
  1376. parameters IDE drive 0, error code 0080hæ. Then it will report ÉNo
  1377. boot device Ö Retryingæ.
  1378. 10.6
  1379. Removing the PCSleep directory cures this problem. You must, however,
  1380. close down and switch off your machine to reboot, before trying to
  1381. run the PC Card without PCSleep.
  1382. 10.6
  1383. This is apparently typical of cards supplied by CJE Micros and Q-
  1384. Tec/MCS.
  1385. 10.6
  1386. Thanks to Aleph One for sorting this out for me.
  1387. 10.6
  1388. Eddie Lord <72046.251@CompuServe.COM>
  1389. 10.6
  1390. Deleting text in writeable icons Ö Do you ever tire of having to
  1391. accomplish <ctrl-U> with one hand? (Everybody does know you donæt
  1392. have to use delete repeatedly, donæt you?! Ed.)
  1393. 10.6
  1394. Try putting the following in your boot file:
  1395. 10.6
  1396. Key 11 |U
  1397. 10.6
  1398. |F11 = <Ctrl-U> Ö RISC OS delete line
  1399. 10.6
  1400. I chose <f11> as it was available (to me) and near the backspace key.
  1401. So, when offered öTextFileò or, worse, something like öSCSI::Hard.$.
  1402. Clipboard.ScratchPad.TaxReturnò, simply hit <f11> and the text will
  1403. be deleted Ö it seems to work in most writeable icons.
  1404. 10.6
  1405. Unfortunately, applications such as Impression use the function keys
  1406. for all manner of purposes, and so <f11> on its own does not work.
  1407. What a shame! (Now, whereæs my copy of the Style Guide?)
  1408. 10.6
  1409. Tim.Hill@argonet.co.uk
  1410. 10.6
  1411. Duff RiscPC mains switche(r)s? Ö If you have had trouble with the
  1412. mains switch on a RiscPC, you may be able to learn from my
  1413. experience. The switch on my computer sometimes didnæt work first
  1414. time I pressed it Ö what is more, over a period of a week or so, it
  1415. seemed to get worse.
  1416. 10.6
  1417. As it got worse, I pressed the button more and more firmly to make it
  1418. work, but still it just seemed to get worse and worse. Then the penny
  1419. dropped. (Iæm a bit slow you see!)
  1420. 10.6
  1421. I then tried pressing the button slowly and gently... and it now
  1422. works perfectly, every single time!!!
  1423. 10.6
  1424. P.S. Well, actually, not every time. Iæve also now discovered that it
  1425. tends to catch if you push towards the left, so gentle pressure
  1426. towards the right (i.e. the edge of the computer) helps ensure smooth
  1427. action.
  1428. 10.6
  1429. Ed. <paul.NCS@paston.co.uk>
  1430. 10.6
  1431. Interactive help Ö It is always a good idea to add interactive help
  1432. to an application, to be used by !Help. Hopefully, the application is
  1433. so intuitive that it is superfluous, but it may quickly inform
  1434. someone of a function or shortcut that is only obvious by Reading The
  1435. Fine Manual! Much of the help text can become repetitive and take up
  1436. a surprising amount of memory. However, you can use the following
  1437. code to shorten the writing and storage space for these terse phrases:
  1438. 10.6
  1439. \S Ö Click SELECT to
  1440. 10.6
  1441. \R Ö Move the pointer right to
  1442. 10.6
  1443. \A Ö Click ADJUST to
  1444. 10.6
  1445. \T Ö This is the
  1446. 10.6
  1447. \G Ö This option is greyed out because
  1448. 10.6
  1449. \W Ö This window is
  1450. 10.6
  1451. \D Ö Drag SELECT to
  1452. 10.6
  1453. \d Ö Drag ADJUST to
  1454. 10.6
  1455. \w Ö window
  1456. 10.6
  1457. \s Ö SELECT
  1458. 10.6
  1459. \a Ö ADJUST
  1460. 10.6
  1461. All the phrases will have a trailing space except \w, \s and \a.
  1462. 10.6
  1463. The help messages use ÉGSæ strings to receive codes that are not
  1464. available from the keyboard. To add any ASCII codes from 1 to 26, you
  1465. have to use the codes |A to |Z. So, for a new line (ASCII 13) use |M.
  1466. If you wish to use the | character, you must use double ||, similarly
  1467. with |ö for ò.
  1468. 10.6
  1469. Robert Lytton, Leeds
  1470. 10.6
  1471. Ovation spelling checker hint Ö In checking the spelling of a
  1472. document, I have often come across the problemáof a word, which is
  1473. listed as incorrect, but which needs to be left as it is. One example
  1474. of this is if you are writing about the misspelling itself, and
  1475. another is where such things as file or variable names are very close
  1476. to the correct spelling of some word.
  1477. 10.6
  1478. I donæt want to add the word to the dictionary as it is Éwrongæ, and
  1479. if I tell the checker to ignore it, any further misspellings in the
  1480. same document will also be ignored. At Acorn World, I was talking to
  1481. John Wallace of Beebug about this, and asking for a skip button to be
  1482. added to the dialogue box. He mentioned some of the difficulties of
  1483. changing the program and then, suddenly, said öYou donæt need it!
  1484. Just press the replace button and the checker will Éreplaceæ the
  1485. incorrect word with the copy of itself which is sitting in the
  1486. dialogue box.ò Now that I know, it is obvious, and I have checked
  1487. that it works with Ovation, but it does not work with either
  1488. Impression or Fireworkz. In these two programs, the main possible
  1489. replacement is put into the dialogue box automatically, whereas in
  1490. Ovation you have to select it first.
  1491. 10.6
  1492. David Wild, Hemel Hempstead
  1493. 10.6
  1494. PCPro problem Ö I installed !PCPro recently and was happy with its
  1495. performance except that, whenever I wanted to close down the PC
  1496. window, my RiscPC 700 locked up and needed a full reset. After much
  1497. trial and error, I was able to fix the fault when Iáremoved the non-
  1498. standard screen mode definitions that I had installed a year earlier,
  1499. and reverted to the normal Acorn modes. The definitions that caused
  1500. the problem were from Andrew Newton (on the Archive 8.5 program disc)
  1501. and were originally designed to avoid letter box presentation when
  1502. using the old Archimedes modes 1Ö15. This is not a criticism of
  1503. Andrewæs work, just a note on incompatibility!
  1504. 10.6
  1505. Jim Davies, Paignton
  1506. 10.6
  1507. PipeDream function keys Ö Having upgraded to PipeDream 4.5 to work
  1508. with StrongARM, I was disappointed that all the useful PD3 function
  1509. keys had been lost. They can be reclaimed as follows: Move the
  1510. PD3Keys file from the !PipeDream.Resources.CmdFiles directory to
  1511. !PipeDream.User and rename it ÉKeyæ.
  1512. 10.6
  1513. (Michael Nurse)
  1514. 10.6
  1515. Michael Nurse, Cambridge
  1516. 10.6
  1517. Polling the wimp Ö In Archive 10.5, p31, Polling the Wimp, Robert
  1518. Lytton commented that scanning with Twain is slow due to the presence
  1519. of other tasks which slow down polling. This is a common observation
  1520. and there is a solution. To quote the ImageMaster !ReadMe file:
  1521. 10.6
  1522. In release 1.05, a new variable has been added to the !ImgMaster.
  1523. Resources.Config file Ö ÉPollCountæ controls how often ImageMaster
  1524. will give control back to the desktop. The reason for this is that,
  1525. on the RiscPC, polling is slow, and scanning can be a lengthy process
  1526. if other tasks are running. By increasing PollCount, you can reduce
  1527. this effect.
  1528. 10.6
  1529. David Pilling <david@pilling.demon.co.uk>
  1530. 10.6
  1531. Random backdrop textures Ö In RISC OS 3.6, if you set random backdrop
  1532. textures in Configure and then save a Boot file, you will always get
  1533. the same backdrop. What happens, it seems, is that Configure saves
  1534. the file ($.!Boot.Choices.Boot.Tasks.Configure) with the line öRun
  1535. BootResources:Configure.Textures.RTextureò, which runs a small Basic
  1536. program to select a random backdrop. However, the Boot file saves
  1537. whichever texture you had when the file was saved, and as this is run
  1538. after $.!Boot.Choices.Boot.Tasks.Configure, you are stuck with this
  1539. backdrop for ever.
  1540. 10.6
  1541. To get round this, put the line öRun BootResources:Configure.Textures.
  1542. RTextureò in your Boot file in the Pinboard section.
  1543. 10.6
  1544. Peter Young <pnyoung@argonet.co.uk>
  1545. 10.6
  1546. Soft cases for the Psion Siena Ö these cost upwards of ú20, but for
  1547. about ú2, I bought a Specsavers soft case for spectacles and it takes
  1548. the Siena snugly. The spring-mouthed pouch (in a variety of colours)
  1549. excludes dirt, provides some physical protection and disguises the
  1550. expensive gadget sitting on the desk! Iæm sure other opticians do
  1551. their own equivalent.
  1552. 10.6
  1553. David Andrews <music.man@zetnet.co.uk>
  1554. 10.6
  1555. StrongARM öfunnyò Ö I have a number of PC CD-ROMs with clipart, and
  1556. so I bought ImageFS2 so that I could get at them without using the PC
  1557. card. After my StrongARM was fitted, ImageFS2 wouldnæt work, so I had
  1558. to wait for the upgrade from Alternative Publishing.
  1559. 10.6
  1560. However, I was consoled by the fact that the new version would add
  1561. WMF files to the list of those types to be converted automatically.
  1562. When the new version arrived, it came with new versions of CD_Fix and
  1563. CD_Type, as the old versions would not work with the new operating
  1564. system.
  1565. 10.6
  1566. Because I am not using the CD system all the time, my practice had
  1567. been to click on CD_Fix as I needed it, and this had worked from the
  1568. day I received my RiscPC over a year ago. So, I installed the new
  1569. versions of the programs, clicked on CD_Fix and, after about ten
  1570. minutes, I switched the machine off, as nothing would work at all.
  1571. After several retries, all with the same result, I remembered that it
  1572. might change things if I turned the cache off before loading CD_Fix.
  1573. There was a change Ö <ctrl-break> would now work, but nothing else!
  1574. 10.6
  1575. I telephoned everyone who might be able to help, but no-one seemed to
  1576. have met the problem before. Cumana sent me a disc with the latest
  1577. version (2.04) of the SCSI II software, but this just made the
  1578. machine completely unusable, so I had to go back to the previous
  1579. version (2.03). Robin Watts of Warm Silence Software eventually gave
  1580. me the vital clue, which caused me to transfer the calling of CD_Fix
  1581. from öas requiredò to being included in the boot file ADFS::HardDisc4.
  1582. $.!Boot.Choices.Boot.Desktop. Some of my hair has now started to
  1583. regrow, and everything seems to work the way that the book says.
  1584. 10.6
  1585. David Wild, Hemel Hempstead
  1586. 10.6
  1587. StrongARM patch Ö I have a StrongARM RiscPC on which I run
  1588. PipeDream4, which occasionally crashed mysteriously with the message
  1589. öNo stack for trap Handlerò. On the advice of Colton Software, I
  1590. obtained a copy of the software patch from Acornæs FTP site,
  1591. advertised thus:
  1592. 10.6
  1593. riscos370sa: Patch for RISC OS 3.70 StrongARM users which improves
  1594. printing speed and in-use stability. It is very, very strongly
  1595. recommended that RISC OS 3.70 users install this!!
  1596. 10.6
  1597. I installed it in PreDesk as per instructions. However, to remind me
  1598. of the process, I copied the ReadMe file into PreDesk as well. This
  1599. completely disrupted my Boot sequence, which failed to recognise VRAM
  1600. or monitor, and refused to accept that I wished a RAMDisc to exist.
  1601. It was unreconfigurable, because no pathname had been set for the
  1602. data. A 640╫480, 16 colour mode was all that 2Mb VRAM and an AKF85
  1603. could manage!
  1604. 10.6
  1605. Removing the ReadMe file (filetype TEXT) eventually resolved the
  1606. problem. By experiment, I found that it did no harm in Boot, nor in
  1607. ROMPatch, but was fatal in PreDesk.
  1608. 10.6
  1609. Page 5-229 (!Boot Application) of the PRM states, in respect of the
  1610. PreDesk directory:
  1611. 10.6
  1612. Action taken on files and subdirectories Ö The files and directories
  1613. held within the PreDesk directory are acted on in the following Order:
  1614. 10.6
  1615. Any files of type Module are run using *RMLoad.
  1616. 10.6
  1617. Any files of type Sprite are run using *IconSprites.
  1618. 10.6
  1619. Any files of type Obey are run using *Obey -c.
  1620. 10.6
  1621. Any directories are run using *Run.
  1622. 10.6
  1623. All other files are ignored.
  1624. 10.6
  1625. Donæt you believe it!
  1626. 10.6
  1627. Mick Day <mickday@mail.zynet.co.uk>
  1628. 10.6
  1629. Email editing with StrongED Ö When quoting a long section in
  1630. someoneæs email, rather than [SNIP] it completely, I use StrongEDæs
  1631. wonderful ability to mark a block of text as shown overleaf. (Drag
  1632. with <alt> held down.)
  1633. 10.6
  1634. I then cut that section, thereby reducing the bulk of the message,
  1635. but allowing enough for the sender to recognise what the original was
  1636. about.
  1637. 10.6
  1638. I also add a ö.......[SNIP]ò message so they know that the email
  1639. hasnæt been garbled in transit. Needless to say I only have to type
  1640. ö`1ò, and StrongEDæs abbreviation system leaps into action to type
  1641. the required snip text!
  1642. 10.6
  1643. Ed. <paul.NCS@paston.co.uk>
  1644. 10.6
  1645. Windows 95 file transfer Ö There have been a few articles in the past
  1646. that explained how to transfer files between two PC partitions. The
  1647. methods explained are OK if you are using Windows 3.11 or below, but
  1648. not for Windows 95 using long file names (i.e. files that donæt use
  1649. the 8.3 format that DOS uses). When you view Windows 95æs LFNs in any
  1650. OS other than 95, you can only see its truncated version.
  1651. 10.6
  1652. For example, a file called ÉA very long storyæ viewed in DOS, Windows
  1653. 3.11 or RISC OS would appear as ÉAVERYL~1.DOCæ. Copying the file in
  1654. this form destroys the LFN, and so the file ceases to function
  1655. correctly.
  1656. 10.6
  1657. There is, however, a way to copy these truncated files by using a
  1658. utility that comes with Windows 95 (CD version only) called LFNBK
  1659. (Long File Name Backup). All you have to do is to copy it into your
  1660. Windows 95 directory. If you then run it from a DOS session inside
  1661. Windows 95, with the parameter /b (b for backup), i.e.
  1662. 10.6
  1663. LFNBK/B
  1664. 10.6
  1665. then all the LFNs are truncated, and the tail-ends are stored in a
  1666. ÉLFNBK.DATæ.
  1667. 10.6
  1668. Remember though, that for every directory you wish to copy across,
  1669. you must copy the LFNBK utility into the respective directory and run
  1670. it.
  1671. 10.6
  1672. Now copy across all you wish to transfer to your new partition, in
  1673. the usual RISC OS fashion, by opening up the two partition windows
  1674. and dragging the files across.
  1675. 10.6
  1676. When all the files are in the new partition, run the LFNBK utility
  1677. again but this time with the /r (r for restore) option. All the LFNs
  1678. are now restored.
  1679. 10.6
  1680. The last thing to do is to setup up the new partition with !PCconfig.
  1681. 10.6
  1682. Jochen Konietzko <kon@hmanngym.k.nw.schule.de>
  1683. 10.6
  1684. Zap Basic editing Ö I recently needed a small Basic program to do a
  1685. calculation for me, and created it using Zap. When I ran the program,
  1686. I had a ömissing TOò error, because I had forgotten to put the word
  1687. in capitals. I went back into Zap to correct the error, and used
  1688. <ctrl-S> to change the case.
  1689. 10.6
  1690. The Basic system still refused to accept my program until I deleted
  1691. the word completely, and retyped it in upper case. It would seem that
  1692. once it has registered the presence of a variable, which ötoò would
  1693. be, it will not recognise the alteration.
  1694. 10.6
  1695. David Wild, Hemel Hempsteadáuá
  1696. Hints and Tips
  1697. 10.7
  1698. Abbreviations in PipeDream Ö I run a sales system in PipeDream. One
  1699. of the features is that we can type a short name into the first
  1700. column of the sales sheet. If it finds the short name in the first
  1701. column of the address list, it replaces it by the expanded full name.
  1702. So, if I typed in ÉNCSæ, PipeDream would recognise this and replace
  1703. it with Norwich Computer Services. The formula is:
  1704. 10.7
  1705. if(type(lookup(B195,[Addresses]C$1C$1000,
  1706. [Addresses]C$1C$1000))=öerrorò,set_value(B195,lookup(B195,
  1707. [Addresses]A$1A$1000,[Addresses]C$1C$1000)),öOKò)
  1708. 10.7
  1709. Once the full name has been inserted, the formula returns OK. If the
  1710. short name doesnæt exist, then an Éerroræ is given. This is very
  1711. useful Ö it also shows that the customer exists in the database and
  1712. has been accepted.
  1713. 10.7
  1714. Richard Torrens <4qd@argonet.co.uk>
  1715. 10.7
  1716. Command line made easy Ö In Archive 10.6, öMultitasking Made Easyò,
  1717. David Wild referred to the difficulty of invoking applications from
  1718. the CLI.
  1719. 10.7
  1720. There are two ways to make life easy for CLI users:
  1721. 10.7
  1722. Å put frequently used commands in the Library (this is usually $.
  1723. !Boot.Library for a RiscPC)
  1724. 10.7
  1725. Å use aliases (set Alias$...)
  1726. 10.7
  1727. The latter is used by WIMP apps to record how to do certain actions.
  1728. It can also be used in RISC OS without any additional software to
  1729. make shortcuts for CLI users.
  1730. 10.7
  1731. As I use several systems at work, I often type the Éwrongæ command
  1732. when I change systems. Under RISC OS this is no problem, I simply
  1733. Alias$ the foreign string to the local one. For example:
  1734. 10.7
  1735. set Alias$ls : cat
  1736. 10.7
  1737. so if I have been overdoing the UNIX during the day, it still works.
  1738. Simple!
  1739. 10.7
  1740. Peter Chambers <peter@hightown.demon.co.uk>
  1741. 10.7
  1742. Creating a font table Ö I have created a file using TableMate
  1743. Designer (v4.01a) showing a table of the keyboard ASCII numbers and
  1744. the characters they produce for a given font. The file is included on
  1745. this monthæs disc.
  1746. 10.7
  1747. The default is Trinity.Medium, but by the use of the TableMate style
  1748. options, you can change the font to any other font, and the character
  1749. set will be changed and displayed in the appropriate column.
  1750. 10.7
  1751. To alter the style, first you have to enter the Edit Style option.
  1752. You can do this either through the standard RISC OS menu options, or
  1753. by <ctrl-f6>. From this window, you click on the Name pop-up button,
  1754. and from the options that appear, select FontDemo. Then you repeat
  1755. the process for the Font Name. The list of fonts that appears from
  1756. this menu will depend on the fonts currently installed into your font
  1757. manager. The only part that you have to change manually is the Font
  1758. Name in the Header line.
  1759. 10.7
  1760. At any time, the table can be printed, saved or exported to Draw, CSV
  1761. or even HTML File formats. If you save the table out as a drawfile,
  1762. you can then load it into CCæs ArtWorks where you can create some
  1763. unusual graduated cell backgrounds within the table. However, before
  1764. you do this, make sure you are 100% happy with the rest of the table,
  1765. and save it as a TableMate file because Draw/Artworks files cannot be
  1766. reloaded into Tablemate.
  1767. 10.7
  1768. (If you donæt have Tablemate, you can load the drawfile version Ö
  1769. also on the monthly disc Ö and Select All, StyleÖFont name and select
  1770. the font you want. Thatæs OK unless you want to display something
  1771. like Dingbats Ö the ASCII numbers all turn into Dingbats, so you
  1772. canæt see whatæs what! Ed.)
  1773. 10.7
  1774. Jonathan Frankl, Bradford
  1775. 10.7
  1776. Creating neat screenshots Ö If you are using the screen-grab facility
  1777. in Paint, to capture part of the screen Ö one or more windows Ö then
  1778. you get a much neater result if you open a blank (white) Edit window
  1779. or Impression window, and then arrange the windows to be grabbed in
  1780. front of that. It means that you get a nice clean white border around
  1781. the windows Ö much neater for an illustration in Archive!
  1782. 10.7
  1783. Ed. <paul.NCS@paston.co.uk>
  1784. 10.7
  1785. Deleting text from writable icons (10.6 p.23) I have been using the
  1786. IClear module until recently but found that it interfered with some
  1787. applications such as Impact and a simple banking program (Illegal
  1788. window handle type errors). So now Iæve used Keystroke to give a
  1789. <ctrl-U> when I hold <alt> and click <select> in the icon. I find
  1790. this even easier than IClear.
  1791. 10.7
  1792. (Keystroke is GREAT, but itæs a pig to know how to set things up. I
  1793. tried to set up <alt>-<select> but failed, so I asked Alan to
  1794. explain. Ed.)
  1795. 10.7
  1796. I achieved it with just one operation. I opened a Keystroke window as
  1797. usual and ensured it had the focus. I held down <alt>, and clicked in
  1798. the top RH box with <select>. ÉAltæ blacked out at the top of the
  1799. Keystroke window, and ÉSelectæ showed in the top RH box. I then chose
  1800. ÉInsert textæ and simply put |U in the writable icon labelled Étext:æ
  1801. and pressed <return>... ...and thatæs it Ö just a one-page Keystroke
  1802. macro! Now I simply place the pointer in a writable icon, hold down
  1803. an <alt> key and click <select>. Any text in the icon is immediately
  1804. cleared.
  1805. 10.7
  1806. Alan Gentle <alang@parkside.zynet.co.uk>
  1807. 10.7
  1808. File download with ANT Suite Ö In the January Hints and Tips (10.4
  1809. p29), Paul suggested creating a dummy email in ANTæs Marcel in order
  1810. to fetch deeply-buried files from an FTP site.
  1811. 10.7
  1812. An alternative method is to add the FTP URL to the Hotlist. If the
  1813. FTP client is not loaded, the Hotlist will call upon Fresco in
  1814. preference.
  1815. 10.7
  1816. In addition, any FTP URLs in the Hotlist are also available from the
  1817. list in the FTP client öConnect...ò window. Any extra path
  1818. information supplied in the URL appears in the öDirectoryò field.
  1819. 10.7
  1820. Nick Chalk <nickchalk@enterprise.net>
  1821. 10.7
  1822. Fractions Ö I read Gerald Chandleræs column on fractions (10.6 page
  1823. 75) with great interest, but from a different perspective. I enjoy
  1824. fractions Ö they remind me of a time of quality in engineering, of
  1825. leather aprons and craft workshops. Brilliant! So when I read of the
  1826. problem, I thought that there had to be a better way (or rather
  1827. another way). I thought that most people would not want to be limited
  1828. to a few specialised fonts, so this is my suggestion.
  1829. 10.7
  1830. I think that the way forward is to use one of Geraldæs early
  1831. suggestions, namely that of adjusting the super- and sub-script
  1832. options and to adjust the kerning to give you the characters you
  1833. require.
  1834. 10.7
  1835. The problem, as was quite rightly pointed out, was the vast number of
  1836. keystrokes required to get to the finished result. A lot of
  1837. keystrokes?... ...call for Keystroke!
  1838. 10.7
  1839. I suppose most of you know of Keystroke from Quantum Software. This
  1840. brilliant utility allows you to automate your keyboard so that with a
  1841. touch of a key, dozens of things can happen, menus open, text gets
  1842. typed in, windows moved, almost anything and setting it up is so
  1843. easy. In fact, I have to say that there has not been a repetitive job
  1844. I ever come across that !Keystroke couldnæt handle Ö it has saved me
  1845. hours and hours of work. Enough of the advert, if you donæt have
  1846. Keystroke then get it Ö you wonæt be sorry. Still, if you remain
  1847. unconvinced you can have a bit of it for free! Read on...
  1848. 10.7
  1849. The requirement is to type in a long series of commands to your
  1850. wordprocessor to get your text displayed correctly. In Impression,
  1851. the commands needed to type in one eighth would be something like:
  1852. 10.7
  1853. {Ö50 }1/8
  1854. 10.7
  1855. A space after the final  is important. It produces: 1/8
  1856. 10.7
  1857. Fortunately, Stuart at Quantum (home of !Keystroke) has written a
  1858. little basic program that will effectively Étype inæ any text you
  1859. like. The program (called Sendtext) is distributed with !Keystroke
  1860. (in the !KeyLib) and (with any luck) will be distributed on this
  1861. monthæs magazine disc.
  1862. 10.7
  1863. You could use the program from an obeyfile using something like :
  1864. 10.7
  1865. <Obey$Dir>.Sendtext {Ö50 }1/8
  1866. 10.7
  1867. You could then have obey files for each fraction. Every time you
  1868. wanted a fraction then all youæd need to do would be to double-click
  1869. the obey file.
  1870. 10.7
  1871. Even neater would be to use Dave Thomasæs excellent !Makro. The copy
  1872. Iæve sent to Paul is all set up and ready to go. If you use it, drop
  1873. a line to Dave and tell him how good it is, heæs a good chap and we
  1874. all do better with a bit of encouragement.
  1875. 10.7
  1876. So there you go Ö easy fractions in any font at the click of a
  1877. button. By the way, when I asked Stuart if I could use his software
  1878. like this, he had no hesitation in agreeing. Thanks, Stuart, on
  1879. behalf of all Archive readers!
  1880. 10.7
  1881. Bob Harding, 40 Bremhill, Calne, Wilts. SN11 9LD. <rharding@argonet.
  1882. co.uk>
  1883. 10.7
  1884. Impression background printing Ö To print from Impression in the
  1885. background, save the document, quit it from memory, then drag it onto
  1886. the printer icon on the iconbar.
  1887. 10.7
  1888. Frank Jukes <frank@fjukes.demon.co.uk>
  1889. 10.7
  1890. Impression centring graphics Ö Now I know this may seem obvious to
  1891. some of you, but youæd be amazed at the number of articles I get with
  1892. graphics centred by eye, with spaces. The first essential is to know
  1893. about embedding a graphic in the text. This can be done by dropping
  1894. it in, or by copying it with <ctrl-C> and pasting it with <ctrl-shift-
  1895. F>. So, to centre a graphic, press <return> at the end of the
  1896. paragraph below which the graphic is to go so that the cursor is on a
  1897. blank line between the two paragraphs. Now press <f6>, and the cursor
  1898. will move to the centre of the page or column. Now drop the graphic
  1899. in there, or paste with <ctrl-shift-F>.
  1900. 10.7
  1901. Ed. <paul.NCS@paston.co.uk>
  1902. 10.7
  1903. Midi voice tables Ö In my beginnersæ article öMidi For The Massesò
  1904. (10.3 p28), I referred to tables detailing the 128 voices of the
  1905. General Midi set. These should relate easily to the software patches,
  1906. as used with ReMIDI, where the patch filename is abbreviated and its
  1907. meaning probably not obvious to the beginner. The tables were not
  1908. actually printed with the article Ö no doubt due to limited space Ö
  1909. although the TableMate-3 and Drawfile versions were included on the
  1910. subscription disc. Non-disc subscribers, however, would have been at
  1911. a disadvantage. Also included is a table of the General MIDI
  1912. Percussion Drum Set along with their pitch identification.
  1913. 10.7
  1914. I hope readers will find these of interest.
  1915. 10.7
  1916. Colin Sutton, Bradford
  1917. 10.7
  1918. Multitasking made easy Ö Like David Wild (10.6 p57), I often want to
  1919. run a program in background in its own task window which I can
  1920. subsequently scroll. Here is another, quick way of doing it.
  1921. 10.7
  1922. 1. Use your text editor (Edit etc) to create an obey file, and enter
  1923. the one-liner:
  1924. 10.7
  1925. *TaskWindow Ödisplay Öquit
  1926. 10.7
  1927. 2. While holding down <shift>, drag the file you want to run so that
  1928. the complete path name follows after the Öquit parameter.
  1929. 10.7
  1930. 3. Save this obey file with a name such as öDOITò.
  1931. 10.7
  1932. 4. Double-click öDOITò, and your program will run in the background
  1933. in its own task window.
  1934. 10.7
  1935. The parameters are optional:
  1936. 10.7
  1937. -display opens the task window, which will open anyway if the program
  1938. puts anything out to the screen
  1939. 10.7
  1940. -quit finishes the task without the option of running another task in
  1941. that same window.
  1942. 10.7
  1943. Sherwin Hall <100101.3577@CompuServe.COM>
  1944. 10.7
  1945. Printers on the iconbar Ö I stopped using TurboDrivers when I fitted
  1946. the StrongARM, primarily because Computer Concepts were so slow in
  1947. sending out upgrades, and have only just installed it. Eventually,
  1948. one tires of waiting for !Publisher to complete printing under the
  1949. Acorn printer driver Ö even with version 1.54 and Ébackgroundæ
  1950. printing enabled.
  1951. 10.7
  1952. When I had finished using the !Install program, I double-clicked on
  1953. !Printers in Resources:$.Apps. I then dragged two copies of the
  1954. DeskJet printer driver to the Printer control panel (IconBar
  1955. Menu/Printer control... ) and configured them, one for high
  1956. resolution (300╫300) and the other for draft (150╫150) printing. At
  1957. this stage, I found that I had six printer icons on the iconbar. From
  1958. left to right, there were the original pair of DeskJet icons (same
  1959. functions as the new Turbo Icons), one for the dot-matrix printer,
  1960. one for printing to send by ArcFax, and the two new Turbo icons. It
  1961. was easy to switch off the two old DeskJet icons (iconbar
  1962. Menu/Printer control... /Menu/Inactive), but this left four icons in
  1963. an unfamiliar order.
  1964. 10.7
  1965. (At this point you may be wondering why I was not simply upgrading
  1966. the old, already installed version of TurboDriver I had used with the
  1967. ARM 610.) Well, it may have been that it was version 4.04. At a more
  1968. practical level, the earlier installation was lost in a hard disc
  1969. crash.
  1970. 10.7
  1971. To achieve the desired arrangement, the obvious course appeared to be
  1972. to öRemoveò those icons at the left which I wanted to be at the
  1973. right, then re-install them by dragging the printer definition files
  1974. back into the Printer control panel, and go through the process of
  1975. configuration again. Was that tedious process necessary? I chose to
  1976. do it another way.
  1977. 10.7
  1978. The file ÉSettingsæ (<HardDisc>.$.!Boot.Choices .Printers.Settings )
  1979. contains the information relating to the printer icons on the
  1980. iconbar. A little study shows the structure of this file. If you load
  1981. it into Zap (or Edit, if you must), you will see a long series of
  1982. identifiers down the left hand edge of the window; each consists of
  1983. two lower case letters followed by a colon followed by a space. In
  1984. many cases, these identifiers are followed by a string of characters,
  1985. some of which are intelligible words.
  1986. 10.7
  1987. The start of the file is identified by Éfv: æ. Each section relating
  1988. to an individual printer icon is not indicated by any clearly evident
  1989. delimiters. It is necessary to find Écl: æ and Éic: æ which are the
  1990. start and finish lines for each printer.
  1991. 10.7
  1992. Make a copy of the file ÉSettingsæ (as ÉSettingsOæ, or some such)
  1993. before starting to reorganise the listing in ÉSettingsæ. Select all
  1994. of the lines of the section (æcl: æ to Éic: æ) representing the
  1995. printer icon that you want at the left hand end of the group on the
  1996. iconbar and move these to immediately below Éfv: æ by pressing <ctrl-
  1997. V>. In the same way, you can rearrange the section of lines relating
  1998. to each of the other settings. Beware of leaving totally blank lines
  1999. in the file, and ensure that one line-feed follows the last line
  2000. starting Éic: æ. Save the reorganised ÉSettingsæ, quit !Printers and
  2001. re-run it. Hey, presto!
  2002. 10.7
  2003. It is easier to do it once you see the file and its identifiers, than
  2004. it is to describe it . With the exception of the time it took me to
  2005. understand the structure of the file, it took less time to rearrange
  2006. the icons this way than using the ÉRemove/Drag in/Configureæ method
  2007. described earlier.
  2008. 10.7
  2009. Of course, someone will now tell me of an easier, quicker way!?
  2010. 10.7
  2011. Frank Watkinson <frank@watsnees.demon.co.uk>
  2012. 10.7
  2013. Zap and Basic Ö Here are some hints to remedy some of the obscure
  2014. bugs in the latest version of !Zap editor (version 1.35).
  2015. 10.7
  2016. Failing Basic programs Ö One of the obscure bugs that !Zap has is
  2017. that any trailing spaces on a Basic line are not removed. This can
  2018. cause your program to behave very strangely, and output unexpected
  2019. results. Under many circumstances, the Basic interpreter will ignore
  2020. trailing spaces on a Basic line, except in the following case:
  2021. 10.7
  2022. 1. After the keyword OF in a öCASE .... OFò structure. The OF keyword
  2023. must be the last keyword on the line. The interpreter will give the
  2024. error: öCASE..OF statement must be the last thing on a lineò.
  2025. 10.7
  2026. 2. After the keyword THEN in a multi-line öIF..THEN..ELSE..ENDIFò.
  2027. The Basic interpreter will not be able to detect the trailing space
  2028. and will convert the multi-line IF...ENDIF into a single line IF
  2029. THEN. The Basic interpreter will not trap this error. Your program
  2030. will behave differently from what you had expected. It could take you
  2031. ages to discover what is happening because you canæt see the space
  2032. after the THEN keyword!!!
  2033. 10.7
  2034. One solution I found is to save the file, open it in Edit, then save
  2035. it back again. Edit and other Basic editors will remove trailing
  2036. spaces on a Basic line.
  2037. 10.7
  2038. Basic mode, Copy and Move bugs Ö This bug is easily encountered. You
  2039. can lose your program if you donæt read on.... !Zap allows you to
  2040. position the cursor (using the mouse) on a line that is below the
  2041. last line of the Basic program. This is normally an empty line
  2042. without a line number. If you press <enter> or just type in
  2043. something, !Zap will automatically put in a new incremented line
  2044. number on the left hand, and your typed text appears on the line. So
  2045. far, all is fine. However, if while the cursor is on the blank line,
  2046. you highlight something from somewhere else in the program and copy
  2047. it or move it to the blank line, !Zap goes crazy. It will first show
  2048. a wrong line number, and only part of the copied text will appear on
  2049. the line. This new line is now a garbage line. You cannot move the
  2050. cursor beyond it. You will not be able to delete this line. Most
  2051. importantly, if you want to save your file, Zap will report an error
  2052. öNot a Basic file or corrupt at offset &xxxxxxxò, and you will not be
  2053. able to save your file.
  2054. 10.7
  2055. For example:
  2056. 10.7
  2057. 10 DIM memory% memory_size%
  2058. 10.7
  2059. 20 memory_pointer% memory%*4
  2060. 10.7
  2061. 30 byte% !memory%
  2062. 10.7
  2063. The above is only a 3 line program, but you can place the cursor
  2064. using the mouse on the fourth line (i.e. the blank line). Now
  2065. highlight line 20 until the number 4 (do not highlight the complete
  2066. line only the text) and copy it using <ctrl-C> to the blank line.
  2067. Surprise!! The line number will be shown as 110053. The first two
  2068. chars of the variable memory_pointer% disappear. You are stuck.
  2069. 10.7
  2070. 10 DIM memory% memory_size%
  2071. 10.7
  2072. 20 memory_pointer% memory%*4
  2073. 10.7
  2074. 30 byte% !memory%
  2075. 10.7
  2076. 110053 ory_pointer% memory%*4
  2077. 10.7
  2078. What happens, is that there is a bug with the copy and move commands.
  2079. When !Zap copies or moves a line in Basic mode, it assumes that you
  2080. are copying or moving to an already existing line. In the above
  2081. example, what we are doing is trying to append something to the end
  2082. of the program, using the copy command, which unfortunately does not
  2083. work.
  2084. 10.7
  2085. The strange line number and the missing three characters from the
  2086. variable are due to the fact that !Zap places the first three
  2087. characters of the variable name as a three-byte tokenised line
  2088. number. Worse still, this new line does not have an &0D terminating
  2089. byte! Thatæs why you cannot move beyond it.
  2090. 10.7
  2091. To remedy the situation and regain control of your valuable program:
  2092. 10.7
  2093. 1. Place the cursor after the last character on the last line (the
  2094. problematic line). In our example, after the digit 4.
  2095. 10.7
  2096. 2. Switch into Byte mode using <ctrl+shift+f2>.
  2097. 10.7
  2098. 3. Type ö0ò followed by öDò. (i.e. insert a terminating byte).
  2099. 10.7
  2100. 4. Switch back to Basic mode using <ctrl+shift+f6>.
  2101. 10.7
  2102. Now you find yourself after the problematic line. Now just press
  2103. <Enter>, and Zap will automatically re-number the program for you and
  2104. you are back in control. Donæt forget to type the missing characters
  2105. on the line.
  2106. 10.7
  2107. Basic tokenising bug Ö When copying or moving in Basic mode, Zap does
  2108. not automatically tokenise the new copied text.
  2109. 10.7
  2110. Example:
  2111. 10.7
  2112. 10 mem% 2 :REM PRINT mem%
  2113. 10.7
  2114. 20
  2115. 10.7
  2116. 30 pointer% 1<<10
  2117. 10.7
  2118. If you copy or move the öPRINT mem%ò after the REM in line 10 to line
  2119. 20, the öPRINTò keyword will not be tokenised. This will cause the
  2120. program to produce errors when executed. To remedy this, after
  2121. copying, place the cursor on the line (line 20 in our example) and
  2122. insert a space, or whatever.
  2123. 10.7
  2124. Applications not accepting Zap Basic files directly Ö You can save
  2125. (drop) a Basic file directly into another Basic editor like DeskEdit,
  2126. StrongED or Edit, but they will not accept Basic programs directly
  2127. from !Zap. You have to save them first to disc then load them into
  2128. the other application or Editor.
  2129. 10.7
  2130. The reason for this is that most applications identify a Basic
  2131. program by checking for the byte &0D to be the first byte of the
  2132. Basic program. If it does not exist, they will report a öBad Basic
  2133. programò.
  2134. 10.7
  2135. While in Zap Basic mode, your program is stored using a special Zap
  2136. format, not the standard Basic tokenised file. The format Zap uses is
  2137. as follows:
  2138. 10.7
  2139. 1. 3-byte line number (similar to the 3-byte-encoding used by GOTO).
  2140. 10.7
  2141. 2. The Basic line content in a Basic tokenised form.
  2142. 10.7
  2143. 3. One byte terminator (&D).
  2144. 10.7
  2145. You are warned Ö if you drop your Basic file directly into Edit
  2146. (version 1.44), Edit will crash with a Data Abort error!! So, save
  2147. your program to disc first, before loading it into other applications.
  2148. 10.7
  2149. Mohsen Alshayef <mohsen@qatar.net.qa>
  2150. Hints and Tips
  2151. 10.8
  2152. ANT/StrongED Éfeatureæ Ö If you view an email in Marcel by using the
  2153. Éload into editoræ icon, and then try to drag and drop some (or all)
  2154. of the text from StrongED to another application, it works fine Ö but
  2155. only once! If you try it a second time, it fails with öThis item is
  2156. locked to stop changes being made to itò from StrongED. Thereafter,
  2157. all subsequent attempts drag and drop from StrongED to any other
  2158. application will fail with the same error, irrespective of whether
  2159. Marcel is involved.
  2160. 10.8
  2161. I finally discovered the reason for this. When you do a Éload into
  2162. editoræ, Marcel creates a Élockedæ file Ö so if you try to edit it,
  2163. StrongED tells you öText is write protectedò. (Edit, by the way,
  2164. ignores the fact that the file is Élockedæ and lets you edit it
  2165. anyway!)
  2166. 10.8
  2167. Now, if you try to do a drag and drop from a write-protected file,
  2168. StrongED lets you do it but it creates a temporary ÉScrapFileæ in the
  2169. scrap directory. Then, when it has finished dragging and dropping, it
  2170. cannot delete this ScrapFile because it is locked, so it is a
  2171. permanent resident in your scrap directory!
  2172. 10.8
  2173. The only answer seems to be öDonæt use StrongED to drag and drop from
  2174. Marcelæs email viewerò. Instead, use the ösave emailò icon, drag the
  2175. file to the iconbar, and then drag and drop the bit of text you want
  2176. over to the target application. Guttorm Vik has kindly agreed to
  2177. change the way StrongED operates in order to avoid this problem.
  2178. 10.8
  2179. Ed. <paul.NCS@paston.co.uk>
  2180. 10.8
  2181. (Have you sent Guttorm your ú10 registration yet?!?!?! Thereæs no
  2182. excuse Ö here are the details.)
  2183. 10.8
  2184. ARM multiply Ö In Archive 10.5 p40, Mark Slatter was asking about
  2185. information on the multiply instruction on the StrongARM. I have
  2186. written an ARM mnemonic database for the Psion/Pocket Book,áwhich may
  2187. be of use to him. It can be found onáHensa under the RISCáOS section,
  2188. in directory e/e159, or on my home page at www.bleep.demon. co.uk. If
  2189. there is interest, I could probably convert it to a common database
  2190. format, i.e. CSV or TSV. Iáhope this is useful.
  2191. 10.8
  2192. Kevin Moore <kevinm@bleep.demon.co.uk>
  2193. 10.8
  2194. Artworks files in Impression Ö There is a problem with embedding
  2195. Artworks files in Impression documents. If the Artworks file contains
  2196. rotated Artworks text, Impression doesnæt always display it. After
  2197. much head scratching, I tracked this down to a bug in the Impression
  2198. Run file: rotated text in Artworks needs the CC FontDraw module which
  2199. is supplied with Impression but not loaded until Artworks is loaded.
  2200. 10.8
  2201. To fix Impression Publisher Plus, load its !Run file into Edit, and
  2202. add the line:
  2203. 10.8
  2204. RMensure FontDraw 1.07 RMLoad <Impress
  2205. 10.8
  2206.  ionPublisherPlus$Resources>.RMStore .FontDraw
  2207. 10.8
  2208. (note that this should all be on one line). If you have Publisher or
  2209. Style, you will need to change the directory name as appropriate (i.
  2210. e. use ImpressionStyle$Resources instead).
  2211. 10.8
  2212. Paul Skirrow, Octopus Systems <pskirrow@octosys.co.uk>
  2213. 10.8
  2214. Buffer overflow Ö Iæve got an answer to Alex Cessfordæs Ovation
  2215. problem in the Help Column (10.7 p54). The error isnæt caused by
  2216. Ovation itself, but by the bit of RISC OS that generates commands
  2217. from the !Run Obey file. It happens if it tries to generate a command
  2218. line longer than 256 characters.
  2219. 10.8
  2220. The problem line will contain something like:
  2221. 10.8
  2222. Run <Obey$Dir>.!RunImage %0
  2223. 10.8
  2224. where %0 gets expanded into the name of the file to be loaded. If
  2225. Ovation Pro has something considerably more complicated than this,
  2226. and the file has a long path name (I expect Alexæs file is buried in
  2227. a very deep directory structure) this can happen, especially if
  2228. Ovation does something like my program, WinEd. It runs one of two
  2229. programs depending on whether itæs registered:
  2230. 10.8
  2231. IfThere <WinEd$Dir>.User Then /<WinEd
  2232. 10.8
  2233. $Dir>.!RunImage 4096 %0 Else
  2234. 10.8
  2235. /<WinEd $Dir>.Register.!Run 4096 %0
  2236. 10.8
  2237. which generates two copies of the file name within the command line.
  2238. Incidentally, the / is short for *Run and I provide my own version of
  2239. IfThere with WinEd for pre-Risc PCs.
  2240. 10.8
  2241. If he runs the file from floppy, it has a much shorter path name, and
  2242. if Ovation is already loaded, a Wimp message is sent to it, bypassing
  2243. the above process. The message still places a limit on the path name
  2244. length, because a Wimp message can be no bigger than 256 bytes in
  2245. total. Thatæs never been a problem so far, but I wonder if this has
  2246. any connection with Acornæs reluctance to remove the 10 character
  2247. filename limit?
  2248. 10.8
  2249. The DDEUtils module provided with Acorn C (and installing a StrongARM
  2250. should also automatically put a copy in System) will probably fix the
  2251. !Run problem because it contains a patch to allow longer command
  2252. lines Ö the C linker often needs very long commands to pass it a list
  2253. of files to link.
  2254. 10.8
  2255. Tony Houghton <tony@tonyh.tcp.co.uk>
  2256. 10.8
  2257. Creating neat screenshots Ö Your hint on this topic in Archive 10.7
  2258. p20 made me wonder if youæve come across !WindowRd. You load it,
  2259. position the pointer over the window to be screenshot and press both
  2260. shift keys. The result is confined to the window, lifted clear of the
  2261. background. It works too with those windows that disappear when the
  2262. mouse is moved and clicked away from them.
  2263. 10.8
  2264. Itæs PD, so itæs freely distributable.
  2265. 10.8
  2266. Jack Evans <jack@snave.demon.co.uk>
  2267. 10.8
  2268. Excellent, Jack, thanks for pointing that out. Iæll put a copy on the
  2269. monthly program disc. It was actually on the 9.11 program disc, but I
  2270. didnæt realise the significance of it then. Thanks too to Jason
  2271. Tribbeck for writing it in the first place! If any contributor to
  2272. Archive would like a copy, do let me know and Iæll happily send it to
  2273. you.
  2274. 10.8
  2275. Ed. <paul.NCS@paston.co.uk>
  2276. 10.8
  2277. Credit card numbers Ö If you really want to confuse the öinternet
  2278. credit card thiefò, simply place the credit card number in a
  2279. drawfile. If you just typed in the number, these figures would be
  2280. readable within the ASCII of the resulting file, but if you convert
  2281. the text to path (SelectÖ>Convert to path), it is totally unreadable
  2282. unless they have an Acorn machine! The resulting file is only about 6
  2283. or 8Kb, which is not an unreasonable overhead, and it can be halved
  2284. by !Squashæing it.
  2285. 10.8
  2286. Martijn Claassen, Argos Computers <martijn.argos@pi.net>
  2287. 10.8
  2288. Hires monitor modefile Ö At a big computer fair, I found an offer I
  2289. couldnæt refuse: a three year old Sony VRT16-HA 17 inch monitor,
  2290. labelled Digital GDM 1661, guaranteed in working order but without
  2291. any documentation. I brought the wonderful beast home but had a hard
  2292. time taming it.
  2293. 10.8
  2294. First problem: this monitor is fed by three coaxial red, green and
  2295. blue cables, but where do the sync signals enter? The official
  2296. solution is to impose both sync signals on the green video, but this
  2297. involves polarity inversion, and similar hanky-panky, that tends to
  2298. impair the video quality. However, at the back of the monitor (hidden
  2299. behind the hood) I discovered fully prepared entry points for the
  2300. separate H-sync and V¡sync signals. No mixing needed Ö just two extra
  2301. leads to the RiscPC video connector did the job.
  2302. 10.8
  2303. Now the second problem arose: what line frequencies did this monitor
  2304. expect from my Acorn? Itæs definitely not a standard VGA signal Ö
  2305. nothing like it. It took a lot of experimentation to find out that
  2306. this beauty takes no less than 67,000 lines per second Ö and thatæs
  2307. an awful lot more than regular multisyncs need. However, MakeModes
  2308. helped me out and, in due course, I had constructed a complete range
  2309. of modes, from 160╫256 right up to 1600╫1200. The lower resolutions
  2310. could be accomplished by Éoverscanningæ: each picture line is
  2311. followed by one or two empty lines, effectively lowering the scan
  2312. frequency from 68 to 34 or 23 kHz. The result is visible of course,
  2313. but quite acceptable since the picture is steady, not interleaved.
  2314. 10.8
  2315. A more serious drawback comes from the continued high scanning speed.
  2316. A low resolution picture needs less memory, but this memory is
  2317. nevertheless scanned (in bursts) at top speed. With fast video RAM,
  2318. the maximum pixel rate for a RiscPC is 115 million per second, and
  2319. even StrongARM cannot improve on that. This means that hires 32-bit
  2320. colours can only be executed at low resolution modes: 400╫300 or less.
  2321. 10.8
  2322. Above all, this just shows that the Acorn RiscPC is one of those very
  2323. rare machines that can cope with non-standard monitors like this
  2324. super-hi-res Sony/Digital beauty.
  2325. 10.8
  2326. Anybody interested can give it a try Ö I have sent Paul the Modefile
  2327. to put on the monthly disc.
  2328. 10.8
  2329. Paul Porcelijn <Porcel@dds.nl>
  2330. 10.8
  2331. Magazine storage Ö Several readers have written in to say that Neat
  2332. Ideas Office Supplies (0800-500192, faxá0800-600192) do still have
  2333. some A5 magazine boxes. This is true as I bought some myself to try
  2334. them. If you want to buy some yourself, do, but I donæt think they
  2335. are suitable for selling through Archive. First of all, they are
  2336. frustratingly too wide to hold twelve magazines without them flopping
  2337. about, and too narrow to take twenty-four. Also, Neat Ideas only have
  2338. limited stocks left, and the manufacturer is not producing any more
  2339. unless he gets a large enough order to make it worthwhile.
  2340. 10.8
  2341. Another possibility has been suggested by Mr R Drayton of
  2342. Loughborough Ö holders öideal for 12 magazinesò from Office World
  2343. (code 034-736). However, they cost ú2.99 +VAT each and he also warns
  2344. that you should check the quality of them. One had a faulty spring
  2345. clip and had to be returned. Office World are on 0800-500024 and
  2346. offer free next day nationwide delivery for orders over ú50 +VAT, but
  2347. they also have 50 stores around the country.
  2348. 10.8
  2349. Ed.
  2350. 10.8
  2351. StrongARM cache Ö The *Cache command has some undocumented options in
  2352. StrongARM RISCáOS 3.7 machines. The usual syntax is:
  2353. 10.8
  2354. *Cache On | Off
  2355. 10.8
  2356. As StrongARM users will be aware, turning off the cache to load
  2357. applications, can be a rather slow affair Ö but there is a compromise
  2358. solution! You can use any combination of the following switches after
  2359. the *Cache command to enable certain StrongARM features, and disable
  2360. all the others:
  2361. 10.8
  2362. I Ö Enable instruction cache
  2363. 10.8
  2364. D Ö Enable data cache
  2365. 10.8
  2366. W Ö Enable write cache
  2367. 10.8
  2368. For example, *Cache IWD would be identical to *Cache On, and *Cache
  2369. IW gives roughly ARM610 performance and allows most applications that
  2370. donæt like the StrongARM cache to load successfully.
  2371. 10.8
  2372. Chris Coe <chris.norsoft@zetnet.co.uk>
  2373. 10.8
  2374. Zap colour Ö The colouring facility in Zap is one of its most
  2375. attractive features, although some people struggle to set the options
  2376. for the different modes. To set the options for a particular mode,
  2377. you first need to select the mode in the Options->Mode menu, and then
  2378. set the options you want to use for that mode, again using the
  2379. Options menu.
  2380. 10.8
  2381. The most useful options are in the Options->Display menu which allows
  2382. you to set the colours and width for each mode.
  2383. 10.8
  2384. When you have finished entering the options, put the mode back to
  2385. Text (to make it the default) and use the Options->Save Options menu
  2386. to save the new options for future use.
  2387. 10.8
  2388. I have my Text mode set to give light blue text and my task window
  2389. set to give orange text, so I can immediately tell what kind of
  2390. window I am looking at. This can be very useful when there are lots
  2391. of open windows. You can also enable 74 character word-wrap for
  2392. email, and long lines for C code.
  2393. 10.8
  2394. Paul Skirrow, Octopus Systems <pskirrow@octosys.co.uk>
  2395. 10.8
  2396. Zip drives and PC cards Ö I have a little warning about Zip drives
  2397. and PC cards. Basically, do not attempt to access any Zip disc from
  2398. the PC card, then switch back to RISC OS and attempt to access it
  2399. from there, as it can cause all sorts of disc errors and data loss. I
  2400. had my first 100Mb loss a few weeks ago and it was extremely
  2401. frustrating. For absolute safety nowadays, I always obey the
  2402. following rules:
  2403. 10.8
  2404. 1. Dismount any Zip disc before running the !PC application. (This
  2405. ensures that any disc write caches are emptied and the data is
  2406. committed to the disc.)
  2407. 10.8
  2408. 2. Do not access the Zip drive from RISC OS while the PC card is
  2409. running. (You can still have the software loaded if you wish, but
  2410. even just reading from the Zip drive can cause big problems.)
  2411. 10.8
  2412. 3. Use the manual eject button immediately after exiting from the PC
  2413. card to dismount the Zip disc, then reinsert it so that RISC OS
  2414. recognizes any new data that you have stored onto it.
  2415. 10.8
  2416. You could probably get away with less, given some experimentation,
  2417. but I will leave that to others, as my data is really too important
  2418. to risk on these things.
  2419. 10.8
  2420. If your Zip disc does go wrong (and we are, of course, talking about
  2421. DOS formatted discs here), it is much better, in my experience, to
  2422. use Scandisc for DOS to recover the data rather than any other tool
  2423. (including Scandisc for Win 95).
  2424. 10.8
  2425. Chris Coe <chris.norsoft@zetnet.co.uk>
  2426. 10.8
  2427. Hints and Tips
  2428. 10.9
  2429. Address list editing Ö I love playing with text, trying to manipulate
  2430. it using a combination of packages Ö usually Edit, StrongED and
  2431. PipeDream Ö to achieve certain ends. If I had time, Iæd write an
  2432. article about it, but as an illustration of the sort of thing I mean,
  2433. hereæs an example of what can be achieved.
  2434. 10.9
  2435. The problem: I had 8,000 addresses of various lengths Ö up to nine or
  2436. ten lines which had to be printed onto continuous label stationery, i.
  2437. e. with each label starting at exactly nine-line intervals, so no
  2438. label had to be longer than eight lines of text.
  2439. 10.9
  2440. The solution: This consisted of a number of separate tasks:
  2441. 10.9
  2442. 1) make each address a single line of text
  2443. 10.9
  2444. 2) sort out the over-long addresses and shorten them
  2445. 10.9
  2446. 3) make every address exactly eight lines
  2447. 10.9
  2448. 4) put each address back into multiple lines of text
  2449. 10.9
  2450. 1, 2 and 4 are easy enough, but I first thought that the only way to
  2451. cope with different lengths of label was to write a Basic program,
  2452. but then I suddenly realised how to do it. Anyway, hereæs the full
  2453. recipe:
  2454. 10.9
  2455. 1) In Edit (because I find StrongED a little slow when doing S&R on
  2456. very large files Ö sorry Guttorm!), S&R all double returns (\n\n)
  2457. into xzxz, change all returns into tabs (\x09), and change all xzxz
  2458. into single returns.
  2459. 10.9
  2460. 2) Drop the resulting file into PipeDream. The number of columns is
  2461. then the number of lines of the longest address. So if the last
  2462. column is j, sort the whole text on column j, with a secondary sort
  2463. on column i. This will bring all the too-long lines to the top of the
  2464. file. Now drop the file back out into Edit or StrongED and
  2465. concatenate (good word, that!) parts of the over-long addresses so
  2466. that they each only have eight lines max.
  2467. 10.9
  2468. 3) Drag the file back now into PipeDream and check that no lines
  2469. spill over into column i. Check also that the addresses that fit all
  2470. eight columns are at the top of the file. Go to the first address
  2471. that does not extend into column h and enter öxzxzò into the box in
  2472. column h. Copy this box down to the end of the file. Drop it back
  2473. into Edit and use S&R to remove all occurrences of xzxz, and all
  2474. addresses now have exactly eight lines!
  2475. 10.9
  2476. 4) Continuing in Edit, use S&R to change all returns (\n) into xzxz,
  2477. then all tabs (\x09) into returns (\n) and finally all xzxz into
  2478. double returns (\n\n).
  2479. 10.9
  2480. If you want to do a final check to see that all the addresses start
  2481. at exactly 9-line intervals, drop the text into StrongED (youæll see
  2482. why in a minute!) and open up the height of the window to exactly a
  2483. whole number multiple of nine lines of text. A few clicks inside the
  2484. scroll bar, to move down a screen at a time, will show if it is
  2485. creeping up or creeping down each click. If it is exactly right (and
  2486. this is easier to achieve in a lower resolution screen mode), you can
  2487. click and hold inside the scroll bar and it will auto-repeat a
  2488. screenful at a time, right to the end of the file. (Edit doesnæt auto-
  2489. repeat mouse clicks, so 8,000 addresses at eight addresses per click
  2490. = 1,000 clicks = RSI in my mouse-finger!)
  2491. 10.9
  2492. (Oh, Iæve just thought Ö you could use Edit because the <page-down>
  2493. key has the same effect, and that does auto-repeat!)
  2494. 10.9
  2495. The challenge: If you have a text editing job to do and would like me
  2496. to have a go at it, do get in touch. (a) I enjoy this kind of
  2497. challenge and (b) the solution, like the one above, might help others
  2498. in doing their text-editing jobs.
  2499. 10.9
  2500. (If you want more help on this sort of thing, Jim Notttingham did an
  2501. excellent series on text editing in issues 8.3p63, 8.4p43, 8.5p15, 8.
  2502. 8p64 and 9.1p57. Gosh, was it that long ago?!)
  2503. 10.9
  2504. Ed. <paul.NCS@paston.co.uk>
  2505. 10.9
  2506. Background printing Ö I have had, for some time, two Printer icons on
  2507. the iconbar. One is set up to print to a file Ö the one that is
  2508. always selected Ö and the other is set up to print to the printer.
  2509. 10.9
  2510. I used to print to a file by default, but then I had to look around
  2511. for the printfile, to drag it to the other printer icon, in order to
  2512. print in the background.
  2513. 10.9
  2514. Now I have the printfile stuck to the backdrop near the Éprint to
  2515. printeræ icon, so dragging the printfile to the printer icon is now
  2516. the work of a moment! Obvious really Ö but only if the idea happens
  2517. to occur to you. (Or if you read it in Archive! Thanks for that,
  2518. Barry Ö so come on, folk, send in the Éobviousæ tricks that save you
  2519. time. Ed.)
  2520. 10.9
  2521. Barry Allen <barrya@dean.nwnet.co.uk>
  2522. 10.9
  2523. Exiting from CASE...ENDCASE Ö The CASE...OF..WHEN..OTHERWISE...
  2524. ENDCASE construct, introduced in version 1.04 of Basic, provides a
  2525. very powerful means of writing structured programs. The CASE
  2526. construct consists of a number of WHEN statements followed by one or
  2527. more values or expressions to be matched. Whenever the result of the
  2528. CASE expression matches one of the values listed after the WHEN, all
  2529. statements following this WHEN are executed, down to the next WHEN,
  2530. OTHERWISE or ENDCASE. The Basic interpreter then skips to the
  2531. statement following the ENDCASE, and continues with the rest of the
  2532. program. For this reason, the WHEN, OTHERWISE and ENDCASE keywords
  2533. must each start at the beginning of a line.
  2534. 10.9
  2535. So far, I have described the normal use of the CASE...ENDCASE
  2536. construct. However, there are situations where the WHEN part consists
  2537. of many statements, mostly occupying separate lines. In such cases,
  2538. it is possible that other constructs such as IF...ENDIF or REPEAT...
  2539. UNTIL are used inside a WHEN part, and a means to exit from the WHEN
  2540. construct is required, so that the program continues after the
  2541. ENDCASE statement.
  2542. 10.9
  2543. Basic provides a means to exit from a CASE...ENDCASE construct using
  2544. the keyword WHEN.
  2545. 10.9
  2546. Here is an example:
  2547. 10.9
  2548. 10 check%=7
  2549. 10.9
  2550. 20 test% =0
  2551. 10.9
  2552. 30
  2553. 10.9
  2554. 40 CASE test% OF
  2555. 10.9
  2556. 50 WHEN 0:
  2557. 10.9
  2558. 60 IF check%=7 THEN PRINT ö1st checkò
  2559. 10.9
  2560. 70 IF check%=7 THEN PRINT ö2nd checkò
  2561. 10.9
  2562. 80 IF check%=7 THEN PRINT ö3rd checkò
  2563. 10.9
  2564. 90 ENDCASE
  2565. 10.9
  2566. Running the above program will produce the following on the screen:
  2567. 10.9
  2568. 1st check
  2569. 10.9
  2570. 2nd check
  2571. 10.9
  2572. 3rd check
  2573. 10.9
  2574. All three lines are, of course, printed. If you want to terminate the
  2575. WHEN part after the first check (at line 60) and skip lines 70 and
  2576. 80, then you replace line 60 with the following:
  2577. 10.9
  2578. 60 IF check%=7 THEN PRINT ö1st checkò:WHEN
  2579. 10.9
  2580. 70 IF check%=7 THEN PRINT ö2nd checkò
  2581. 10.9
  2582. 80 IF check%=7 THEN PRINT ö3rd checkò
  2583. 10.9
  2584. 90 ENDCASE
  2585. 10.9
  2586. By adding a WHEN keyword, the Basic interpreter will terminate the
  2587. WHEN part and close the ENDCASE construct after line 60 (i.e. the IF
  2588. matching part). So, running the program with line 60 changed will
  2589. produce the following result:
  2590. 10.9
  2591. 1st check
  2592. 10.9
  2593. Lines 70 and 80 will be skipped.
  2594. 10.9
  2595. The above use of WHEN to close an ENDCASE construct is, to my
  2596. knowledge, undocumented although the Basic Reference Manual does
  2597. describe or hint at its use. Using the keyword OTHERWISE in place of
  2598. WHEN for early exits also seems to give the same results!
  2599. 10.9
  2600. Mohsen Alshayef <mohsen@qatar.net.qa>
  2601. 10.9
  2602. Magazine storage Ö I see that Archive storage is still a topic of
  2603. concern (10.8 p27). How about cutting down A4 racks? The magazines
  2604. fit long-side in (because A5 = half-A4), but you can put them on the
  2605. shelf either way. This is particularly useful for wire-bound manuals
  2606. that just will not fit a normal A5 box, and a suitable cut provides a
  2607. housing for Acorn manuals that otherwise fit too tightly in the
  2608. supplied box. You may think cutting down is wasteful, so buy the
  2609. cheapest, which I believe are IKEAæs PENG at ú3 for eight. These are
  2610. the plainest brown card with no printing, and can also make useful
  2611. trays for other odds and ends.
  2612. 10.9
  2613. Steve Drain <steve.d@virgin.net>
  2614. 10.9
  2615. Neat screenshots (again) Ö Hereæs another offering spurred by the
  2616. comment in Archive 10.7 p20. It is !GrabMenu by Cy Booker and it
  2617. allows you to grab menus that are transient. Hereæs an example of
  2618. what it can do.
  2619. 10.9
  2620. Itæs worth reading the !Help file that comes with it as itæs a bit
  2621. quirky and not all that intuitive to use.
  2622. 10.9
  2623. Jim Nottingham <email via NCS>
  2624. 10.9
  2625. StrongARM speed-up Ö I was particularly interested in the StrongARM
  2626. upclocking article (10.8 p19) as I tried this out some months ago and
  2627. Iæve sent Paul the various programs, tests and charts that Iæve
  2628. compiled which may be of interest to readers. (On the monthly program
  2629. disc.) This is also available from the Acorn Cybervillage FTP site
  2630. at: 
  2631. 10.9
  2632. ftp://ftp.cybervillage.co.uk/pub/acorn/info/
  2633. 10.9
  2634. My StrongARM also runs cool at 287MHz, but it was very slightly flaky
  2635. at this speed. However, I think it is more to do with the PC card and
  2636. StrongARM not wanting to work together at that speed. (I wasnæt
  2637. actually running the PC card, you understand, but it does continue to
  2638. operate in an idle mode even when not being used.)
  2639. 10.9
  2640. Iæd also recommend that people with a PC card and a upclocked
  2641. StrongARM use the PCsleep application as this powers down the PC card
  2642. and thus reduces the internal temperature of the RiscPC.
  2643. 10.9
  2644. Stuart Halliday <stuart@quantumsoft.co.uk>
  2645. 10.9
  2646. On the program disc, Iæve put Stuartæs tests for speed and memory
  2647. integrity, plus some things sent in by Tony Hopstaken, who was the
  2648. person quoted last month at the end of Robertæs article. Ed.
  2649. 10.9
  2650. StrongARM speed-up (2) Ö Various people have mentioned the fact that
  2651. Robert suggests using a piece of anti-static bag as an insulator, but
  2652. the idea of these bags is that the inside surface is slightly
  2653. conductive. It would be much better to use simple dry cardboard.
  2654. 10.9
  2655. A number of other people, like Tony and Stuart, are running
  2656. StrongARMs at higher speeds without any extra cooling at all and
  2657. donæt seem to be having any problems. However, we cannot, by
  2658. definition, know what the long-term effect is, i.e. whether the life
  2659. of the chip will be reduced. Still, as Tony says, öAs long as it
  2660. lasts until my RiscPC II arrives, I donæt mind!ò
  2661. 10.9
  2662. Ed. <paul.NCS@paston.co.uk>
  2663. Hints and Tips
  2664. 10.10
  2665. ANT Suite Fresco tip Ö If you put a text file called Runables inside
  2666. !Fresco, containing a list of filetypes as hexadecimal digits (upper
  2667. or lower case), then when a link to a file having one of these types
  2668. is clicked on, the file will be fetched and filer_run. Here is my
  2669. Runables file:
  2670. 10.10
  2671. # See (a homebaked hypertext system)
  2672. 10.10
  2673.  0a4
  2674. 10.10
  2675. # MS Word 6 or 7
  2676. 10.10
  2677.  ae6
  2678. 10.10
  2679. # drawfile
  2680. 10.10
  2681.  aff
  2682. 10.10
  2683. # DVI file
  2684. 10.10
  2685.  ce4
  2686. 10.10
  2687. # Techwriter
  2688. 10.10
  2689.  d01
  2690. 10.10
  2691. Fresco appears not to mind initial spaces or comment lines. In this
  2692. way, Fresco could be used for hypertext Ö say within teaching (öif
  2693. you want to see the proof click hereò). Also, we can use web pages
  2694. with links to DVI files. This provides a mechanism which is platform
  2695. independent as far as the student or the person creating the material
  2696. is concerned.
  2697. 10.10
  2698. Gavin Wraith, gavin@wraith.u-net.com
  2699. 10.10
  2700. Magazine storage öGreen Styleò Ö Two similarly praiseworthy tips this
  2701. month in the magazine storage saga...
  2702. 10.10
  2703. (1) Steve Drain (Archive 10.9) recommends IKEAæs PENG A4 racks cut
  2704. down @ ú3 for 8. Thanks for the suggestion, but I think these, and
  2705. all previous suggestions, are money down the Drain (oops!). In
  2706. classic Blue Peter style, here are some Iámade earlier...
  2707. 10.10
  2708. For breakfast we eat Kelloggæs Bran Flakes, 750 gram size packet.
  2709. Once all the flakes are eaten, we recycle the empty boxes for
  2710. magazine storage, by cutting them down to about 20cm and then making
  2711. a neat V¡cut in one of the short sides for ease of access. These
  2712. recycled boxes will easily hold a yearæs supply of Archive at no cost
  2713. whatever. You can either leave them plain or, as an added luxury,
  2714. paint them with poster paints or cover them with old wallpaper
  2715. samples.
  2716. 10.10
  2717. Derek Banks, d.e.banks@argonet.co.uk
  2718. 10.10
  2719. (2) Further to the saga of A5 magazine storage Ö try Tesco! Go to the
  2720. check out counters near the wine department. There you will find
  2721. small empty boxes which once contained six bottles of wine. There are
  2722. many different sizes, and with careful measurement itáis possible to
  2723. find an exact fit for A5 magazines. Thenáuse a sharp knife to trim
  2724. the top. At the moment, I am using Tesco Bordeaux Blanc Semillon.
  2725. Risc User is somewhat harder to accommodate. Tesco Napoleon Brandy is
  2726. just too large for a snug fit, so I must take a copy with me on my
  2727. next visit to town. Hope this may be of interest to readers.
  2728. 10.10
  2729. Philip Prior <philipprior@argonet.co.uk>
  2730. 10.10
  2731. RND, ÖTIME and TIME$ Ö The usual way to make Basic produce a
  2732. reasonably random number is to seed the random number generator with
  2733. the value of TIME using lines like:
  2734. 10.10
  2735. R%=RND(ÖTIME)
  2736. 10.10
  2737. var%=RND(whatever%)
  2738. 10.10
  2739. This assumes that TIME has been ticking for a reasonably random
  2740. number of centiseconds since you switched on. However, I am not sure
  2741. if it works in a program called from the boot sequence, as the number
  2742. of centiseconds from start-up at that point could always be the same.
  2743. This may seem unlikely, but it might explain something that produced
  2744. a certain amount of head-scratching for me. I wanted to choose at
  2745. random between two screen savers at start-up, and wrote a small Basic
  2746. program using lines like those above, but this always seemed to get
  2747. the same saver, so perhaps I was always getting the same seed for the
  2748. random number generator.
  2749. 10.10
  2750. Another way of doing it more randomly is to extract one of the
  2751. components of TIME$. This reads the real-time clock, and returns a
  2752. string along the lines of öSat,17 May 1997.15:05:14ò. You can then
  2753. extract, say, the seconds component of this using M%=VAL(MID$(T$,23,
  2754. 2)), and then go on to R%=RND(ÖM%). This does give me a randomly
  2755. chosen screen saver!
  2756. 10.10
  2757. Peter Young <pnyoung@argonet.co.uk>
  2758. 10.10
  2759. StrongED abbreviations Ö Iæve been getting frustrated because of the
  2760. difference between the abbreviation systems of StrongED and
  2761. Impression. On the latter, for example, I type ösw ò and up pops the
  2762. word ösoftware ò. On StrongED, Iáhave to type ö`swò Ö well, I used
  2763. to, but Iæve discovered a better way.
  2764. 10.10
  2765. The trouble was, Iæd be using StrongED and type öswáò, realise that
  2766. Iæd got the wrong abbreviation system and have to delete it all and
  2767. start again. Not any more! I suddenly realised that StrongED can cope
  2768. with any key combination for an abbreviation. All youæve got to do is
  2769. make sure you donæt use a combination that might appear in the middle
  2770. of a word somewhere else. So all my abbreviations now take the form
  2771. of ösw#ò and so, if I mistakenly type ösw ò, all I do is delete the
  2772. space and type a ö#ò, which is much less frustrating.
  2773. 10.10
  2774. Ed. <paul.NCS@paston.co.uk>
  2775. 10.10
  2776. Zap and Basic Ö With reference to the comments in Archive 10.7 p23,
  2777. there is an easy way to avoid the space and token troubles: use the
  2778. colours!
  2779. 10.10
  2780. Set Background1 on Display> Colours> to colour 4 (default 7) and you
  2781. can see every space. Typing a space elsewhere on a line with trailing
  2782. spaces removes them all.
  2783. 10.10
  2784. Secondly, set Tokenised on Display> Colours> to colour 2 (default 0)
  2785. and you can see if a keyword is tokenised or plain ASCII. This is
  2786. especially important when a trailing space is needed, as for RETURN.
  2787. Omitting a space converts the token immediately back to text Ö very
  2788. WYSIWYG!
  2789. 10.10
  2790. Donæt forget to untick the All Modes in the Colours submenu before
  2791. any change is made, and also when saving these options. You only have
  2792. to count the number yourself in the 0-15 colour-palette. The Colour
  2793. Picker also allows you to use a colour ╜ (3átimes 93.7%), a warm
  2794. white or soft grey, which Iáuse as background in text windows,
  2795. together with foreground 8. It also exists in a 16 colour screen mode.
  2796. 10.10
  2797. Another easy way to convert Basic to plain text is <shift-copy> (now
  2798. <shift-end>) or from the menu ÉFile> Print> Dumpæ. Next, you only
  2799. need to select the whole text and Indent Ö11 to remove the line
  2800. numbers. It is also useful to make a separate and independent copy of
  2801. a text window without saving.
  2802. 10.10
  2803. To avoid problems in copying or moving blocks, click <select> after
  2804. the text on the preceding line and click <adjust> after the text on
  2805. the last line. You can now place the cursor elsewhere, after some
  2806. text on a line, even on the last numbered line, and execute the
  2807. operation. Renumber to avoid backwards-errors. It is now ready to
  2808. save without any complaints.
  2809. 10.10
  2810. Ed van der Meulen, Nuenen, Netherlands.
  2811. 10.10
  2812. Ed has also sent us some other useful bits and pieces which are on
  2813. the monthly program disc.
  2814. 10.10
  2815. !Scrn is perhaps a somewhat unusual way of programming, but it is an
  2816. easy way for all sorts of toggles.
  2817. 10.10
  2818. !caSA (Cache on/off) has a slightly modified construction to avoid a
  2819. little odd behaviour.
  2820. 10.10
  2821. !Tumble (on SA CD-ROM) has the same bugs relating to its use on
  2822. machines with 1 Mb VRAM. Itáis cured by a preceding ÉXæ in all the
  2823. SYS commands. All the changes are given in the !Changes-file inside
  2824. for DIY. It now tumbles on a clear screen with 1 Mb VRAM and 1500Kb
  2825. slotsize.
  2826. 10.10
  2827. Iiyama17T is a MDF-file for the 8617T-monitor, suitable for 1 Mb
  2828. VRAM. I have cured nearly all modes, so all old modes, except 16, 17,
  2829. 23 and 24, can now be called by number. And the circles are once
  2830. again, as in the early days, round!
  2831. 10.10
  2832. Thanks, Ed. Ed(!)
  2833. Hints and Tips
  2834. 10.11
  2835. Control in the classroom - One of the areas most frequently lacking
  2836. in schoolsæ IT curriculums is that of Control. A major factor in this
  2837. is the cost of buying buffer boxes and the various items of inputs
  2838. and outputs that would be connected to them. A high quality buffer
  2839. box such as the Commotion Serial Control Box costs around ú240, so if
  2840. you wanted, say, ten of them for use with a class in a high school,
  2841. you are looking at around ú2,500 cost straightaway. This may well be
  2842. worthwhile if the school can afford it, but what are the other lower
  2843. cost options?
  2844. 10.11
  2845. You could go for on-screen simulation using software such as Focus
  2846. ITæs excellent Visual Control Learning package - a good example of
  2847. recent innovation for Acorn computers only.
  2848. 10.11
  2849. However, many schools already have the old green Deltronics buffer
  2850. boxes dating back to use with the BBC Micro. Indeed, one of the last
  2851. uses that Beebs are being put to locally is their use with these
  2852. boxes. You can, of course, use these boxes with later Acorn A series
  2853. machines but that involves buying a user port for each machine they
  2854. are to be used on. At around ú40 a time, thatæs up to ú400 for ten
  2855. machines, and you still need to buy software to run them.
  2856. 10.11
  2857. Fortunately, Design IT have come up with a more affordable solution.
  2858. They have a modification available to run these boxes from the
  2859. parallel port. You are limited to five inputs from a machine with a
  2860. bi-directional parallel port, i.e. A30x0 or later, or two inputs from
  2861. an older machine with a uni-directional parallel port, but five
  2862. inputs should be enough for many useful applications. The
  2863. modification involves:
  2864. 10.11
  2865. a) buying a special parallel port lead with a modification kit, at
  2866. around ú12 per machine. Not all of these boxes use the same type of
  2867. lead; there are two variations, but both are catered for, though this
  2868. should be specified on your order. The two types are (i) those that
  2869. connect to a D connector on the back of the box and (ii) those with
  2870. an extension type of lead that connects to an existing ribbon cable
  2871. coming out from inside the box.
  2872. 10.11
  2873. b) buying a site licence to drive it, at ú40 for a primary school and
  2874. ú80 for a secondary school.
  2875. 10.11
  2876. The modification is a bit fiddly to fit but anyone who is able to
  2877. solder three connections, cut a track and change two small chips
  2878. (only necessary for some of the boxes) should be able to do it. If
  2879. you get stuck, there is friendly help at the end of the phone line.
  2880. It is the sort of job that may take a non-technician an hour or so
  2881. the first time, while you work out exactly what has to be done, but
  2882. after that it should only be a few minutes per box if you are
  2883. reasonably skilled at soldering. Thus you can have ten machines up
  2884. and running for around ú200 or twenty for ú320 - a considerable
  2885. saving, particularly considering that this includes the software to
  2886. run it on a site licence basis. Incidentally, the modification does
  2887. not stop the buffer box still being used on a BBC as and when
  2888. required.
  2889. 10.11
  2890. The software, called DelTron, portrays the buffer box in a window
  2891. (see above) with indication as to which inputs and/or outputs are
  2892. switched on. It allows you to control it via a Logo type language of
  2893. procedures in a manner akin to others of the same kind. I have found
  2894. that it is vital to turn the softwareæs Éauto senseæ (of the box)
  2895. feature off in order to get it to work, but that is easily done.
  2896. 10.11
  2897. A well thought out and economical idea to Érecycleæ these boxes and
  2898. make them Égreenæ in more ways than one.
  2899. 10.11
  2900. Mike Battersby, Kingston Schoolsæ IT Unit
  2901. 10.11
  2902. Outline fonts in windows - Getting outline fonts in RISC OS windows
  2903. is a rarely covered topic in even the best programming courses and
  2904. books and, without the PRMs or a lot of time to experiment in, it is
  2905. nearly impossible to utilise this feature. Most books just ignore it
  2906. or include an obscure little note about it.
  2907. 10.11
  2908. Since the arrival of RISC OS 3.6, outline fonts can be put all around
  2909. the desktop simply by changing the configuration. So why do you need
  2910. them any more?
  2911. 10.11
  2912. I find that putting outline fonts into windows improves the
  2913. appearance (and sometimes usability) of a program substantially. In
  2914. days gone by, they were not included in commercial programs because
  2915. of the time it took to display them. However, in the era of the Risc
  2916. PC (and the A7000+), fonts can be displayed very easily and quickly.
  2917. 10.11
  2918. To make things a lot simpler (for you and me), I shall assume that a
  2919. template editor is being used and windows are being loaded from
  2920. templates. I will also put the code in Basic, although the principles
  2921. can be ported to C or machine code without too much hassle.
  2922. 10.11
  2923. Firstly, a simple template needs to be created. Any editor can be
  2924. used, but do not use very old versions of these programs as they will
  2925. probably be geared to RISC OS 2. I recommend TemplEd above all others.
  2926. 10.11
  2927. Design a simple window like the one in the diagram. To be safe, only
  2928. use fonts that are built into the computeræs ROM (Trinity, Corpus and
  2929. Homerton). Make a note of all the font names (in full) and sizes that
  2930. appear in all of your icons that are outline. Please note that to
  2931. have an outline font in an icon, the icon must be indirected. Then,
  2932. save your template as usual in your program directory.
  2933. 10.11
  2934. (This is a ludicrous example of a template which does not conform at
  2935. all to the RISC OS Style Guide but it illustrates the principle quite
  2936. well.)
  2937. 10.11
  2938. To load a template which has outline fonts in it, you use the same
  2939. SWI call but you need a 256 byte memory block containing all the
  2940. necessary font handles for your windows. This is done by the
  2941. following routine. It should be called before the template loading
  2942. routine.
  2943. 10.11
  2944. DEFPROCget_fonts
  2945. 10.11
  2946. DIM font% 256 : REM Space for the font
  2947. 10.11
  2948.  handles
  2949. 10.11
  2950. READ loops%
  2951. 10.11
  2952. FOR pass%=1 TO loops%
  2953. 10.11
  2954. offset%=(pass%-1)*4
  2955. 10.11
  2956. READ name$
  2957. 10.11
  2958. READ x%
  2959. 10.11
  2960. READ y%
  2961. 10.11
  2962. SYS öFont_FindFontò,,name$,x%*16,y%*16
  2963. 10.11
  2964.  TO font%!offset%
  2965. 10.11
  2966. NEXT pass%
  2967. 10.11
  2968. DATA 3 :REM Number of fonts to reserve
  2969. 10.11
  2970. DATA öHomerton.Medium.Italicò,12,12 :
  2971. 10.11
  2972.  REM Font name,x size,y size
  2973. 10.11
  2974. DATA öTrinity.Mediumò,16,16
  2975. 10.11
  2976. DATA öCorpus.Boldò,42,42
  2977. 10.11
  2978. ENDPROC
  2979. 10.11
  2980. The above routine is very self-explanatory. You can change the font
  2981. handles which are obtained by altering the DATA statements at the end
  2982. of the routine.
  2983. 10.11
  2984. Once the above routine has been executed, call this loading routine
  2985. instead of your standard one:
  2986. 10.11
  2987. DEFFNload_template_window(temp_path$
  2988. 10.11
  2989. ,w_name$,font%)
  2990. 10.11
  2991. SYS öWimp_OpenTemplateò,,temp_path$
  2992. 10.11
  2993. SYS öWimp_LoadTemplateò,,m_space%,
  2994. 10.11
  2995. space%,spaceend%,font%,w_name$
  2996. 10.11
  2997. ,0 TO ,,space%,,,,there%
  2998. 10.11
  2999. SYS öWimp_CloseTemplateò
  3000. 10.11
  3001. IF there% THEN
  3002. 10.11
  3003. SYS öWimp_CreateWindowò,,m_space% TO
  3004. 10.11
  3005.  handle%
  3006. 10.11
  3007. ELSE
  3008. 10.11
  3009. ERROR 0,öWindow template not found!ò
  3010. 10.11
  3011. ENDIF
  3012. 10.11
  3013. =handle%
  3014. 10.11
  3015. Repeated calls should load all the necessary windows from the
  3016. template file. The windows will behave as normal when created.
  3017. 10.11
  3018. The Éload_templateæ routine takes a number of parameters. These are:
  3019. 10.11
  3020. temp_path$ = String pathname of template
  3021. 10.11
  3022. w_name$ = Name of window to be loaded from template
  3023. 10.11
  3024. font% = Pointer to font table (defined in previous routine)
  3025. 10.11
  3026. Beware! There are also other variables that need to be defined
  3027. earlier in the program! Firstly, you must have a general usage memory
  3028. area called m_space%. Secondly, you need a space for indirected icons
  3029. called space%. The end byte of this memory block must be in a
  3030. variable called spaceend%. This can be done by a few lines of code:
  3031. 10.11
  3032. DIM m_space% 1024 (whatever size is necessary)
  3033. 10.11
  3034. blksize%=800 (Again, the size of the block has to
  3035. 10.11
  3036.  fit the template)
  3037. 10.11
  3038. DIM space% blksize%
  3039. 10.11
  3040. spaceend%=space%+blksize%
  3041. 10.11
  3042. I hope this has helped some programmers to understand how to get
  3043. outline fonts in windows. If anyone has done the Alan Senior WIMP
  3044. course, or an equivalent, and wants to go further into WIMP
  3045. programming, it would be advisable to buy the PRMs. These are very
  3046. expensive (I bought mine from NCS for ú105) but have got everything
  3047. in them. They are very obscure, though, and you need a lot of time
  3048. free to read through and understand them.
  3049. 10.11
  3050. Artemis Entreri, Waterlooville
  3051. 10.11
  3052. Using Termite Internet with Cable Internet - Recently, the cable
  3053. companies have introduced an offer to schools for Internet access via
  3054. the Cable Internet service. The annual price includes access,
  3055. software and unlimited calls to the point of presence phone number,
  3056. thus allowing schools to budget their yearly internet cost without
  3057. having to worry about unknown size of telephone bills. It should also
  3058. allow schools to provide access without the worry of trying to
  3059. administer a system which controls phone usage. The cost is very
  3060. reasonable, being ú100 for schools with less than 250 pupils, ú250
  3061. for those with 250 to 500 pupils and ú500 for those with 500 pupils
  3062. or more.
  3063. 10.11
  3064. Of course, Cable Internet only provide software for Windows or
  3065. Macs(!). I have been evaluating the service and, as part of that, I
  3066. wanted to check whether it would work OK with Acorn software for
  3067. schools who wish to run it on Acorns. The good news is that it
  3068. appears to work fine. In fact, would you believe that, excluding the
  3069. time it took to get the relevant pieces of information from the Cable
  3070. Internet help line, it took me only about half an hour to have it up
  3071. and running using Termite Internet from Doggysoft, whereas it took me
  3072. over two hours to get the supplied Windows 95 software running!!
  3073. 10.11
  3074. This was made possible courtesy of Termiteæs clever öCreate Script
  3075. Fileò option on its main startup panel which asks for the basic data
  3076. needed (easily available from the Cable Internet help line - just ask
  3077. them for each bit as Termite prompts) and then creates an appropriate
  3078. script file and adds Cable Internet, or whichever provider you are
  3079. creating a file for, to the list of providers in the configuration
  3080. options. After a month of testing, it has logged on successfully
  3081. first time every time bar none!
  3082. 10.11
  3083. On request, Cable Internet also allows 5Mb of web space. Once asked
  3084. for, a user name (probably the email alias) and password allow you to
  3085. ftp (file transfer protocol) web pages and graphics etc, into your
  3086. personal web space. The Windows 95 software provided only allows you
  3087. to transfer into the root directory, so you have to download an
  3088. additional ftp utility to do more than that. However, Termite has ftp
  3089. built in and you can upload using all the drag and drop facilities of
  3090. RISC OS, so an entire web site of multiple pages and directories can
  3091. be selected and dragged into the web space directory with a single
  3092. öSelect Allò and drag and drop. This all works fine, as do deleting,
  3093. renaming etc of the files uploaded. A directory can only be deleted
  3094. on the Cable web space if it is empty, though, so its contents need
  3095. to be deleted first.
  3096. 10.11
  3097. Itæs true that Termiteæs web browser needs updating, though I am told
  3098. that that is in progress and will happen ösoonò, but the fact that it
  3099. is easier to set up and use than Cable Internetæs own PC software
  3100. says something! For schools wanting to take advantage of the Cable
  3101. Internet offer, and use it on Acorns, this is a way I would
  3102. definitely recommend. I have provided NCS with the files needed for
  3103. use with Termite so that others neednæt create a script file, just
  3104. replace two default files with the ones provided - a half a minute
  3105. task. Then all you need do is choose Cable Internet as the service
  3106. provider, choose the appropriate local phone number, enter user name
  3107. and password, and you are off!
  3108. 10.11
  3109. Mike Battersby, Kingston Schoolsæ IT Unit
  3110. 10.11
  3111. Hints and Tips
  3112. 10.12
  3113. 2-D scrolling - (This is a hint that keeps resurfacing. If you know
  3114. about it, fine, but lots of people seem to miss out on it. Ed.) The
  3115. quickest means of scrolling a window is to use the scroll bars
  3116. (although, of course, you need to have the öInstant draggingò
  3117. selected in the Window Manager configuration), but what many people
  3118. donæt realise is that you can use <adjust> to scroll up/down and
  3119. left/right at the same time. So, just click and hold the adjust
  3120. button on either the vertical or the horizontal scroll bar and move
  3121. the mouse, and this will scroll the whole window in any direction you
  3122. like.
  3123. 10.12
  3124. Mohsen Alshayef, mohsen@qatar.net.qa
  3125. 10.12
  3126. Archive CD-ROM - The Archive CD, contains the files of all the
  3127. Archive magazines, right back to Volume 4 Issue 5 - thatæs the good
  3128. news. The bad news (for some people) is that they are in Impression
  3129. format, but Ovation owners, donæt despair! First of all, the actual
  3130. words are there on the CD in text format, and you can search through
  3131. these using the text-search application provided on the CD.
  3132. 10.12
  3133. Also, and this is my main point, the Impression files are in
  3134. Édirectory formatæ. In other words, each magazine is not a single
  3135. file but a directory. So, shift-double-click on one and youæll see
  3136. something like:
  3137. 10.12
  3138. Then, in the CHAPTER2 directory you will find all the pictures that
  3139. go with the text. They are in Draw or Artworks format, the sprites
  3140. being embedded in drawfiles for some reason best known to the authors
  3141. of Impression. If you want to view the Artworks files, thereæs a
  3142. freeware Artworks file reader around.
  3143. 10.12
  3144. (Iæve put a copy of the Artworks reader on the 1997 Archive CD which
  3145. should be available shortly. Ed.)
  3146. 10.12
  3147. Elaine Kemp, Kings Norton
  3148. 10.12
  3149. Artworks speedy rotated text - Rotated text in Artworks files often
  3150. takes a long while to draw, whereas rotated text in Draw is often
  3151. much faster. The reason Draw whizzes along while Artworks ponders is
  3152. because Draw uses the standard font system and font cache while
  3153. Artworks uses its own FontDraw module. By default, the FontDraw cache
  3154. is quite small, so it must laboriously draw every character as though
  3155. it were drawing it for the first time. You can make it much faster by
  3156. using these two simple commands:
  3157. 10.12
  3158. *configure FDCharCache 96K
  3159. 10.12
  3160. *configure FDMetricCache 32K
  3161. 10.12
  3162. Of course, you can use larger values if you have a lot of memory, and
  3163. you should now find Artworks and Impression display rotated text much
  3164. faster.
  3165. 10.12
  3166. Paul Skirrow, Octopus Systems
  3167. 10.12
  3168. ÉFile openæ errors - The other day I was reluctantly forced to flick
  3169. through the RISC OS 3 manual and came across the *SHUT command. This
  3170. is nice and simple; it closes all those files which are Éopenæ on all
  3171. filing systems. Therefore, it solves the yucky ÉFile still open from
  3172. a previous operationæ error.
  3173. 10.12
  3174. Itæs a lot better than *BYE, or DISMOUNT from the iconbar filer menu,
  3175. since these shut down the directory window, meaning that you lose
  3176. sight of your file. *SHUT simply closes open files and lets you
  3177. access the file in question.
  3178. 10.12
  3179. Stewart Brookes, stewart.brookes@kcl.ac.uk
  3180. 10.12
  3181. Thanks for that, Stewart. I used to use *SCSI then *CLOSE, not
  3182. realising that *SHUT works across all filing systems, instead of just
  3183. the current one. This is another of those Éobviousæ hints that are
  3184. only obvious if you are in the know. For people like me, they are
  3185. very helpful. Please keep them coming, folks! Ed.
  3186. 10.12
  3187. Fresco file downloading - When downloading a large file using Fresco,
  3188. it is easy to forget to have a directory ready to save it into.
  3189. Fresco pops up a save box but it disappears when you open a
  3190. directory, and some people resort to downloading the whole file again.
  3191. 10.12
  3192. If this save box disappears, just click in the URL line and press
  3193. <return> and it will re-appear without fetching the file again. Donæt
  3194. click on the reload button because that will re-fetch the file all
  3195. over again, making you wait.
  3196. 10.12
  3197. An even better way to download files is to shift-click on the link to
  3198. the file. This opens a save box immediately so you can tell it
  3199. wherever you want to put the file before it starts downloading.
  3200. 10.12
  3201. Paul Skirrow, Octopus Systems
  3202. 10.12
  3203. Impression funny - (Well, not very funny!) I had real problems
  3204. editing the Puzzle Corner this month because each time I tried to
  3205. copy and paste it into a standard Archive file, it bombed Impression
  3206. totally and repeatably.
  3207. 10.12
  3208. Anyway, after some messing around I finally managed to track down the
  3209. problem. There were two MathGreek styles on the style list, and I
  3210. could see that the pasting of the text stopped (and Impression
  3211. bombed) at the first occurrence of MathGreek. So I saved the text
  3212. with styles (ctrl-f3), and you can see from the excerpt below where
  3213. the problem lies. (Iæve changed curly brackets to square.)
  3214. 10.12
  3215. This factorises as [öItalicò on](r [\178][\153]2[font
  3216. MathGreek]f[font] r+1) (r[\178]+ 2r[öMathGreekò on]
  3217. [\140][öMathGreekò off][öMathGreekò on][öSubscriptò on]f[öSubscriptò
  3218. off][öMathGreekò off]+1)[\160]=[\160]0 [öItalicò off], where etc...
  3219. 10.12
  3220. As you can see, the first time Colin used MathGreek, he used an
  3221. effect and thereafter he decided that he was going to use it a lot,
  3222. so he created a style, named öMathGreekò. What he was doing wasnæt
  3223. illegal, but Impression just couldnæt cope!
  3224. 10.12
  3225. I tried it myself on a new document and found that I could get a
  3226. similar effect. Impression didnæt bomb out but it certainly failed to
  3227. display the line containing the first occurrence of the effect.
  3228. 10.12
  3229. Moral: When creating a style, never use the name of a font. If Colin
  3230. had called the style öMaths bitsò or some such (spaces are allowed),
  3231. all would have been OK.
  3232. 10.12
  3233. (Donæt you just love Impression sometimes?!)
  3234. 10.12
  3235. P.S. I donæt believe it! Iæve just tried to paste Colinæs article
  3236. into the magazine itself and it has bombed again!!! This time, I
  3237. traced it to the dingbat I use at the end of each article. I have a
  3238. text file on my pinboard that I drop in which just says [font
  3239. Dingbats]u[font] - but with curly brackets, of course - where the öuò
  3240. turns into u. I have now created a style called End Dot which just
  3241. changes the font to dingbat, so my text file now says [öEnd Dotò
  3242. on]u[öEnd Dotò off] and Colinæs article pastes in perfectly. Hmmm!
  3243. 10.12
  3244. Ed., paul.NCS@paston.co.uk
  3245. 10.12
  3246. Lost Impression files - I recently deleted rather a lot of Impression
  3247. files (Arghhhh!!!!!). However, using Look Systemsæ Disc Rescue, I
  3248. managed to get most of them back. Here are some points to remember
  3249. which might save others some hair pulling.
  3250. 10.12
  3251. 1. Speak to Adrian Look (he is very helpful).
  3252. 10.12
  3253. 2. Single format files are fairly easy to recover. My version of
  3254. !Publisher saves the files starting with the sequence (at the sector
  3255. start) of öxV4ò. If you search for this, you also see the filename
  3256. nearby.
  3257. 10.12
  3258. 3. Failing that, all my impression files contain the string öMain
  3259. Heading...ò
  3260. 10.12
  3261. 4. All files seem to end öyV4ò (although this can also be found in
  3262. the middle of some files as well, presumably with embedded objects).
  3263. 10.12
  3264. (I can confirm that öxV4 and öyV4ò are generally applicable pointers
  3265. to look for in Impression files. Ed.)
  3266. 10.12
  3267. Mark Stephens, markee@april.demon.co.uk
  3268. 10.12
  3269. Sunlight and mice - donæt mix! This is a recurring problem that
  3270. catches people out in the summer time. It was last explained in
  3271. Archive 7.8 p21, but basically, if direct sunlight falls on your
  3272. mouse, it can confuse the optical sensors inside it, resulting in
  3273. erratic mouse pointer movement which disappears when you close the
  3274. curtains! The solution is to cover the inside top cover of the mouse
  3275. with foil, being careful to make sure that it is well stuck and canæt
  3276. short out any of the mouseæs delicate parts!
  3277. 10.12
  3278. Ed., paul.NCS@paston.co.uk
  3279.