home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / atari / st / 13201 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  5.5 KB

  1. Xref: sparky comp.sys.atari.st:13201 de.comp.sys.st:1332
  2. Path: sparky!uunet!math.fu-berlin.de!uniol!olis!oytix.north.de!jelal!nox
  3. From: nox@jelal.north.de (Juergen Lock)
  4. Newsgroups: comp.sys.atari.st,de.comp.sys.st
  5. Subject: elvis 1.6 `beta' for TOS/MiNT, patched one bug...
  6. Summary: d} etc at EOF doesn't crash elvis anymore
  7. Keywords: elvis editor vi zoo MiNT patch ftp.uni-paderborn.de atari.archive
  8. Message-ID: <2376.09.92@jelal.north.de>
  9. Date: 3 Sep 92 22:44:54 GMT
  10. Article-I.D.: jelal.2376.09.92
  11. References: <d09c.714151872@alf.zfn.uni-bremen.de>
  12. Organization: home
  13. Lines: 132
  14.  
  15. i received a bug report and patch for elvis, and because that one can
  16. be quite fatal especially on poor ataris without memory protection i
  17. decided to make a new archive.  (well it never happened to me but... :-)
  18.  
  19.  this patched elvis 1.6 for the atari is now on ftp.uni-paderborn.de
  20. [131.234.2.32] in either pub/atari/incoming/elv16beta2.zoo or
  21. pub/atari/MiNT/mgnustuff and on atari.archive.umich.edu [141.211.164.8]
  22. (is that ip address still right?) in atari/new/elv16beta2.zoo. (tnx to
  23. warwick for uploading it there...the connection from germany is something
  24. around the speed of a teletype. :-( )  (btw, wowbagger...uni-bremen.de
  25. had `No space on device' yesterday but local uni-bremen users can get it
  26. on alf in ~d09c/pub/atari.)
  27.  
  28.  or if you already have the first version you can also apply the patch
  29. and `make':  (there even are some warnings so you can try elvis' errlist
  30. feature: :-) just do the :make in elvis and when its finished hit *...)
  31.  
  32. *** vi.c~    Wed May 13 18:30:00 1992
  33. --- vi.c    Wed Sep  2 00:48:56 1992
  34. ***************
  35. *** 669,674 ****
  36. --- 669,687 ----
  37.                   break;
  38.               }
  39.   
  40. +             /* CHANGE: adjust tcurs again. It may be two lines
  41. +              * beyond EOF here, since it could have been beyond EOF
  42. +              * before the adjustment above already. I might be
  43. +              * better to avoid the adjustment above if tcurs was
  44. +              * already at EOF, but I am not sure, and adjutsing
  45. +              * again seems more general.    --hp
  46. +              *
  47. +              * ...but not adjmove because that also `corrects'
  48. +              * the column.  -nox
  49. +              */
  50. +             if (markline(tcurs) > nlines)
  51. +                 tcurs = MARK_EOF;
  52.               /* run the function */
  53.               tcurs = (*vikeys[prevkey].func)(range, tcurs);
  54.               if (mode == MODE_VI)
  55.  
  56.  ...and the rest of this message is a repeat from my original announcement:
  57.  
  58. Newsgroups: comp.sys.atari.st
  59. Subject: elvis 1.6 `beta' for TOS/MiNT
  60.  
  61. [...]
  62.  
  63.  note this is *not* an official release, so don't blame steve if
  64. something goes wrong.  but i am intrested in your comments of course...
  65. (i use it now for about 3 months and apart from one rare redraw problem
  66. that was also in earlier versions i have fixed only 1 bug since then.
  67. so it is quite stable...)
  68.  
  69.  here comes the readme...
  70.  
  71. ------------snip-----
  72. From: Juergen Lock <nox@jelal.north.de>
  73. Subject: elvis 1.6 for MiNT/TOS -- readme
  74.  
  75. [^^^^ so you can easily reply]
  76.  
  77. due to popular demand :-) and because its still some time until this will
  78. appear in an official release:  here is the current state of elvis on
  79. MiNT/TOS.  features:
  80.  
  81. 0. this is an *inofficial* version.  even the original 1.6 src it is
  82. based on you won't see posted somewhere... next will probably be elvis
  83. 1.7 appearing in comp.sources.reviewed. (but still without this MiNT
  84. stuff built in.)  so if you find problems and bugs don't bother steve
  85. with it (yet), they're probably mine anyway. :-)
  86.  
  87. 1. runs fine on both MiNT and TOS, but needs MiNT libraries to compile
  88. (and also probably gcc).  i have left the #if TOS stuff in (my patches
  89. use #if MINT) but you should use that only as a last resort. (the MiNT
  90. version runs better even under TOS.)
  91.  
  92. 2. behaves itself under MiNT.  that includes stuff like not busy-wait on
  93. the terminal, use pipes instead of tempfiles etc...  (looks at the __mint
  94. variable)
  95.  
  96. 3. and of course shell escapes etc work like you would expect of a vi.
  97. :r !ls -l ...   !Gtr -d '\015' (but see 6. :-)
  98.  
  99. 4. uses -ltermcap.  (that one was easy...)
  100.  
  101. 5. uses the `special key' mapping of the messdos version (see docs)
  102. and also maps the shifted cursor/insrt/home keys wich would otherwise
  103. give digits.  some of the keys can also be defined in the termcap entry,
  104. if that is found a default mapping for the others is used.
  105.  
  106. 6. new options: crlf (read/write \r\n, can be changed anytime) and
  107. stbios (screen io thru BIOS, default on TOS, off with MiNT).
  108.  
  109. 7...and varios fixes and other thigs i have forgot.
  110.  
  111.  here is the termcap entry i use on the console...
  112.  
  113. at|st|atari st:\
  114.     :ti=\Ev\Ee:am:te=\Ev\Ee:\
  115.     :al=\EL:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#80:\
  116.     :dl=\EM:do=\EB:ho=\EH:ve=\Ee:vi=\Ef:\
  117.     :li#25:se=\Eq:so=\Ep:up=\EA:nd=\EC:\
  118.     :us=\Er:ue=\Eu:md=\E(:me=\E):\
  119.     :ms:pt:\
  120.     :kl=#K:kr=#M:ku=#H:kd=#P:\
  121.     :kI=#R:kh=#G:kH=#O:kP=#I:kN=#Q:\
  122.     :k0=#D:k1=#;:k2=#<:k3=#=:\
  123.     :k4=#>:k5=#?:k6=#@:k7=#A:k8=#B:k9=#C:\
  124.     :ve=#blink:vs=#noblink:\
  125.     :cQ=#blink:cV=#noblink:
  126.  
  127.  ...and this one for toswin. (uses bold for reverse and has the keys
  128. added, otherwise its unchanged)
  129.  
  130. st52|toswin window mgr:\
  131.     al=\EL:am:bl=^G:bs:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\
  132.     co#80:dc=\Ea:dl=\EM:do=\EB:ei=\Ei:eo:ho=\EH:ic=:im=\Eh:it#8:\
  133.     le=^H:li#25:md=\EyA:me=\Ez_:mh=\EzB:mi:mr=\Ep:ms:nd=\EC:\
  134.     rc=\Ek:rs=\Ez_\Eb@\EcA:sc=\Ej:se=\Ez\01:sf=^J:sr=\EI:so=\Ey\01:\
  135.     ta=^I:ti=\Eq\Ev\Ee:ue=\EzH:us=\EyH:up=\EA:ve=\Ee:vi=\Ef:\
  136.     :kl=#K:kr=#M:ku=#H:kd=#P:\
  137.     :kI=#R:kh=#G:kH=#O:kP=#I:kN=#Q:\
  138.     :k0=#D:k1=#;:k2=#<:k3=#=:\
  139.     :k4=#>:k5=#?:k6=#@:k7=#A:k8=#B:k9=#C:
  140.  
  141.  ok, have fun...
  142.     Juergen
  143. -- 
  144. J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
  145.                                 ...ohne Gewehr
  146.