[comp.sys.atari.st] Emacs 3.10 upgrade

lutz@UAIMZA.MATHEMATIK.UNI-MAINZ.DE (04/11/90)

During the last weeks I heavily modified and tested the MicroEMACS 3.10
version for the Atari ST.
As it now seems to run stable, I'd like to offer all those of you who are
interested the opportunity to get this version (binary plus source).


Following changes/additions to MicroEMACS 3.10 were made:

- it now gets all filenames via the AES fileselect box (using fsel_input or
  fsel_exinput depending on the TOS version used).

- it now always uses the GEM mouse (even when started as a TOS/TTP application).

- it now uses the complete ASCII character set (1-255). This is _most_
  interesting for all those foreigners (like me) who like to bind macros
  to any key or to do replacemets with anything that can be typed in
  (without encountering bombs).

- all shell-functions now work correctly (new system() function written);
  at least when using MSH (Mark Williams Microshell). I'm going to change
  this function to the new ARGV specification when I get hold of a UNIX-
  like shell that uses the new ARGV specification _and_ supports piping
  (so I'm not talking about MUPFEL -- one of the GEMINI-twins -- because
  it lacks the latter and is therefore no real replacement for MSH).
  Alas, MSH's build-in language isn't very helpful for writing shell scripts,
  (but otherwise it's a fine piece of software) so I'm thinking about writing
  my own shell.

- some changes concerning the keycode were necessary (well, there _is_ a
  difference between the keyboard scancodes of an Atari ST and those of
  an IBM clone ...)

        key           value      PC name        description
        -----------------------------------------------------
        help            M-?                     help
        undo            ^G                      abort-command
        ^Crsr-up        FN^Z    (^page up)
        ^Crsr-down      FN^V    (^page down)
        S-Crsr-left     ^A                      beginning-of-line
        S-Crsr-right    ^E                      end-of-line
        S-Crsr-up       FNZ     page up         next-page
        S-Crsr-down     FNV     page down       previous-page
        S-home          FN>     end             end-of-file
        home            FN<     home (pos1)     beginning-of-file
        S-tab           S-^I    backtab

  the function keys now return:

        normal:         FN1     FN2     ...     FN0
        shift:          S-FN1   S-FN2   ...     S-FN0
        alternate:      A-FN1   A-FN2   ...     A-FN0
        control:        FN^1    FN^2    ...     FN^0


- fence-matching in CMODE now works: the cursor was switched off so no one
  could see it jumping to the matching fence, funny eh ?

- it's now possible to compile a version in which the status line appears
  in reverse video.

- the environment variable HOME may now be set (see EMACS.TXT p. 46) as the
  bug which didn't allow MicroEMACS 3.10 to use its value correctly has been
  removed.

- several minor optimizations/corrections (Atari dependend source files)

- some code has been rewritten to speed things up (screen-update, ...)


Some things for the future:

- future versions will correctly read the current screen resolution and set
  the internal variables to these values. This will enable MicroEMACS users
  to take advantage of the full screen size (OVERSCAN, BIGSCREEN, ...) without
  having to change EMACS.RC.

- I'm going to partially rewrite the MW-C file-I/O-functions to speed things
  up. MW-C does all its file-reading through a 512 Bytes buffer which is a
  very slow way of doing it. Enlarging this buffer to 2048 Bytes (or even
  larger) will very much speed up the (currently) boring process of reading
  large files.

  Maybe there's someone out there who knows a way of doing this without
  having to rewrite the MC-C file-I/O-functions ???

  (an undocumented variable that does the trick would be _very_ fine ...)

    Inquiries to
       Stefan Steffens
       Westring 273
       D-6500 Mainz 1
       United Germany
       e-mail: lutz@uaimza.mathematik.uni-mainz.de (EARN/BITNET)

ncastellano@eagle.wesleyan.edu (04/12/90)

In article <9004111357.AA23222@uaimza.mathematik.uni-mainz.de>, lutz@UAIMZA.MATHEMATIK.UNI-MAINZ.DE writes:
> During the last weeks I heavily modified and tested the MicroEMACS 3.10
> version for the Atari ST.
> [...]
> - it now gets all filenames via the AES fileselect box (using fsel_input or
>   fsel_exinput depending on the TOS version used).

Please please PLEASE make this optional!  I can't stress enough how much I
dislike dealing with file selectors and such in a text editor.  If I wanted
cute little windows and boxes popping up all over the place I'd use a
GEM-based editor like 1ST-Word Plus, not a Unix-style editor like Emacs.
Thank you for taking this into consideration,

                     Nick

AlexK@tharr.UUCP (AlexK) (04/13/90)

I re-compiled me3.10 (making many of the same changes) with the Lattice 5.04
compiler, resulting in a doubling of I/O speed (i.e. files load in half the
time), also it came in some 15K smaller.

AlexK@tharr.uucp