1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-11-16 09:36:29 -05:00
Commit Graph

10 Commits

Author SHA1 Message Date
Naohiro Aota
1d0cfd0276 Make uemacs build on FreeBSD.
See <https://bugs.gentoo.org/show_bug.cgi?id=387135>.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-26 11:50:23 -07:00
Thiago Farina
a1891f8efc uemacs: Move some constants from estruct.h to posix.c
These two constants are only needed/used by the posix.c file,
so just define them there.

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-28 14:16:57 -08:00
Pekka Enberg
0f05e53f99 uemacs: Fix return statements
Return statement is not a function so remove superfluous use of parenthesis.

Cc: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-29 08:15:23 -07:00
Linus Torvalds
c2a7e41fae Turn ESC+'[' into a CSI character
This avoids the annoying behavior where we're on the command line,
waiting for an ESC, and any control character sequence ends up finishing
the command line and eating the first ESC.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-06-07 11:52:42 -07:00
Linus Torvalds
f313bcf64a Add support for a "utf-8" mode
NOTE! MicroEmacs is very much a byte-based editor, and the new utf-8
support is purely an issue of terminal input and output.  The file
contents themselves are in the 8-bit space.  In that space, Unicode is
the same as Latin1.

The new mode is called "utf-8", and is enabled automatically by the
new emacs.rc when $LANG contains the substring "UTF-8".

I'm sure people would like to some day also edit real UTF-8 contents,
rather than just edit old 8-bit Latin1 contents in a UTF-8 terminal.
However, that's an independent (and much bigger and thornier) issue.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-02 17:47:28 -07:00
Linus Torvalds
8eab871e55 More warning avoidance and code cleanup 2005-09-30 23:52:55 -07:00
Linus Torvalds
d0ed902432 Fix up some trivial gcc -Wall warnings
Lots more to go.
2005-09-30 23:37:34 -07:00
Linus Torvalds
453f80d269 More ANSI-fication of the sources
Ugh.  Some of this is ugly.  We should really include <curses.h> etc,
but there are too many name clashes for that right now.
2005-09-30 17:08:36 -07:00
Linus Torvalds
435dd32ae2 Run "indent -kr -i8" on the sources
Let's see how nasty it is to clean things up. For real.
2005-09-30 15:26:09 -07:00
Linus Torvalds
d7148b21fe Initial import of em-4.0.15-lt
This is a slightly updated version of uemacs-PK (PK is Pekka
Kutvonen) which was used at Helsinki University a long time
ago. My fingers cannot be retrained.
2005-05-31 08:50:56 -07:00