head	1.32;
access;
symbols
	RELENG_8_4:1.32.0.2
	RELENG_9_1_0_RELEASE:1.29.2.1.4.2
	RELENG_9_1:1.29.2.1.0.4
	RELENG_9_1_BP:1.29.2.1
	RELENG_8_3_0_RELEASE:1.27.2.2.4.1
	RELENG_8_3:1.27.2.2.0.4
	RELENG_8_3_BP:1.27.2.2
	RELENG_9_0_0_RELEASE:1.29.2.1.2.1
	RELENG_9_0:1.29.2.1.0.2
	RELENG_9_0_BP:1.29.2.1
	RELENG_9:1.29.0.2
	RELENG_9_BP:1.29
	RELENG_7_4_0_RELEASE:1.24.38.1
	RELENG_8_2_0_RELEASE:1.27.2.2.2.1
	RELENG_7_4:1.24.0.38
	RELENG_7_4_BP:1.24
	RELENG_8_2:1.27.2.2.0.2
	RELENG_8_2_BP:1.27.2.2
	RELENG_8_1_0_RELEASE:1.27.2.1.4.1
	RELENG_8_1:1.27.2.1.0.4
	RELENG_8_1_BP:1.27.2.1
	RELENG_7_3_0_RELEASE:1.24.36.1
	RELENG_7_3:1.24.0.36
	RELENG_7_3_BP:1.24
	RELENG_8_0_0_RELEASE:1.27.2.1.2.1
	RELENG_8_0:1.27.2.1.0.2
	RELENG_8_0_BP:1.27.2.1
	RELENG_8:1.27.0.2
	RELENG_8_BP:1.27
	RELENG_7_2_0_RELEASE:1.24.34.1
	RELENG_7_2:1.24.0.34
	RELENG_7_2_BP:1.24
	RELENG_7_1_0_RELEASE:1.24.32.1
	RELENG_6_4_0_RELEASE:1.24.30.1
	RELENG_7_1:1.24.0.32
	RELENG_7_1_BP:1.24
	RELENG_6_4:1.24.0.30
	RELENG_6_4_BP:1.24
	RELENG_7_0_0_RELEASE:1.24
	RELENG_6_3_0_RELEASE:1.24
	RELENG_7_0:1.24.0.28
	RELENG_7_0_BP:1.24
	RELENG_6_3:1.24.0.26
	RELENG_6_3_BP:1.24
	RELENG_7:1.24.0.24
	RELENG_7_BP:1.24
	RELENG_6_2_0_RELEASE:1.24
	RELENG_6_2:1.24.0.22
	RELENG_6_2_BP:1.24
	RELENG_5_5_0_RELEASE:1.24
	RELENG_5_5:1.24.0.20
	RELENG_5_5_BP:1.24
	RELENG_6_1_0_RELEASE:1.24
	RELENG_6_1:1.24.0.18
	RELENG_6_1_BP:1.24
	RELENG_6_0_0_RELEASE:1.24
	RELENG_6_0:1.24.0.16
	RELENG_6_0_BP:1.24
	RELENG_6:1.24.0.14
	RELENG_6_BP:1.24
	RELENG_5_4_0_RELEASE:1.24
	RELENG_5_4:1.24.0.12
	RELENG_5_4_BP:1.24
	RELENG_4_11_0_RELEASE:1.11.6.4
	RELENG_4_11:1.11.6.4.0.12
	RELENG_4_11_BP:1.11.6.4
	RELENG_5_3_0_RELEASE:1.24
	RELENG_5_3:1.24.0.10
	RELENG_5_3_BP:1.24
	RELENG_5:1.24.0.8
	RELENG_5_BP:1.24
	RELENG_4_10_0_RELEASE:1.11.6.4
	RELENG_4_10:1.11.6.4.0.10
	RELENG_4_10_BP:1.11.6.4
	RELENG_5_2_1_RELEASE:1.24
	RELENG_5_2_0_RELEASE:1.24
	RELENG_5_2:1.24.0.6
	RELENG_5_2_BP:1.24
	RELENG_4_9_0_RELEASE:1.11.6.4
	RELENG_4_9:1.11.6.4.0.8
	RELENG_4_9_BP:1.11.6.4
	RELENG_5_1_0_RELEASE:1.24
	RELENG_5_1:1.24.0.4
	RELENG_5_1_BP:1.24
	RELENG_4_8_0_RELEASE:1.11.6.4
	RELENG_4_8:1.11.6.4.0.6
	RELENG_4_8_BP:1.11.6.4
	RELENG_5_0_0_RELEASE:1.24
	RELENG_5_0:1.24.0.2
	RELENG_5_0_BP:1.24
	RELENG_4_7_0_RELEASE:1.11.6.4
	RELENG_4_7:1.11.6.4.0.4
	RELENG_4_7_BP:1.11.6.4
	RELENG_4_6_2_RELEASE:1.11.6.4
	RELENG_4_6_1_RELEASE:1.11.6.4
	RELENG_4_6_0_RELEASE:1.11.6.4
	RELENG_4_6:1.11.6.4.0.2
	RELENG_4_6_BP:1.11.6.4
	RELENG_4_5_0_RELEASE:1.11.6.3
	RELENG_4_5:1.11.6.3.0.2
	RELENG_4_5_BP:1.11.6.3
	RELENG_4_4_0_RELEASE:1.11.6.2
	RELENG_4_4:1.11.6.2.0.2
	RELENG_4_4_BP:1.11.6.2
	RELENG_4_3_0_RELEASE:1.11.6.1
	RELENG_4_3:1.11.6.1.0.2
	RELENG_4_3_BP:1.11.6.1
	RELENG_4_2_0_RELEASE:1.11.6.1
	RELENG_4_1_1_RELEASE:1.11.6.1
	PRE_SMPNG:1.12
	RELENG_4_1_0_RELEASE:1.11.6.1
	RELENG_3_5_0_RELEASE:1.11
	RELENG_4_0_0_RELEASE:1.11
	RELENG_4:1.11.0.6
	RELENG_4_BP:1.11
	RELENG_3_4_0_RELEASE:1.11
	RELENG_3_3_0_RELEASE:1.11
	RELENG_3_2_PAO:1.11.0.4
	RELENG_3_2_PAO_BP:1.11
	RELENG_3_2_0_RELEASE:1.11
	RELENG_3_1_0_RELEASE:1.11
	RELENG_3:1.11.0.2
	RELENG_3_BP:1.11
	RELENG_2_2_8_RELEASE:1.7.2.2
	RELENG_3_0_0_RELEASE:1.10
	RELENG_2_2_7_RELEASE:1.7.2.2
	RELENG_2_2_6_RELEASE:1.7.2.2
	RELENG_2_2_5_RELEASE:1.7.2.1
	RELENG_2_2_2_RELEASE:1.7
	RELENG_2_2_1_RELEASE:1.7
	RELENG_2_2_0_RELEASE:1.7
	RELENG_2_1_7_RELEASE:1.2.2.2
	ee_1_3:1.1.1.2
	RELENG_2_1_6_1_RELEASE:1.2.2.2
	RELENG_2_1_6_RELEASE:1.2.2.2
	RELENG_2_2:1.7.0.2
	RELENG_2_2_BP:1.7
	RELENG_2_1_5_RELEASE:1.2.2.2
	RELENG_2_1_0_RELEASE:1.2.2.2
	RELENG_2_1_0:1.2.0.2
	ee:1.1.1.1
	HUGH_F_MAHON:1.1.1;
locks; strict;
comment	@# @;


1.32
date	2013.02.10.00.35.16;	author svnexp;	state Exp;
branches
	1.32.2.1;
next	1.31;

1.31
date	2013.01.25.00.48.22;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2012.11.17.01.54.19;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2010.02.09.10.47.44;	author gabor;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2009.09.04.07.44.27;	author ache;	state Exp;
branches;
next	1.27;

1.27
date	2009.06.01.21.55.14;	author gabor;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2009.05.27.17.27.03;	author ed;	state Exp;
branches;
next	1.25;

1.25
date	2009.05.26.21.06.51;	author ed;	state Exp;
branches;
next	1.24;

1.24
date	2002.07.02.12.37.09;	author ru;	state Exp;
branches
	1.24.14.1
	1.24.24.1
	1.24.30.1
	1.24.32.1
	1.24.34.1
	1.24.36.1
	1.24.38.1;
next	1.23;

1.23
date	2002.04.28.13.58.41;	author markm;	state Exp;
branches;
next	1.22;

1.22
date	2002.03.04.12.37.08;	author phantom;	state Exp;
branches;
next	1.21;

1.21
date	2002.03.04.12.28.26;	author phantom;	state Exp;
branches;
next	1.20;

1.20
date	2002.03.04.09.52.06;	author phantom;	state Exp;
branches;
next	1.19;

1.19
date	2001.12.17.13.59.33;	author ru;	state Exp;
branches;
next	1.18;

1.18
date	2001.06.11.03.45.25;	author ache;	state Exp;
branches;
next	1.17;

1.17
date	2001.06.10.22.40.39;	author ache;	state Exp;
branches;
next	1.16;

1.16
date	2001.06.10.20.42.46;	author ache;	state Exp;
branches;
next	1.15;

1.15
date	2001.04.19.10.32.17;	author ache;	state Exp;
branches;
next	1.14;

1.14
date	2001.03.28.16.51.02;	author sobomax;	state Exp;
branches;
next	1.13;

1.13
date	2000.09.16.03.27.54;	author ache;	state Exp;
branches;
next	1.12;

1.12
date	2000.06.06.22.55.41;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	98.12.06.22.58.20;	author archie;	state Exp;
branches
	1.11.6.1;
next	1.10;

1.10
date	97.09.22.20.20.21;	author wosch;	state Exp;
branches;
next	1.9;

1.9
date	97.04.04.15.09.42;	author bde;	state Exp;
branches;
next	1.8;

1.8
date	97.03.09.06.08.22;	author bde;	state Exp;
branches;
next	1.7;

1.7
date	96.07.29.13.46.12;	author wosch;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	96.05.22.00.21.50;	author wosch;	state Exp;
branches;
next	1.5;

1.5
date	95.11.18.11.21.37;	author bde;	state Exp;
branches;
next	1.4;

1.4
date	95.10.21.23.47.28;	author joerg;	state Exp;
branches;
next	1.3;

1.3
date	95.09.09.15.05.14;	author jmz;	state Exp;
branches;
next	1.2;

1.2
date	95.08.30.13.25.49;	author jkh;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	95.08.30.07.28.06;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.32.2.1
date	2013.02.10.00.35.16;	author svnexp;	state dead;
branches;
next	1.32.2.2;

1.32.2.2
date	2013.03.28.13.06.02;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.29.2.1.2.1
	1.29.2.1.4.1;
next	1.29.2.2;

1.29.2.2
date	2012.11.17.11.37.38;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.29.2.1.2.2;

1.29.2.1.2.2
date	2012.11.17.08.37.34;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.29.2.1.4.2;

1.29.2.1.4.2
date	2012.11.17.08.48.26;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.27.2.1.2.1
	1.27.2.1.4.1;
next	1.27.2.2;

1.27.2.2
date	2010.06.27.03.06.20;	author delphij;	state Exp;
branches
	1.27.2.2.2.1
	1.27.2.2.4.1;
next	1.27.2.3;

1.27.2.3
date	2012.11.17.10.37.16;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.27.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.27.2.2.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.27.2.2.4.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.27.2.2.4.2;

1.27.2.2.4.2
date	2012.11.17.08.25.49;	author svnexp;	state Exp;
branches;
next	;

1.24.14.1
date	2012.11.17.07.45.38;	author svnexp;	state Exp;
branches;
next	;

1.24.24.1
date	2012.11.17.08.08.24;	author svnexp;	state Exp;
branches;
next	;

1.24.30.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.24.32.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.24.34.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.24.36.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.24.38.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.24.38.2;

1.24.38.2
date	2012.11.17.08.17.41;	author svnexp;	state Exp;
branches;
next	;

1.11.6.1
date	2000.07.04.00.51.35;	author ps;	state Exp;
branches;
next	1.11.6.2;

1.11.6.2
date	2001.06.10.11.06.06;	author sobomax;	state Exp;
branches;
next	1.11.6.3;

1.11.6.3
date	2002.01.05.15.46.33;	author phantom;	state Exp;
branches;
next	1.11.6.4;

1.11.6.4
date	2002.02.18.15.03.35;	author ru;	state Exp;
branches;
next	1.11.6.5;

1.11.6.5
date	2012.11.17.07.27.27;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1
date	97.09.15.01.35.08;	author jkh;	state Exp;
branches;
next	1.7.2.2;

1.7.2.2
date	98.03.08.08.08.59;	author jkh;	state Exp;
branches;
next	;

1.2.2.1
date	95.10.05.09.46.01;	author davidg;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	95.10.22.14.14.23;	author jkh;	state Exp;
branches;
next	;

1.1.1.1
date	95.08.30.07.28.06;	author jkh;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	96.12.28.20.31.04;	author joerg;	state Exp;
branches;
next	;


desc
@@


1.32
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/246592
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/usr.bin/ee/Makefile 246592 2013-02-09 13:31:59Z antoine $

.PATH:	${.CURDIR}/../../contrib/ee

CFLAGS+= -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
	 -DHAS_SYS_WAIT

PROG=	ee
LINKS=	${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit
MLINKS=	ee.1 ree.1 ee.1 edit.1
DPADD=	${LIBNCURSES}
LDADD=	-lncurses

WARNS?=	2

NLS=	C fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
	uk_UA.KOI8-U pt_BR.ISO8859-1 ru_RU.KOI8-R hu_HU.ISO8859-2

NLSLINKS_C= en_US.ISO8859-1 en_US.ISO8859-15
NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \
        fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CH.ISO8859-1 fr_CH.ISO8859-15 \
	fr_FR.ISO8859-15
NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \
        de_CH.ISO8859-15 de_DE.ISO8859-15
NLSLINKS_pt_BR.ISO8859-1= pt_PT.ISO8859-1

NLSSRCFILES=ee.msg
.for lang in ${NLS}
. if exists(${.CURDIR}/nls/${lang}/ee.msg)
NLSSRCDIR_${lang}= ${.CURDIR}/nls/${lang}
. else
NLSSRCDIR_${lang}= ${.CURDIR}/../../contrib/ee
. endif
.endfor

.include <bsd.prog.mk>
@


1.32.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:02 +0000
@
text
@d1 36
@


1.32.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 35
# $FreeBSD: releng/8.4/usr.bin/ee/Makefile 209547 2010-06-27 03:06:20Z delphij $

.PATH:	${.CURDIR}/../../contrib/ee

CFLAGS+= -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
	 -DHAS_SYS_WAIT

PROG=	ee
LINKS=	${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit
MLINKS=	ee.1 ree.1 ee.1 edit.1
DPADD=	${LIBNCURSES}
LDADD=	-lncurses

WARNS?=	2

NLS=	en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
	uk_UA.KOI8-U ru_RU.KOI8-R hu_HU.ISO8859-2

NLSLINKS_en_US.US-ASCII= en_US.ISO8859-1 en_US.ISO8859-15
NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \
        fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CH.ISO8859-1 fr_CH.ISO8859-15 \
	fr_FR.ISO8859-15
NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \
        de_CH.ISO8859-15 de_DE.ISO8859-15

NLSSRCFILES=ee.msg
.for lang in ${NLS}
. if exists(${.CURDIR}/nls/${lang}/ee.msg)
NLSSRCDIR_${lang}= ${.CURDIR}/nls/${lang}
. else
NLSSRCDIR_${lang}= ${.CURDIR}/../../contrib/ee
. endif
.endfor

.include <bsd.prog.mk>
@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245888
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/usr.bin/ee/Makefile 245888 2013-01-24 16:53:35Z brooks $
d19 1
a19 1
NLSLINKS_en_US.US-ASCII= en_US.ISO8859-1 en_US.ISO8859-15
@


1.30
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/usr.bin/ee/Makefile 203699 2010-02-09 10:47:44Z gabor $
d16 1
a16 1
NLS=	en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
@


1.29
log
@SVN rev 203699 on 2010-02-09 10:47:44Z by gabor

- pt_BR.ISO8859-1 catalog
- Add link to pt_PT.ISO8859-1

Submitted by:	sylvio
Approved by:	delphij (mentor)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.29.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.29.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/usr.bin/ee/Makefile 203699 2010-02-09 10:47:44Z gabor $
@


1.29.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.29.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/usr.bin/ee/Makefile 203699 2010-02-09 10:47:44Z gabor $
@


1.29.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.29.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/usr.bin/ee/Makefile 203699 2010-02-09 10:47:44Z gabor $
@


1.28
log
@SVN rev 196819 on 2009-09-04 07:44:27Z by ache

Remove single occurance of HAS_CTYPE ifdef, ctype functions
used here for a long time and needs their header in anycase.
@
text
@d17 1
a17 1
	uk_UA.KOI8-U ru_RU.KOI8-R hu_HU.ISO8859-2
d25 1
@


1.27
log
@SVN rev 193279 on 2009-06-01 21:55:14Z by gabor

- Add Hungarian catalog
@
text
@d6 1
a6 1
	 -DHAS_CTYPE -DHAS_SYS_WAIT
@


1.27.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.27.2.2
log
@SVN rev 209547 on 2010-06-27 03:06:20Z by delphij

MFC 196750,196751,196818,196819 (ache@@):

196750:

1) Use isprint() instead of hardcoded values to detect non-printable.
2) Use (unsigned char) cast in waddch() calls.
It fix highlighting bug: sign extension of 8bit to the attributes area.
3) Use setlocale() in any case.

196751:

Move <locale.h> out of NO_CATGETS define too (as setlocale() in prev.
commit)

196818:

1) Remove single occurance of HAS_CTYPE ifdef, ctype functions
used here for a long time and needs their header in anycase.
2) Add (unsigned char) casts to more ctype macros.
3) Simplify menu input handling using ctype instead of range unguarded
hardcoded tricks.

196819:
Remove single occurance of HAS_CTYPE ifdef, ctype functions
used here for a long time and needs their header in anycase.

Requested by:	Patrick Lamaiziere <patfbsd davenulle org>
Ok'ed by:	ache
@
text
@d6 1
a6 1
	 -DHAS_SYS_WAIT
@


1.27.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/usr.bin/ee/Makefile 209547 2010-06-27 03:06:20Z delphij $
@


1.27.2.2.4.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.27.2.2.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/usr.bin/ee/Makefile 209547 2010-06-27 03:06:20Z delphij $
@


1.27.2.2.2.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.27.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.27.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.26
log
@SVN rev 192914 on 2009-05-27 17:27:03Z by ed

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@@
@
text
@d17 1
a17 1
	uk_UA.KOI8-U ru_RU.KOI8-R
@


1.25
log
@SVN rev 192856 on 2009-05-26 21:06:51Z by ed

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
@
text
@d5 2
a6 2
CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
	 -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR
d14 2
@


1.24
log
@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.
@
text
@d3 2
d26 1
d28 3
@


1.24.24.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/usr.bin/ee/Makefile 99257 2002-07-02 12:37:09Z ru $
@


1.24.14.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/usr.bin/ee/Makefile 99257 2002-07-02 12:37:09Z ru $
@


1.24.38.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.24.38.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/usr.bin/ee/Makefile 99257 2002-07-02 12:37:09Z ru $
@


1.24.36.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.24.34.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.24.32.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.24.30.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.23
log
@Remove GCC-specific flags.
@
text
@d12 1
a12 1
LANGS=	en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
a21 2
NLSNAME=ee

d23 2
a24 4

.for lang in ${LANGS}
NLSSRCDIR_${lang}.msg=${.CURDIR}/nls/${lang}
NLS+=${lang}.msg
a27 1
.include <bsd.nls.mk>
@


1.22
log
@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
@
text
@a6 1
CFLAGS+=-Wall
@


1.21
log
@Use NLSLINKS to setup symbolic links in NLS area
@
text
@d16 6
a21 3
NLSLINKS_en_US.US-ASCII= C en_US.ISO8859-1 en_US.ISO8859-15
NLSLINKS_fr_FR.ISO8859-1= fr_FR.ISO8859-15
NLSLINKS_de_DE.ISO8859-1= de_DE.ISO8859-15
@


1.20
log
@Use bsd.nls.mk for building/installing NLS files
@
text
@d15 4
a18 2
8859_15_LINKS = fr_FR de_DE
ENUS_LINKS =	ISO8859-1 ISO8859-15
d22 2
a25 1
NLSSRCFILES_${lang}.msg=ee.msg
a26 7
.endfor

.for link in ${ENUS_LINKS}
SYMLINKS+=	../en_US.US-ASCII/ee.cat ${NLSDIR}/en_US.${link}/ee.cat
.endfor
.for link in ${8859_15_LINKS}
SYMLINKS+=	../${link}.ISO8859-1/ee.cat ${NLSDIR}/${link}.ISO8859-15/ee.cat
@


1.19
log
@FILES support for bsd.prog.mk.  See bsd.README for details.

Stolen from:	NetBSD
@
text
@d18 1
a18 2
FILES=	${LANGS:S/$/.ee.cat/}
CLEANFILES+=	${FILES}
d21 3
a23 7
${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg
	gencat -new ${.TARGET} ${.ALLSRC}
.endfor

.for lang in ${LANGS}
FILESDIR_${lang:S/$/.ee.cat/}=	${NLSDIR}/${lang}
FILESNAME_${lang:S/$/.ee.cat/}=	ee.cat
d34 1
@


1.18
log
@ISO_ -> ISO
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.bin/ee/Makefile,v 1.17 2001/06/10 22:40:39 ache Exp $
a20 2
all: ${FILES}

a25 1
beforeinstall:
d27 2
a28 2
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
	    ${lang}.ee.cat ${DESTDIR}${NLSDIR}/${lang}/ee.cat
d30 1
d32 1
a32 2
	ln -sf ../en_US.US-ASCII/ee.cat \
		${DESTDIR}${NLSDIR}/en_US.${link}/ee.cat
d35 1
a35 2
	ln -sf ../${link}.ISO8859-1/ee.cat \
		${DESTDIR}${NLSDIR}/${link}.ISO8859-15/ee.cat
@


1.17
log
@Install additional en_US links
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.bin/ee/Makefile,v 1.16 2001/06/10 20:42:46 ache Exp $
d13 1
a13 1
LANGS=	en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1 pl_PL.ISO_8859-2 \
d15 2
a16 1
8859_15_LINKS = en_US fr_FR de_DE
d33 4
a40 2
	ln -sf ../en_US.ISO8859-1/ee.cat \
		${DESTDIR}${NLSDIR}/C/ee.cat
@


1.16
log
@Add Latin15 entries
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.bin/ee/Makefile,v 1.15 2001/04/19 10:32:17 ache Exp $
d15 1
a15 1
8859_15_LINKS = fr_FR de_DE
d36 2
@


1.15
log
@Add Russian message catalog

PR:		26663
Submitted by:	Alex Kapranoff <alex@@kapran.bitmcnit.bryansk.su>
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.bin/ee/Makefile,v 1.14 2001/03/28 16:51:02 sobomax Exp $
d15 2
d31 4
@


1.14
log
@Add Ukrainian translation.

Submitted by:	Olexander Kunytsa <kunia@@wolf.istc.kiev.ua>
@
text
@d1 1
a1 1
# $FreeBSD$
d14 1
a14 1
	uk_UA.KOI8-U
@


1.13
log
@Remove unneded -lmytinfo
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.bin/ee/Makefile,v 1.12 2000/06/06 22:55:41 obrien Exp $
d13 2
a14 1
LANGS=	en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1 pl_PL.ISO_8859-2
@


1.12
log
@Add links to "edit" to ease tech support's job.
@
text
@d1 1
a1 1
# $FreeBSD$
d10 2
a11 2
DPADD=	${LIBNCURSES} ${LIBMYTINFO}
LDADD=	-lncurses -lmytinfo
@


1.11
log
@Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
@
text
@d1 2
d8 2
a9 2
LINKS=	${BINDIR}/ee ${BINDIR}/ree
MLINKS=	ee.1 ree.1
@


1.11.6.1
log
@MFC: Add links to "edit" to ease tech support's job.
@
text
@a0 2
# $FreeBSD$

d6 2
a7 2
LINKS=	${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit
MLINKS=	ee.1 ree.1 ee.1 edit.1
@


1.11.6.2
log
@MFC:
- update to 1.4.2;
- two new translations: Ukrainian and Russian;
- various local fixes and improvements from -current.
@
text
@d10 2
a11 2
DPADD=	${LIBNCURSES}
LDADD=	-lncurses
d13 1
a13 2
LANGS=	en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1 pl_PL.ISO_8859-2 \
	uk_UA.KOI8-U ru_RU.KOI8-R
@


1.11.6.3
log
@MFC: rev 1.16-1.18, ISO_ -> ISO, additional Latin15 entries

Approved by: re
@
text
@d13 1
a13 1
LANGS=	en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
a14 3
8859_15_LINKS = fr_FR de_DE
ENUS_LINKS =	ISO8859-1 ISO8859-15

a28 8
.endfor
.for link in ${ENUS_LINKS}
	ln -sf ../en_US.US-ASCII/ee.cat \
		${DESTDIR}${NLSDIR}/en_US.${link}/ee.cat
.endfor
.for link in ${8859_15_LINKS}
	ln -sf ../${link}.ISO8859-1/ee.cat \
		${DESTDIR}${NLSDIR}/${link}.ISO8859-15/ee.cat
@


1.11.6.4
log
@MFC: FILES support for bsd.prog.mk.
@
text
@d21 2
d28 1
d30 2
a31 2
FILESDIR_${lang:S/$/.ee.cat/}=	${NLSDIR}/${lang}
FILESNAME_${lang:S/$/.ee.cat/}=	ee.cat
a32 1

d34 2
a35 1
SYMLINKS+=	../en_US.US-ASCII/ee.cat ${NLSDIR}/en_US.${link}/ee.cat
d38 2
a39 1
SYMLINKS+=	../${link}.ISO8859-1/ee.cat ${NLSDIR}/${link}.ISO8859-15/ee.cat
@


1.11.6.5
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/usr.bin/ee/Makefile 90852 2002-02-18 15:03:38Z ru $
@


1.10
log
@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
@
text
@d5 1
@


1.9
log
@Fixed missing ${COPY} in install rule.
@
text
@d10 1
a10 1
LANGS=	en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1
@


1.8
log
@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.
@
text
@d23 1
a23 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
@


1.7
log
@ree (aka ee) doesn't have a man page

Submitted by:	 Philippe Charnier           charnier@@lirmm.fr
@
text
@a4 1
SRCS=	ee.c
d6 1
a6 1
MLINKS=        ee.1 ree.1
d11 2
d14 5
a18 7
afterinstall:
.for l in ${LANGS}
	@@${ECHO} "Install ${DESTDIR}${NLSDIR}/${l}/ee.cat"
	@@rm -f ${DESTDIR}${NLSDIR}/${l}/ee.cat
	@@gencat -new ${DESTDIR}${NLSDIR}/${l}/ee.cat ${.CURDIR}/nls/${l}/ee.msg
	@@chown ${BINOWN}.${BINGRP} ${DESTDIR}${NLSDIR}/${l}/ee.cat
	@@chmod 444 ${DESTDIR}${NLSDIR}/${l}/ee.cat
d21 5
@


1.7.2.1
log
@MFC:  new message catalogs, fixes, oh lots of stuff. :)
@
text
@d5 1
d7 1
a7 1
MLINKS=	ee.1 ree.1
a11 2
FILES=	${LANGS:S/$/.ee.cat/}
CLEANFILES+=	${FILES}
d13 7
a19 5
all: ${FILES}

.for lang in ${LANGS}
${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg
	gencat -new ${.TARGET} ${.ALLSRC}
a21 5
beforeinstall:
.for lang in ${LANGS}
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
	    ${lang}.ee.cat ${DESTDIR}${NLSDIR}/${lang}/ee.cat
.endfor
@


1.7.2.2
log
@MFC: update to version 1.3.  Add polish msg catalog.
@
text
@d10 1
a10 1
LANGS=	en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1 pl_PL.ISO_8859-2
@


1.6
log
@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
@
text
@d7 1
@


1.5
log
@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.
@
text
@a10 1
NLSDIR=	${DESTDIR}/usr/share/nls
d13 8
a20 5
	for l in ${LANGS}; do \
		gencat -new ${NLSDIR}/$$l/ee.cat ${.CURDIR}/nls/$$l/ee.msg; \
		chown ${BINOWN}.${BINGRP} ${NLSDIR}/$$l/ee.cat; \
		chmod 444 ${NLSDIR}/$$l/ee.cat; \
	done
@


1.4
log
@Finally catch up with the Frenchmen, and create the German message
catalog.
:-)
@
text
@d11 1
d14 4
a17 3
	@@for i in ${LANGS}; do \
	  gencat -new ${DESTDIR}/usr/share/nls/$$i/ee.cat ${.CURDIR}/nls/$$i/ee.msg; \
	  chmod 444 ${.CURDIR}/nls/$$i/ee.msg; \
@


1.3
log
@Add fr_FR.ISO_8859-1 to LANGS
@
text
@d10 1
a10 1
LANGS=	en_US.ISO_8859-1 fr_FR.ISO_8859-1
@


1.2
log
@While posting something to -current about this, I got an idea for making
it a more ideal I18N candidate.  Here it is.
@
text
@d10 1
a10 1
LANGS=	en_US.ISO_8859-1
@


1.2.2.1
log
@Brought in change from rev 1.3: Add fr_FR.ISO_8859-1 to LANGS
@
text
@d10 1
a10 1
LANGS=	en_US.ISO_8859-1 fr_FR.ISO_8859-1
@


1.2.2.2
log
@Merge changes from HEAD.  Also bring in the German message catalog.
@
text
@d10 1
a10 1
LANGS=	en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
DPADD=	ee.cat ${LIBNCURSES} ${LIBMYTINFO}
a8 1
CLEANFILES+=	ee.cat
d10 1
a10 3
# I'm not sure if this is kosher, but I don't see any system default just
# now.
LANG?=	en_US.ISO_8859-1
d12 5
a16 6
ee.cat:	${.CURDIR}/ee.msg
	gencat -new ee.cat ${.CURDIR}/ee.msg

afterinstall: ee.cat
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ee.cat \
		${DESTDIR}/usr/share/nls/${LANG}/ee.cat
@


1.1.1.1
log
@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>
@
text
@@


1.1.1.2
log
@Update from the author, just onto the vendor-branch by now.

Submitted by:	h_mahon@@fc.hp.com (Hugh Mahon)
@
text
@d1 2
a2 13
# This is the make file for ee, the "easy editor".
#
# A file called 'make.local' will be generated which will contain information 
# specific to the local system, such as if it is a BSD or System V based 
# version of UNIX, whether or not it has catgets, or select.  
#
# The "install" target ("make install") will copy the ee binary to 
# the /usr/local/bin directory on the local system.  The man page (ee.1) 
# will be copied into the /usr/local/man/man1 directory.
#
# The "clean" target ("make clean") will remove the ee and new_curse.o 
# object files, and the ee binary.
#
d4 17
a20 14
all :	localmake buildee

buildee :	
	make -f make.local

localmake:
	@@./create.make

install :
	cp ee /usr/local/bin/ee
	cp ee.1 /usr/local/man/man1/ee.1

clean :
	rm -f ee.o new_curse.o ee 
d22 1
@
