Coder Social home page Coder Social logo

uemacs's Introduction

+---------------+
| uEmacs/PK 4.0 |
+---------------+

        Full screen editor based on MicroEMACS 3.9e

        MicroEMACS was written by Dave G. Conroy and
        greatly modified by Daniel M. Lawrence

        Copyright Notices:

        MicroEMACS 3.9 (c) Copyright 1987 Daniel M. Lawrence.
        Reference Manual Copyright 1987 by Brian Straight and
        Daniel M. Lawrence. No copyright claimed for modifications
        made by Petri H. Kutvonen.

        Original statement of copying policy:

        MicroEMACS 3.9 can be copied and distributed freely for any
        non-commercial purposes. MicroEMACS 3.9 can only be incorporated
        into commercial software with the permission of the current author
        [Daniel M. Lawrence].


WHAT IS uEmacs/PK?

uEmacs/PK 4.0 is an enhanced version of MicroEMACS 3.9e. Enhancements
have been incorporated by Petri H. Kutvonen, University of Helsinki,
Finland <[email protected]>.


WHY IS IT BASED ON AN OLD VERSION OF MicroEMACS?

In my opinion 3.9e was the best of all MicroEMACSes. Creeping
featurism, growing size, and reduced portability made versions 3.10 and
3.11 less attractive. MicroEMACS 3.9e was one of the few editors that
were truly portable between different flavours of UNIX, PC/MS-DOS, and
VAX/VMS. It was pretty robust - although not flawless. uEmacs/PK 4.0
includes numerous bug fixes, adds some new functionality and comfort but
does not sacrifice the best things (small size and portability).


WHAT IS NEW - COMPARED TO MicroEMACS 3.9e?

Enhachements:

o  advisory file locking on BSD-derived systems
o  new screen update algorithm, borrowed largely form "vile" by
   Paul G. Fox <[email protected]>, uEmacs can now be used on slow (1200 bps)
   connections because it uses terminal scrolling capabilities
o  new variables $scroll, $jump, and $overlap to control scrolling
o  uEmacs reacts to windows size change signals (UNIX), also from "vile"
o  automatic file name completion, works under UNIX and PC/MS-DOS
o  functions keys on VT200 style keyboards can be used
o  new command: justify-paragraph (Meta J)
o  something important for us Europeans: allow the use of 8 bit ISO Latin 1
   alphabet (UNIX and VMS), on an IBM-PC the accented characters are
   interpreted as letters too
o  the characters {|}[\] can be interpreted as letters, these are
   frequently used as "national replacement characters" especially in
   the Nordic countries
o  allow use of XON/XOFF flow control: alternative key sequences for
   ^S and ^Q, don't disable flow control
o  speed up reading of files (under VMS especially)
o  new variable $tab, hardware tab stop (4 or 8)
o  automatic configuration on some common systems
o  new style mode line, includes percentage indicator
o  new help file

Bug fixes - not very interesting:

o  use TI and TE termcap strings, uEmacs works now correctly under
   Sunview and OpenWindows
o  use old protection mask on existing files (VMS)
o  catch data overrun errors (VMS)
o  allow VMS file names with characters < and >, replacements for [ and ]
o  allow ANSI screens larger than 24 lines
o  fix add/delete(-global)-mode
o  display EOF as char = 0x0, not as garbage
o  allow upper case letters in answers
o  fix command interpreter spawning
o  don't use reverse video on some (TVI925 style) terminals
o  fix message line writing
o  fix replace/undo
o  fix &left and &mid functions
o  fix documentation
o  smaller bug fixes are too numerous to mention

Something is gone:

o  removed (obsolete and untested) support for Amiga, Atari, and Mac


WHERE HAS IT BEEN TESTED?

uEmacs/PK 4.0 has been tested by myself on the following platforms:

        IBM PC and compatibles, PC/MS-DOS 3.2 and up
        Sun 3, SunOS 4.1.1
        SPARC, SunOS 4.1.X and 5.{2|3|4|5} (Solaris 2)
        VAX 8800 and 6000-420, VMS 5.4
        DECstation 3100, Ultrix V4.1
        IBM RS/6000, AIX 3.1.5
        IBM PS/2, UNIX System V/386 Release 3.2
        uVAX II, Ultrix V2.0
        AT&T 3B2/400, UNIX System V Release 2.0
        Various Toshiba i486 laptops, Linux 0.99pl13 thru 2.0.21

I have no reason to believe that there would be any problems to port
uEmacs/PK 4.0 to any reasonable BSD-, OSF/1-, or SVR4-based UNIX system.


HOW CAN I GET IT?

uEmacs/PK is available by anonymous FTP from ftp.cs.Helsinki.FI (IP
address can change) in the directory pub/Software/Local/uEmacs-PK. You
cannot get it by email of uucp. Hopefully it will bee soon available
from other file servers too.


WHAT IS IN THE PACKAGE

o  em-4.0.<x>.tar.gz:   full source, make and command files to build the
                        editor, reference manual as a MS-Write document,
                        tarred and gzipped, for patchlevel <x>

o  there used to be a packages with binaries for PC/MS-DOS,
   SPARC/SunOS4, Sun 3, MIPS/Ultrix, 386/ix, IBM RS/6000, VAX/VMS,
   if you are really desperate you can try contacting me for an old
   version of these


HOW TO INSTALL uEmacs/PK?

o  PC/MS-DOS: Compile the package with using Turbo C 2.0 or MSC 6.0.
         (Pretty obsolete both of these.) There are some support files
         you might find useful in the full distribution.

o  UNIX: Copy makefile.unx to makefile, edit to taste, look at estruct.h,
         do a 'make', test the editor, 'make install'.

o  VMS:  To compile use '@VMSMAKE', install manually, uEmacs/PK uses a
         logical name EMACS_DIR to locate its initialization files.


CONTACT INFORMATION

There will probably not be many new versions of uEmacs/PK, maybe just
some bug fixes. I have no intention to develope the code any further.
However, if you have some comments or good suggestions, you may find
the email address below useful.

Petri H. Kutvonen
Department of Computer Science
P.O.Box 26 (Teollisuuskatu 23)
FIN-00014 UNIVERSTITY OF HELSINKI
Finland

email: [email protected]
fax:   +358 9 70844441


ACKNOWLEDGEMENTS AND STATUS

I would like to thank Linus Torvalds and Jyrki Havia for their work on
some bugs. uEmacs/PK 4.0.10 included fixes for a number of bugs and it
was assumed to be the final release for the UNIX platform. However,
there has been a couple of maintenance releases, so the final version is
4.0.13. On other platforms there has been no new releases since 4.0.3 in
1991.

April 23, 1995

And yet another release (thanks Linus)! This is most definitely the
really last (not latest) version, 4.0.14. Hmm ... 14 looks nicer than 13.

May 2, 1996

Still one more release - or actually a small patch - which closes a
potential security hole. Now we are at 4.0.15. This IS the FINAL release!

September 25, 1996

uemacs's People

Contributors

lijie avatar naota avatar penberg avatar tfarina avatar thiagofarina avatar torvalds avatar ulm avatar vonbrand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uemacs's Issues

The function unicode_to_utf8 may contain a bug

I may be mistaken, but I think the function unicode_to_utf8 is broken. Although it is able to generate the continuation bytes of the UTF8 sequence, it fails to produce the correct leading byte.

config

linus Please tell me how to configure and enable line numbers in uemacs

Bigger filenames should be limited to 127 for now

I did a quick recheck after last commit setting up NFILEN to 256

  • em crashes when called with filename argument longer than 255 [easy to fix with mystrscpy instead of strcpy]

  • as em variables size are limited to 127+1, longer filenames will create problems with macroes [ex: $cfname holds the filename of current buffer]

  • write-file command can be called with strings up to and longer than 255, so em will create files having up to 255 characters, but can't open them either with find-file command or as argument from command line [LOCK ERROR: cannot access lock file - File name too long]

  • filenames completion works, a manual display refresh [^L] is necessary to clean up the display.

attached is a simple em script I used to generate the files for test: [strip .txt extension]
tstfnam.cmd.txt

I would suggest to limit NFILEN to 128 for now and fix the strcpy of filename arg issue.

C-s and C-x C-s stops uemacs

When I press C-s or C-x C-s, uemacs stops working, I tried to recompile, but it doesn’t help me (I didn’t change anything in the code), it freezes anyway. Does anyone have the same problem? Has anyone found a solution?

What gives open source the right to take away root user?

@torvalds thank you for inspiring the Linux movement. I would place this issue in a better place if I knew where to; This question is simple, "What gives open source the right to take away root user?" termux/termux-app#507 (comment) specifically in regard to the Android operating system. Is Android the most popular derivative of Linux today with billions of users? Probably.

One of many time and resource consuming examples: the way Android selects and corrects text to be recorrected and reselect repeatedly by the user is inline with no root user login to Android rational.

Cheers ☕ 🎸

PS em builds beautifully in an Android smartphone through Arch Linux in Termux PRoot with warnings:

screenshot_20180329-024010

unwanted trailing blank line on save

Please forgive my impertinence, I'm a MicroEMACS noob - didn't start using it until the fall of 1986.

I'm running 4.0.15 on various Linux distros and my work involves a lot of csv files that are getting awk/grep/sed treatment. When I save a file I've edited with MicroEMACS I often find a single newline appended, even if I went nowhere near the end of the file. If I jump to the end, remove the newline, and leave the cursor at the end of the final line with text then I get the expected result.

This should not be difficult to reproduce, I encounter it several times a day. I do not think it's universal, but I can not yet describe the sort of editing that triggers this event.

Wrong declaration in dolock?

In dolock, shouldn't the declaration be:
lname[MAXNAME], locker[MAXLOCK + 1]...

Instead of:
lname[MAXLOCK], locker[MAXNAME + 1]...

This causes the function to read an arbitrary 128 bytes from the file instead if 512, which I don't understand why.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.