home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / text / hints / volume_05 / issue_01 next >
Text File  |  1995-02-16  |  23KB  |  465 lines

  1. Hints and Tips
  2. 5.1
  3. Å   FileUtils Ö Anyone using Ben Summersæ FileUtils should note that
  4. <ctrl-shift-F2>, <ctrl-shift-F3> and <ctrl-shift-F4> will still call up
  5. the FileUtils routines even when, say, working in Impression. This can
  6. give a nasty shock if you are, for example, trying to insert preset
  7. styles using <ctrl-shift-F4> and a öchange filetypeò dialogue window
  8. pops up. Mike Hobart, Cambridge.
  9. 5.1
  10. Å   Installing Desktop C Ö If you have recently upgraded from C to Desktop
  11. C, you may have a little difficulty installing Desktop C onto your hard
  12. disc. When you first try to run the ÉInstallæ program, it will stop
  13. abruptly half way through the second of the four discs, with no clues as
  14. to what has happened. This is because the ÉInstallæ program tries to
  15. create a directory called $.User. Cmodule, which already exists from
  16. your previous installation of C and so the program crashes. The solution
  17. is simple, just delete the old $.User.Cmodule directory before attempt
  18. ing to install Desktop C.   D R Kennard, London.
  19. 5.1
  20. Å   LBP-4 CaSPL Ö Switching between Video output (for the CC Hi-Res board)
  21. and CaSPL output of the LBP-4 doesnæt appear to be documented in the
  22. manual. Here is how it can be done:
  23. 5.1
  24. From Video to CaSPL mode:
  25. 5.1
  26. 1.   Hold down öMenuò for 3 seconds until öMode=Videoò is displayed.
  27. 5.1
  28. 2.   Tap the öMenuò key once to display öMode=CaSPLò
  29. 5.1
  30. 3.   Tap öEnterò. The LCD will read ö01 Ex Exitò then ö00 Ready A4ò
  31. 5.1
  32. 4.   Tap the öOff-lineò key to take the machine off-line (if the green
  33. on-line indicator is lit).
  34. 5.1
  35. 5.   Tap öFeeder Selectò.
  36. 5.1
  37. 6.   Tap öMenuò. The menu as described in the manual is now displayed.
  38. 5.1
  39. From CaSPL to Video:
  40. 5.1
  41. 1.   Take the printer off-line.
  42. 5.1
  43. 2.   Hold down the öMenuò for 3 seconds Ö öMode=CaSPLò is displayed.
  44. 5.1
  45. 3.   Tap öMenuò again Ö öMode=Videoò is displayed.
  46. 5.1
  47. 4.   Tap öEnterò.
  48. 5.1
  49. 5.   You are now back in Video mode.
  50. 5.1
  51. Mike, Bainbridge, Derby.
  52. 5.1
  53. Impression Hintsá&áTips
  54. 5.1
  55. Å   Adding a frame at beginning of a story Ö It is not immediately obvious
  56. (well, it wasnæt to me!) how to add extra frames into a story that runs
  57. through a number of frames. Suppose you have two frames, B and C (Iæll
  58. get to A in a minute) Ö perhaps they are two main columns on this page Ö
  59. and you want to split column B into two frames leaving a gap in the
  60. middle. What you do is firstly shorten frame B using the frame handle at
  61. the middle of the bottom of the frame. Then you use <ctrl-I> and create
  62. a new frame wherever you want it under frame B (letæs call it frame B2).
  63. Now click on frame B with <select> and then on frame B2 with <adjust>
  64. and the text will flow into it so that it runs BÖB2ÖC.
  65. 5.1
  66. Now suppose you want the text to start in a frame before frame B. (Letæs
  67. call it frame A.) The technique is to create the new frame, A, wherever
  68. you want it using <ctrl-I>. Then click on frame B with <select> and then
  69. on frame A with <adjust>. The text will now flow into it so that it runs
  70. BÖAÖB2ÖCÖetc. (N.B. This wonæt work unless frames A and B are on the
  71. same page because you cannot flow text backwards across a page bound
  72. ary.) Then click on B and use <ctrl-X> to delete it. The flow is now
  73. just AÖB2ÖCÖetc. Finally, you create a new copy of frame B by using
  74. <ctrl-V>, click on frame A with <select> and the new B with <adjust> and
  75. the flow will be AÖBÖB2ÖCÖetc.
  76. 5.1
  77. Å   Dual window problems solved? Ö A few issues ago, I mentioned the
  78. problem that if you open a second window on a document and then expand
  79. and contract that window (so that you can alternately use two different
  80. scale views) each time you shrink view 2 using the icon at the top right
  81. of the window, it doesnæt stay at the place in the document that you
  82. have just been working on. It always seemed (in my case) to go back to
  83. somewhere earlier in the document. No one has offered any solution but
  84. it seems to me that it goes back to wherever you last added a frame into
  85. that window. So if you want to ökeep your placeò in the second window,
  86. use <ctrl-I> to create a new frame at that place in the document and
  87. then use <ctrl-X> to delete it again. Crude, but it seems to work. (No,
  88. it doesnæt, not always. Drat, I thought I had solved it! Come on,
  89. someone must be able to solve this one Ö Iæll give a free Archive mug to
  90. the first person to solve it. Ed.)
  91. 5.1
  92. Å Equasor and matrices Ö The biggest drawback Equasor has for me as a
  93. mathematics teacher is its inability Ö at least in version 1.00 Ö to
  94. handle vectors and matrices.
  95. 5.1
  96. There is, however, a way in which a very credible matrix can be created
  97. Ö with a small amount of extra work:
  98. 5.1
  99. I build the columns as multiple fractions, and then enclose everything
  100. in brackets; I drop the file into Draw, remove the fraction bars and
  101. then align the brackets with the numbers.
  102. 5.1
  103. Jochen Konietzko, K÷ln, Germany
  104. 5.1
  105. Å   Special characters Ö Now Iæm sure you ALL knew this, but I didnæt
  106. until I read this monthæs PipeLine article. The Alt key is extremely
  107. useful for inserting special characters in the text. I had discovered
  108. that <Alt-space> (thatæs holding the Alt key down and tapping on the
  109. space bar) gave a Éhardæ space where you donæt what the words (e.g. the
  110. halves of a postcode) to be split across the end of one line and the
  111. beginning of the next, and I had discovered the idea of using Alt
  112. together with the numbers on the numeric keypad to produce special
  113. characters, but how about this...
  114. 5.1
  115.      a▓ + b▓ = c│
  116. 5.1
  117. I produced that in seconds without using superscript. The ▓ is produced
  118. with <Alt-2> and the │ with (yes, youæve guessed) <Alt-3>. In other
  119. words, you hold down the Alt key, as if it were the shift key, and type
  120. 2 or 3. Here is a table of the ones I have found but note that this only
  121. applies to Trinity font which I am using. Other fonts may be different
  122. but, generally, they tend to stick to using the same symbols for the
  123. same ASCII numbers which the Alt key produces. The third column is the
  124. ASCII number produced.
  125. 5.1
  126. <Alt-1>   ╣   185
  127. 5.1
  128. <Alt-2>   ▓   178
  129. 5.1
  130. <Alt-3>   │   179
  131. 5.1
  132. <Alt-9>   ▒   177
  133. 5.1
  134. <Alt-0>   ░    176
  135. 5.1
  136. <Alt-C>   ó   162
  137. 5.1
  138. <Shift-Alt-C>   ⌐   169
  139. 5.1
  140. <Alt-M>   ╡   181
  141. 5.1
  142. <Alt-R>   «   174
  143. 5.1
  144. <Alt-S>   º   167
  145. 5.1
  146. <Alt-X>   ╗   187
  147. 5.1
  148. <Alt-Y>   Ñ   165
  149. 5.1
  150. <Alt-Z>   ½   171
  151. 5.1
  152. <Alt-`>   ¼   172
  153. 5.1
  154. (top left key under <esc>)
  155. 5.1
  156. <Alt-,>   ╫   215
  157. 5.1
  158. <Alt-.>   ≈   247
  159. 5.1
  160. <Alt-space>      160 (hard space)
  161. 5.1
  162. If you have found any that I have missed, perhaps in other fonts, let us
  163. know. Ed.
  164. 5.1
  165. Å Spell checking Edit documents Ö Whenever I typed a longish Edit text
  166. file, I used to regret the absence of a spell checker. For Impression
  167. users, this poses no problem:
  168. 5.1
  169. Simply drop the Edit file in question into an empty Impression frame,
  170. have Impression check the spelling, then export the text back into Edit
  171. by saving just the text story without styles. You can drag the text
  172. story onto the Edit icon to have another look at it or save it in the
  173. usual way directly to a disk. The import/export takes just a few
  174. seconds, so this is nearly as good as a spell checker built into Edit
  175. itself. Jochen Konietzko, K÷ln, GermanyááA
  176. 5.1
  177.  
  178. 5.1
  179. Silicon Vision
  180. 5.1
  181. New
  182. 5.1
  183.  
  184. 5.1
  185. Colton
  186. 5.1
  187.  
  188. 5.1
  189. 4.12 p21
  190. 5.1
  191.  
  192. 5.1
  193. Matters Arising
  194. 5.1
  195. Å   Archimedesæ Tutor Ö Simon Anthony has produced a Beginneræs D.I.Y.
  196. Introduction to the Archimedes using the !Hyper application on Shareware
  197. Disc 19. If anyone is interested they should contact him directly at 62
  198. Rutland Road, West Bridgford, Nottingham, NG2 5DG.
  199. 5.1
  200. Å   ArmSort Ö Fast Array Sorts Ö The author replies... The reviewer
  201. (Ashley Bowden in Archive 4.12 p53) seems to have created a problem with
  202. the flag values. The ArmSort documentation DID clearly state that for
  203. the CALL sort öThe parameters must all be variables, but may be of any
  204. nameò. If CALL sort,test%() ,128 is used, then it is Basic that objects
  205. with öSyntax Errorò, ERR=16, because it is a Basic requirement that all
  206. CALL parameters are variables not constants. Thus it is rather unfair
  207. for the reviewer to claim that to have to use variables is ö.. very
  208. unorthodox, and mention should be made in the documentation.ò ArmSort
  209. errors are comprehensive and are very clearly documented.
  210. 5.1
  211. This Éproblemæ wasted about a third of the review, which could have been
  212. better used to mention the PROCsort and SWI interfaces or the ability to
  213. sort on absolute numeric values, or with null strings low or high.
  214. 5.1
  215. May I also suggest that all software reviews should clearly state what
  216. version is being reviewed: the ArmSort review copy was Version 2.12,
  217. sent to Archive in February. The current Version is 2.51, which has the
  218. following improvements: sort time reductions of between 30% and nearly
  219. 50%; the ability to sort strings from any position, or by length; the
  220. ability to specify a key sequence; new procedures for a fast binary
  221. search of sorted arrays; and all programs now do run easily from the
  222. desktop. All users have had free upgrades and seem happy with the
  223. product. Martin Avison, Avisoft.
  224. 5.1
  225. (Sorry if we seem to have reviewed an out-of-date product but when
  226. someone sends software to us for review, we have to assume it is a
  227. östableò version. If the software has gone from version 2.12 to version
  228. 2.51 since February, this indicates continuous development. This is fine
  229. but, if significant changes are made, the onus is on the software
  230. supplier to send us the latest version. This product was still on the
  231. ösoftware to be reviewedò list in the May edition of Archive. If Martin
  232. had noticed this and sent us the latest version at that stage, the
  233. difficulty might have been avoided. Ed.)
  234. 5.1
  235. Å   MidiVision Update Ö Koen Lefever has sent us an updated version the
  236. MidiVision program on Shareware Disc 33. It is now compatible with the
  237. new Acorn MIDI Podule ROM and capable of detecting real time messages.
  238. The new version has been put on this monthæs program disc.
  239. 5.1
  240. Å   PRES Disc Interface & DFS Ö In the review in Archive 4.11 p27 we
  241. referred to difficulties in reading 40 track BBC discs. PRES suggested
  242. that the problem may be due to öresidual dataò on the discs. In other
  243. words, they are suggesting that the problem may lie with discs that have
  244. been written onto by different 40 track drives, some with narrow heads,
  245. as in 40/80 drives, and some with wider tracks as in true 40 track
  246. drives. It would be interesting to hear other peopleæs experiences on
  247. this. We have also found that it is sometimes necessary to slow the head
  248. stepping time right down as low as it will go in order to read 40 track
  249. discs. (We also used a rather old address for PRES. It is currently P.O.
  250. Box 319, Lightwater, Surrey, GU18 5PW. 0276Ö72046, fax 51427.)
  251. 5.1
  252. Å   RISC-OS Dreaming Ö I would like to reply to Oliver Gunasekaraæs
  253. letter, RISC-OS Dreaming, published in Archive 4.12 p15. Many of
  254. Oliveræs suggestions have been extensively discussed in the USENET news-
  255. group dedicated to Acorn machines. Well-informed contributions from
  256. Acorn staff (in a private capacity) and experienced programmers (RISC-OS
  257. and otherwise) allow fairly definite predictions to be made as to the
  258. likelihood of some of these suggestions being realised in later version
  259. of RISC-OS.
  260. 5.1
  261. Firstly, there is almost no chance of proper demand paged virtual memory
  262. being implemented under RISC-OS on current generation ARM processors.
  263. The problem is that much (if not all) of RISC-OS runs with the ARM
  264. processor in its supervisor mode. In this mode, the ARM-2 and ARM-3 are
  265. unable to implement virtual memory. Not enough information is saved to
  266. enable execution to be resumed after an attempt to access memory not
  267. physically present causes the MEMC memory controller to interrupt
  268. execution. Thus, virtual memory would require a drastic rewrite of RISC-
  269. OS so that any code that might access virtual memory runs in user mode
  270. or avoids memory not physically present. Acorn almost certainly do not
  271. have the resources to do the necessary rewrite. Simpler, less effective
  272. forms of virtual memory such as swapping out non-running programs are
  273. possible, but would still be very complicated.
  274. 5.1
  275. Pre-emptive multi-tasking is, on the other hand, quite possible. It is
  276. just that doing it without introducing subtle bugs into software written
  277. under the assumption that multi-tasking is co-operative is fiddly. As
  278. with virtual memory, the fact that RISC-OS did not allow for pre-emptive
  279. multi-tasking, when originally written, makes it messy to implement
  280. later on. Even running other tasks when the current task is blocked,
  281. waiting for i/o, is rather tricky to implement though, according to the
  282. grape-vine, this does indeed happen to some extent in RISC-OS 3.
  283. 5.1
  284. As to nicer system fonts, better design, TCP/IP file-sharing and hot-
  285. linking Ö letæs hope it happens. Thereæs no technical obstacle and these
  286. are definitely things necessary for Acorn to keep up with the state of
  287. the art. A new file-system allowing more files in a directory and longer
  288. filenames would also go down well. It would be a real boon to people
  289. like myself who have to use RISC-OS machines in conjunction with UNIX or
  290. MesS-DOS boxes.  Andrew Stevens, Overton.
  291. 5.1
  292. Å   RISC-OS Dreaming Ö I would agree with many of the points about RISC-OS
  293. 2.0 put forward (in Archive 4.12 p15), by Oliver Gunasekara. However,
  294. Iæm not sure that making RISC-OS look more like other graphical
  295. interfaces will necessarily bring us much benefit.
  296. 5.1
  297. I am responsible for several different computer systems (micros and
  298. minis) each of which has its own user interface from the quirkiness of
  299. the Apple and Atari systems, to the smooth, powerful X-Windows systems.
  300. Some of the staff prefer one system, some prefer another. Itæs a bit
  301. like choosing your favourite car, you get the one that suits you.
  302. 5.1
  303. Strangely enough, considering its sales, the least popular GUI in our
  304. department is Windows 3.0. Even allowing for its deficiencies, RISC-OS
  305. seems to have become the preferred choice for more than half our
  306. department. Whether this is due to RISC-OS itself, applications like
  307. Impression or the speed of the ARM3 powered machines, Iæm not sure. What
  308. I am sure of is that RISC-OS is quite capable of winning converts from
  309. other systems.
  310. 5.1
  311. Even so, letæs hope that RISC-OS 3 contains a lot of those improvements
  312. mentioned by Oliver. DáHutchinson, Sheffield.ááA
  313. 5.1
  314.  
  315.  
  316.  
  317. The Engineer Speaks...
  318. 5.1
  319. Ray Maidstone
  320. 5.1
  321. For the last few months, Ray Maidstone has been, effectively, the N.C.S.
  322. Service Centre. He has done a great job fixing dead or dying Archimedes
  323. computers for us and upgrading the memory of A310s. In doing so, he has
  324. come across various recurring problems which could be avoided if a few
  325. precautions were followed.
  326. 5.1
  327. Here are some hints & tips which should help to keep your Archimedes in
  328. tip-top condition. A word of warning though, some of the things I am
  329. suggesting should not be attempted unless you really feel competent to
  330. do so. The general rule is, if in doubt, ask for help!
  331. 5.1
  332. Å   300 and early 400 series keyboards Ö (See also the article on page 37)
  333. These keyboards do not have sprung contacts coming together, but foil
  334. closing over multiple contact points on sprung pads. Various people have
  335. informed me that they have sprayed their keyboards with switch cleaner
  336. to improve things when they have had intermittent contacts on one or
  337. more keys. They may have got away with it, but it is my view that these
  338. keyboards should never be sprayed with switch cleaner. The only
  339. recommended method of servicing this item is to dismantle (but ONLY if
  340. you feel competent to do so!) and remove foreign particles with a soft
  341. brush and a vacuum cleaner. Anything sticky or difficult to remove is
  342. best left to your Service Centre. WARNING: Using switch cleaner which
  343. contains an organic solvent can destroy components within the keyboard
  344. and slowly but surely render it useless. Be warned! (We have a dead
  345. keyboard available for inspection if you are in any doubt! It was killed
  346. by using Tandyæs Tix Electronic Switch Cleaner. Ed)
  347. 5.1
  348. Å   Mouse Ö If you unplug your mouse, the recommended procedure for
  349. reconnection is to first disconnect the keyboard from the computer, plug
  350. the mouse into the keyboard then reconnect to the computer. The reason
  351. for this is that the mouse contains one solitary chip, which has no
  352. protection from spikes at switch-on from the outside world, whereas the
  353. keyboard has circuitry that is slightly better equipped to cope with any
  354. misadventures. Plugging the mouse into the keyboard and then plugging
  355. the keyboard into the computer is the safest method and could well save
  356. you money.
  357. 5.1
  358. Å   Monitor smear Ö On the 400 series computers, it is possible to get a
  359. composite video signal out of the sync socket which you can use for a
  360. mono monitor. This is done by making links LK5 and LK6. However, if
  361. these links are made, it can cause problems with certain high resolution
  362. monitors. You get a certain amount of smearing on the ends of horizontal
  363. lines. This effect is caused by the electronics of the Archimedes and
  364. can only be cured by removing the links. (I have a confession to make.
  365. Until we discovered this problem, we always tested our 400 series
  366. computers using a mono monitor. We added links 5 and 6 but did not
  367. remove them before sending out the computers. If you have had a 400
  368. series computer from us, I suggest you check for this effect and remove
  369. the links if necessary. Ed)
  370. 5.1
  371. Å   Video RGB outlet Ö On the 310 and early 400 series, it is possible to
  372. destroy the VIDC chip by plugging in the video lead to either the
  373. computer or the monitor if one or both of these items are switched on.
  374. The electronics of this socket do not accept the slightest static
  375. variation and any deviation will damage the VIDC chip. Whoops! Ö there
  376. goes another ú30! I have designed a multiple diode module as a service
  377. modification which upgrades these old machines to the new static-
  378. protected specification. Whilst Acorn confirm that my modification is
  379. öArchimedes-legalò, they will not put their name to it as yet. This
  380. modification has been particularly well received by schools, as it stops
  381. pupils being able to blow up their computers!
  382. 5.1
  383. Å   Fan filters Ö With the fan driving air into the filter (lower half of
  384. the diagram below) it is possible for the filter, in its blocked state,
  385. to completely eliminate all airflow within the computer. However, with
  386. the fan sucking air through the filter (upper half of the diagram
  387. below), even if the filter becomes totally blocked, residual air
  388. currents will still flow within the computer, providing some ölast
  389. resortò cooling. Also, with the filter on the outside of the fan,
  390. cleaning couldnæt be easier. All that is needed is to slide the lid back
  391. 10 cm (or 4 inches for those of us still in Imperial!) and suck the dust
  392. off the filter with a vacuum cleaner.
  393. 5.1
  394. Å   Hard drive parking Ö After much debate and the dismantling of two
  395. unserviceable hard drives, I have found that, in order to give your data
  396. maximum protection at closedown, *BYE must be followed by *SHUTDOWN.
  397. These two commands, although slightly similar, do not seem to perform
  398. the same task and, to my satisfaction, have been proven to be necessary
  399. in the order stated. The effects of closing the drive down can be
  400. verified acoustically and visually, e.g. *BYE will produce one staccato
  401. tick noise and a short flash on the hard drive LED, but this does not
  402. mean the drive is fully parked. Typing *SHUTDOWN will produce a multiple
  403. wink of the hard drive LED and a triple tick noise from the drive. Take
  404. my word that this guarantees total shutdown of the drive. If *SHUTDOWN
  405. is typed without having typed *BYE, a single tick will be heard and the
  406. drive will simply have moved the head to a different track, but it will
  407. not be fully parked. (Different effects happen on different drives under
  408. this condition.)
  409. 5.1
  410. (Some may call this a öbelt & bracesò method, but when it comes to
  411. protecting several hundred pounds worth of hard drive, I prefer to err
  412. on the side of caution. Ed)
  413. 5.1
  414. Å   Removable hard drive parking Ö The command DISMOUNT brought up by
  415. clicking <menu> on the SCSI icon, does not mean your drive is parked. It
  416. simply means that the drive has shut its motor down and that the
  417. software has öforgottenò about the drive in question. At this point, if
  418. you switch the power off, the heads have been left out over the disc at
  419. the last track you were using and will be in the same position next time
  420. you switch on the power. In order to eliminate the possibility of power-
  421. on destroying any data bits, the centre button on the removable drive
  422. must be pressed and the drive fully disengaged with the lever. This
  423. operation mechanically parks the heads off the disc and is the only way
  424. to guarantee this.
  425. 5.1
  426. Å   Stray metalware Ö When removing the motherboard on the 300/400 series,
  427. it is very possible to dislodge one or more of the spring speed nuts
  428. (for the two rear self tapping screws that öget in the wayò when
  429. removing the board). Make sure these are firmly in place when reassem
  430. bling Ö better still, remove them, clamp them slightly more closed and
  431. refit. This will prevent any further mishap which could cause shorting
  432. under the main PCB.
  433. 5.1
  434. Å   Stuck floppy discs Ö It is unfortunately possible, now and again, for
  435. a floppy disc to become stuck in the drive. This will be due to one of
  436. the following causes, and if you wish to keep costs to a minimum, NEVER
  437. tug at, or forcibly remove, the stuck item.
  438. 5.1
  439. (Again, we have u/s floppy drives available for inspection if you need
  440. proof. Ed.)
  441. 5.1
  442. 1. The metal sliding cover on the disc can become widened, perhaps due
  443. to being bent in the post, or being sat on or whatever. As the metalwork
  444. of the slider opens, it will act like a ratchet allowing the disc to go
  445. in but not to come out without difficulty.
  446. 5.1
  447. 2. The spring that returns the metal cover can become unlaced and behave
  448. like a fish hook, snagging the unlocking post within the drive.
  449. 5.1
  450. 3. The metal screening plate on the upper disc reading head within the
  451. drive can become dislodged and catching the plastic work of the disc
  452. (particularly on the older Sony drives).
  453. 5.1
  454. In ALL cases, if the drive is removed by somebody competent to do so,
  455. you should find that delicate easing will allow the disc to come out
  456. again without damaging the drive and, 9 times out of 10, the disc can
  457. also be saved.
  458. 5.1
  459. In the case of the metal head shield of the Sony drive, simply throw it
  460. away as it was later found to be unnecessary. Where the metal gate of
  461. the drive is distorted, it is quite acceptable to remove this item by
  462. unfolding it and removing the spring. The disc will operate without the
  463. metal cover but keep little fingers out Ö remember the 5╝ö floppies?ááA
  464. 5.1
  465.