Commit Graph

37 Commits

Author SHA1 Message Date
Warner Losh
a35f04fba2 Adopt SRCTOP in usr.bin
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo
over ${.CURDIR}/../foo for paths in Makefiles.

Differential Revision:	https://reviews.freebsd.org/D9932
Sponsored by:		Netflix
Silence on:		arch@ (twice)
2017-03-12 18:58:44 +00:00
Glen Barber
477a29ca9b Create ee(1) package.
Sponsored by:	The FreeBSD Foundation
2016-02-02 21:04:33 +00:00
Baptiste Daroussin
3e11bd9e2a Convert to usr.bin/ to LIBADD
Reduce overlinking
2014-11-25 14:29:10 +00:00
Brooks Davis
80189b3b09 Replace all uses of libncurses and libtermcap with their wide character
variants.  This allows usable file system images (i.e. those with both a
shell and an editor) to be created with only one copy of the curses library.

Exp-run:	antoine
PR:		189842
Discussed with:	bapt
Sponsored by:	DARPA, AFRL
2014-07-17 18:24:34 +00:00
Antoine Brodin
7d493395a1 Fix some NLS catalogs broken after r245888. 2013-02-09 13:31:59 +00:00
Brooks Davis
0b7aa37f7b Install the NLS catalog in the C directory rather than en_US.US-ASCII
which is a link to C.  This allow the makefs mtree manifest mode to find
the file.
2013-01-24 16:53:35 +00:00
Gabor Kovesdan
769821053c - pt_BR.ISO8859-1 catalog
- Add link to pt_PT.ISO8859-1

Submitted by:	sylvio
Approved by:	delphij (mentor)
2010-02-09 10:47:44 +00:00
Andrey A. Chernov
234f1d7f1a Remove single occurance of HAS_CTYPE ifdef, ctype functions
used here for a long time and needs their header in anycase.
2009-09-04 07:44:27 +00:00
Gabor Kovesdan
25dd52cdb1 - Add Hungarian catalog 2009-06-01 21:54:59 +00:00
Ed Schouten
96b676e999 Update ee(1) in the base system to version 1.5.0.
This version is now licensed under a 2-clause BSD license, instead of
the Artistic license. I've reverted a lot of local modifications we made
to ee, because they have been integrated upstream as well.

Only local modifications include:

- $FreeBSD$ ID.
- Pathname to init.ee.
- catopen() call, to honor LC_MESSAGES instead of LANG.

To keep SVN happy, I'm putting an application/octet-stream mime type on
the KOI8 translations.

Reviewed by:	current@
2009-05-27 17:27:03 +00:00
Ed Schouten
cfe04e82b1 Merge local changes to ee(1) into contrib space.
The source file, manual page and English translation are now directly
obtained from the contrib/ directory. This makes it a lot easier to
merge a newer version of ee(1) into the tree.

Thanks to:	des and jhb
2009-05-26 21:06:51 +00:00
Ed Schouten
a982207b32 Vendor import of ee 1.4.2. 2009-05-26 18:50:01 +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
Mark Murray
4d56f83516 Remove GCC-specific flags. 2002-04-28 13:58:41 +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
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
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
Maxim Sobolev
944adaa6c0 Add Ukrainian translation.
Submitted by:	Olexander Kunytsa <kunia@wolf.istc.kiev.ua>
2001-03-28 16:51:02 +00:00
Andrey A. Chernov
313c02bc4b Remove unneded -lmytinfo 2000-09-16 03:27:54 +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
Archie Cobbs
fa146c5335 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
Wolfram Schneider
f83e64814e Polish message catalogs for ee.
Still buggy. Help messages and command names are not in sync,
eg. 'quit' <-> 'KONIEC'.

Submitted by: abial@warman.org.pl
PR:         4522
1997-09-22 20:20:28 +00:00
Bruce Evans
9fa50de4c4 Fixed missing ${COPY} in install rule. 1997-04-04 15:09:42 +00:00
Bruce Evans
f465987999 Don't use a dot in a chown command. In fact, don't use any commands
except `install' at install time.  Don't build things at install time.
Don't hide the build steps using @.  Install with mode ${NOBINMODE}
instead of 444.

Poor source layout made this harder than it should have been.  E.g.,
a suffix rule can't be used because of the subdirectories, and a
new makefile per subdirectory (i.e.m per data file) would be excessive.
See /usr/src/usr.bin/mklocale for a better organisation.
1997-03-09 06:08:22 +00:00
Joerg Wunsch
465fbee7fd Update from the author, just onto the vendor-branch by now.
Submitted by:	h_mahon@fc.hp.com (Hugh Mahon)
1996-12-28 20:31:06 +00:00
Wolfram Schneider
e8e96a328e ree (aka ee) doesn't have a man page
Submitted by:	 Philippe Charnier           charnier@lirmm.fr
1996-07-29 13:46:12 +00:00
Wolfram Schneider
e646d2895a remove NLSDIR=${DESTDIR}/usr/share/nls, already defined in bsd.own.mk
unlink gencat(?) target before install, so gencat don't fail
if target is readonly and you are not root
1996-05-22 00:21:50 +00:00
Bruce Evans
24f7e33dfd Fixed afterinstall rule:
- apply chmod to the targets, not to the sources.
- apply chown to the targets.

It is still bogus to install by building in the target directory.  See
mklocale/data/Makefile for a better method.
1995-11-18 11:21:37 +00:00
Joerg Wunsch
0859bf6ff4 Finally catch up with the Frenchmen, and create the German message
catalog.
:-)
1995-10-21 23:47:43 +00:00
Jean-Marc Zucconi
37eda82b8e Add fr_FR.ISO_8859-1 to LANGS 1995-09-09 15:05:14 +00:00
Jordan K. Hubbard
892e037673 While posting something to -current about this, I got an idea for making
it a more ideal I18N candidate.  Here it is.
1995-08-30 13:25:55 +00:00
Jordan K. Hubbard
6f80b46075 This is `ee' - the Easy Editor. I'm bringing it in to replace vi on
the installation floppy (and in any references in new user docs for
editing files) since tossing a novice into vi with no help or clue as
to what the key bindings are is both cruel and in violation of the
Hague Convention.  It's also much SMALLER than vi and even supports emacs
key bindings for those so inclined.
Submitted by: "Hugh F. Mahon" <hugh@nsmdserv.cnd.hp.com>
1995-08-30 07:28:06 +00:00