Commit Graph

91 Commits

Author SHA1 Message Date
Max Khon
0acb526b67 Check that ee's standard input and output is a terminal.
Do not ignore all the signals in range [1..24].

PR:		65892
MFC after:	2 weeks
2004-11-05 10:18:05 +00:00
Ruslan Ermilov
557b7fa148 Deal with double whitespace. 2004-07-03 00:24:45 +00:00
Ruslan Ermilov
6a3e8b0adc Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
Maxim Konovalov
fe9f481f9d o Fix identation. 2003-06-30 11:51:21 +00:00
Maxim Konovalov
ed10a496b1 o Support for '--' to cancel options list processing.
PR:		bin/32433
Prodded by:	Zak Johnson <zakj-freebsd-hackers@nox.cx>
Obtained from:	easyedit-1.4.6
MFC after:	2 weeks
2003-06-30 11:49:00 +00:00
Jens Schweikhardt
fbc8f8a2dc Fix references to non-existing or obsoleted man pages.
PR:	docs/51480 (only a small part)
Submitted by:	Diomidis D. Spinellis <dds@aueb.gr>
2003-04-30 19:18:50 +00:00
Ruslan Ermilov
8479adc1d3 Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk.
Provided the (previously missing) dependency on source files
for intermediate .msg files.

Provided the default for NLSSRCDIR (defaults to .CURDIR).

Slightly changed the API: NLS should now list plain locale
names, without the .msg suffix.

When included from bsd.prog.mk, NLSNAME defaults to PROG.
2002-07-02 12:37:09 +00:00
David E. O'Brien
e026a48c34 Consistently use FBSDID 2002-06-30 05:25:07 +00:00
Alfred Perlstein
16d8455dcc Assume __STDC__, remove non-__STDC__ code. 2002-05-28 19:23:47 +00:00
Mark Peek
802e753167 - Properly initialize the count_win when the user turns the info window
back on (and count_win is recreated).
- Create info_win as the same size for all invocations.

PR:             37552
Submitted by:   Mark Valentine <mark@thuvia.demon.co.uk>
MFC after:      1 week
2002-05-06 00:25:36 +00:00
Mark Murray
4d56f83516 Remove GCC-specific flags. 2002-04-28 13:58:41 +00:00
Philippe Charnier
3898680cf7 Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
Alexey Zelkin
6d0e1e8588 Add support for french and german locales in tcsh's way.
. link fr_FR.* to fr_BE, fr_CA, fr_CH
. link de_DE.* to de_AT, de_CH

Obtained from: src/bin/csh/nls/Makefile
2002-03-04 12:37:08 +00:00
Alexey Zelkin
c1633140b7 Use NLSLINKS to setup symbolic links in NLS area 2002-03-04 12:29:21 +00:00
Alexey Zelkin
2291a8f3be Use bsd.nls.mk for building/installing NLS files 2002-03-04 09:52:06 +00:00
Ruslan Ermilov
a7aaf57e4a FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
Mark Peek
f57996437a Exit gracefully when a SIGHUP is received. This prevents ee from going into
an infinite spin loop when the terminal window is forcibly blown away.

PR:		29553
Reported by:	Sung N. Cho <sucho2@vt.edu>
MFC after:	1 day
2001-08-31 21:50:06 +00:00
Ruslan Ermilov
8af1452cf8 Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
Mark Peek
5d89a19753 Properly handle wgetch(3) returning ERR. This prevents an abnormal exit
when a windows resize event (SIGWINCH) occurs.

Reported by:	John Doe <rhamming2001@yahoo.com> and others on -stable.
Reviewed by:	dd
MFC after:	1 week
2001-07-28 22:40:10 +00:00
Sheldon Hearn
e1b4d8d074 Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by:   David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Andrey A. Chernov
21ff62e236 ISO_ -> ISO 2001-06-11 03:45:33 +00:00
Andrey A. Chernov
064484f9b3 Install additional en_US links 2001-06-10 22:40:39 +00:00
Andrey A. Chernov
4d44677783 Add Latin15 entries 2001-06-10 20:42:46 +00:00
Maxim Sobolev
54bb9f535c - Optimise current cursor position displaying routines, to avoid unnecessary
cursor movements;
- minor cleanups in cursor position displaying routines;
- properly resent "file modified" flag when editing several files.

MFC after:	1 week
2001-06-03 12:42:19 +00:00
Andrey A. Chernov
68bfc19537 Fix wrong (char) cast (instead of unsigned char) causing highlighting of all
8bit characters due to famous sign extension bug.
2001-04-27 22:35:44 +00:00
Andrey A. Chernov
24695f0617 Add Russian message catalog
PR:		26663
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2001-04-19 10:32:25 +00:00
Joerg Wunsch
44019d9ef6 Update message #56. Maxim didn't merge the English version here since
partially merging the line would have exceeded 80 characters.

Reminded by:	sobomax
2001-03-28 21:33:30 +00:00
Joerg Wunsch
bd35de0c1d There was only a single message to be translated into German here. 2001-03-28 21:02:56 +00:00
Maxim Sobolev
944adaa6c0 Add Ukrainian translation.
Submitted by:	Olexander Kunytsa <kunia@wolf.istc.kiev.ua>
2001-03-28 16:51:02 +00:00
Maxim Sobolev
15129224d4 Describe details of importing. 2001-03-27 16:27:31 +00:00
Maxim Sobolev
f0adfd584f Update FreeBSD translations to match 1.4.1 (actually just copied Enslish
messages as I don't know de, pl and fr).
2001-03-27 13:53:08 +00:00
Maxim Sobolev
3019084254 Resolve conflicts. 2001-03-27 13:51:18 +00:00
Maxim Sobolev
cb167b5936 This commit was generated by cvs2svn to compensate for changes in r74853,
which included commits to RCS files with non-trunk default branches.
2001-03-27 13:38:19 +00:00
Maxim Sobolev
74d9f07d37 Virgin import of Hugh F. Mahon's EasyEditor 1.4.1. 2001-03-27 13:38:19 +00:00
Ruslan Ermilov
d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Ruslan Ermilov
9b88faecd3 Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Ruslan Ermilov
8fe908ef0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
Andrey A. Chernov
313c02bc4b Remove unneded -lmytinfo 2000-09-16 03:27:54 +00:00
Maxim Sobolev
40b0b5bfa5 Fix a bug introduced by my own previous commit (addition of the current
line/column display).

I overlooked that ee(1) doesn't maintain proper line numbering when
adding/removing lines, so after those operations linenumber displayed may not
match the reality. Also use proper variable for current column diaplay, because
the one used previously reflects the offset of current char, which doesn't
equial screen position when tabs present.

Reviewed by:	bp
2000-08-21 10:21:28 +00:00
Maxim Sobolev
3bd77c5644 Add current position (line, column) display. 2000-07-31 14:02:51 +00:00
Kris Kennaway
612740bdcf Don't call printf with no format string. 2000-07-10 06:02:13 +00:00
David E. O'Brien
eaee96e94a Add links to "edit" to ease tech support's job. 2000-06-06 22:55:41 +00:00
Andrey A. Chernov
76cca66da8 For emacs key binding clearly describe ^t/^u as "begin of file"/"end of file"
Old description "start of text"/"end of text" is too confusing assuming
text currently visible on the screen
1999-10-18 16:30:35 +00:00
Alexey Zelkin
c6d6e7726f Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
Andrey A. Chernov
313baec25f Redefine KEY_HOME as BOL like in pico, joe and lot of others and line edition
Add KEY_END as EOL
1999-09-12 10:08:18 +00:00
Peter Wemm
d63cfe5faf $Revision$ -> $FreeBSD$ 1999-09-06 07:33:51 +00:00
Peter Wemm
6364229cbb Zap $Revision$ 1999-09-06 07:33:18 +00:00