mirror of
https://github.com/rfivet/uemacs.git
synced 2025-02-20 23:17:13 -05:00
defines.h: Use (defined(__APPLE__) && defined(__MACH__)) to detect macOS, as suggested by https://stackoverflow.com/questions/7063303/macro-unix-not-defined-in-macos-x. Combined with __NetBSD__ to set BSD=1 and POSIX=1. main.c: Include <unistd.h> to pick up sleep() declaration. Co-authored-by: Rob Gowin <rob.gowin@gmail.com>
README
µEMACS (ue) on Cygwin/Linux/NetBSD, based on uEmacs/PK (em) from kernel.org.
Changes compare to uEmacs/PK
-
Line termination detection with new buffer mode (either Unix or DOS).
-
Encoding detection (ASCII, Extended ASCII, UTF-8 or Mixed).
-
Some fixes related to size either unchecked or limited (strcpy, insert-string, filenames, $kill).
-
Major refactoring of headers and file dependencies, hopefully to improve maintenance.
-
Some defaults changed due to 'finger habits': ue instead of em, ^S in commands mapping...
Unicode (UTF-8) support
-
gcc limitation on Windows (WCHAR_WIDTH 16).
-
Display of double and zero width characters ongoing.
How to build
-
dependencies: gcc, gmake, ncurses-devel.
-
make
Description
µEMACS (ue) on Cygwin/Linux/NetBSD, based on uEmacs/PK (em) from kernel.org.
https://rfivet.github.io/uemacs/
Languages
C
97.4%
Batchfile
2.4%
Makefile
0.2%