diff options
author | hm <hm@FreeBSD.org> | 2000-03-28 09:24:38 +0000 |
---|---|---|
committer | hm <hm@FreeBSD.org> | 2000-03-28 09:24:38 +0000 |
commit | 92604fe2cce33a9dd6373a892e6ca1ba3ed99f1c (patch) | |
tree | 4ac222190bcf72097315dffcf92fa6777d4c56c0 /usr.sbin/pcvt/fed | |
parent | 133e15ccd6e8be5cbafeeea69af66f708a6bc26f (diff) | |
download | FreeBSD-src-92604fe2cce33a9dd6373a892e6ca1ba3ed99f1c.zip FreeBSD-src-92604fe2cce33a9dd6373a892e6ca1ba3ed99f1c.tar.gz |
pcvt cleanup.
add $FreeBSD$.
get copyright in sync with FreeBSD recommendation.
make it compile and run again.
add a manpage.
Diffstat (limited to 'usr.sbin/pcvt/fed')
-rw-r--r-- | usr.sbin/pcvt/fed/Makefile | 32 | ||||
-rw-r--r-- | usr.sbin/pcvt/fed/edit.c | 15 | ||||
-rw-r--r-- | usr.sbin/pcvt/fed/fed.1 | 56 | ||||
-rw-r--r-- | usr.sbin/pcvt/fed/fed.c | 17 | ||||
-rw-r--r-- | usr.sbin/pcvt/fed/fed.h | 12 | ||||
-rw-r--r-- | usr.sbin/pcvt/fed/misc.c | 15 | ||||
-rw-r--r-- | usr.sbin/pcvt/fed/select.c | 15 |
7 files changed, 78 insertions, 84 deletions
diff --git a/usr.sbin/pcvt/fed/Makefile b/usr.sbin/pcvt/fed/Makefile index c96ad03..6147ef9 100644 --- a/usr.sbin/pcvt/fed/Makefile +++ b/usr.sbin/pcvt/fed/Makefile @@ -1,29 +1,7 @@ +# $FreeBSD$ -.if !exists(${.CURDIR}/../Makefile.inc) -error: - @echo - @echo " You MUST link/copy" - @echo - @echo " ../Makefile.inc.NetBSD or ../Makefile.inc.FreeBSD" - @echo - @echo " to ../Makefile.inc before you can proceed !" - @echo -.else -#CFLAGS = -g -Wall -pipe -CFLAGS = -O -Wall -pipe -I/usr/local/include -OBJS = fed.o select.o edit.o misc.o -LIB = ncurses -DEST = /usr/local/bin +PROG = fed +SRCS = fed.c select.c edit.c misc.c +LDADD = -lncurses -fed: $(OBJS) - $(CC) -o fed $(OBJS) -l$(LIB) -L/usr/local/lib - -$(OBJS): fed.h - -clean: - rm -f *.o fed *core* trace* - -install: - ${INSTALL} -c -s -o bin -g bin fed $(DEST) - -.endif +.include <bsd.prog.mk> diff --git a/usr.sbin/pcvt/fed/edit.c b/usr.sbin/pcvt/fed/edit.c index 67d616b..1d7e4e6 100644 --- a/usr.sbin/pcvt/fed/edit.c +++ b/usr.sbin/pcvt/fed/edit.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1992, 1993, 1994 by Hellmuth Michaelis + * Copyright (c) 1992, 2000 Hellmuth Michaelis * * All rights reserved. * @@ -11,12 +11,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by Hellmuth Michaelis. - * 4. The name of the developer may not be used to endorse or promote - * products derived from this software without specific prior written - * permission. * * THIS SOFTWARE IS PROVIDED BY THE DEVELOPER ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -28,8 +22,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * edit.c, 3.00, last edit-date: [Sun Jan 2 20:08:27 1994] */ /*--------------------------------------------------------------------------- @@ -37,10 +29,9 @@ * edit.c font editor edit character * ------------------------------------------ * - * written by Hellmuth Michaelis, hm@hcshh.hcs.de + * edit.c, 3.00, last edit-date: [Mon Mar 27 16:35:47 2000] * - * -hm first public release - * -hm some debugging & cleanup + * $FreeBSD$ * *---------------------------------------------------------------------------*/ diff --git a/usr.sbin/pcvt/fed/fed.1 b/usr.sbin/pcvt/fed/fed.1 new file mode 100644 index 0000000..838bab8 --- /dev/null +++ b/usr.sbin/pcvt/fed/fed.1 @@ -0,0 +1,56 @@ +.\" Copyright (c) 2000 Hellmuth Michaelis +.\" +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" Last Edit-Date: [Mon Mar 27 16:57:41 2000] +.\" +.\" $FreeBSD$ +.\" +.Dd March 27, 2000 +.Dt FED 8 +.Sh NAME +.Nm fed +.Nd fonteditor for pcvt EGA/VGA font files +.Sh SYNOPSIS +.Nm +filename +.Sh DESCRIPTION +.Nm +is a curses based fullscreen application which allows to edit +.Xr pcvt 4 +fontfiles interactively. +.Pp +.Nm +displays a command window, a character display window and a +character select window. +.Pp +In character select mode, it allows to move a character font to +another position, exchange two character fonts or switch to edit +character mode. +.Pp +In character edit mode, the user is able to edit the selected +character font or apply several operations to it. +.Sh BUGS +No known bugs +.Sh SEE ALSO +.Xr pcvt 4 diff --git a/usr.sbin/pcvt/fed/fed.c b/usr.sbin/pcvt/fed/fed.c index d2fa4f3..8c226b5 100644 --- a/usr.sbin/pcvt/fed/fed.c +++ b/usr.sbin/pcvt/fed/fed.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1992, 1993, 1994 by Hellmuth Michaelis + * Copyright (c) 1992, 2000 Hellmuth Michaelis * * All rights reserved. * @@ -11,12 +11,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by Hellmuth Michaelis. - * 4. The name of the developer may not be used to endorse or promote - * products derived from this software without specific prior written - * permission. * * THIS SOFTWARE IS PROVIDED BY THE DEVELOPER ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -28,8 +22,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * fed.c, 3.00, last edit-date: [Sun Jan 2 20:08:45 1994] */ /*--------------------------------------------------------------------------- @@ -37,10 +29,9 @@ * fed.c font editor main file * ------------------------------------- * - * written by Hellmuth Michaelis, hm@hcshh.hcs.de + * last edit-date: [Mon Mar 27 16:36:45 2000] * - * -hm first public release - * -hm activating font save + * $FreeBSD$ * *---------------------------------------------------------------------------*/ @@ -72,7 +63,7 @@ void main(int argc, char *argv[]) move(0,0); standout(); - addstr(" Interactive EGA/VGA Fonteditor - (c) 1993, 1994 Hellmuth Michaelis "); + addstr(" Interactive EGA/VGA Fonteditor - (c) 1993, 2000 Hellmuth Michaelis "); standend(); /* character horizontal ruler */ diff --git a/usr.sbin/pcvt/fed/fed.h b/usr.sbin/pcvt/fed/fed.h index 0911d37..bf488ab 100644 --- a/usr.sbin/pcvt/fed/fed.h +++ b/usr.sbin/pcvt/fed/fed.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1992, 1993, 1994 by Hellmuth Michaelis + * Copyright (c) 1992, 2000 Hellmuth Michaelis * * All rights reserved. * @@ -11,12 +11,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by Hellmuth Michaelis. - * 4. The name of the developer may not be used to endorse or promote - * products derived from this software without specific prior written - * permission. * * THIS SOFTWARE IS PROVIDED BY THE DEVELOPER ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -29,7 +23,9 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * fed.h, 3.00, last edit-date: [Sun Jan 2 20:10:31 1994] + * last edit-date: [Mon Mar 27 16:37:27 2000] + * + * $FreeBSD$ */ #include <ncurses.h> diff --git a/usr.sbin/pcvt/fed/misc.c b/usr.sbin/pcvt/fed/misc.c index c6707ba..5a0cbc9 100644 --- a/usr.sbin/pcvt/fed/misc.c +++ b/usr.sbin/pcvt/fed/misc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1992, 1993, 1994 by Hellmuth Michaelis + * Copyright (c) 1992, 2000 Hellmuth Michaelis * * All rights reserved. * @@ -11,12 +11,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by Hellmuth Michaelis. - * 4. The name of the developer may not be used to endorse or promote - * products derived from this software without specific prior written - * permission. * * THIS SOFTWARE IS PROVIDED BY THE DEVELOPER ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -28,8 +22,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * misc.c, 3.00, last edit-date: [Sun Jan 2 20:09:21 1994] */ /*--------------------------------------------------------------------------- @@ -37,10 +29,9 @@ * misc.c font editor misc routines * ----------------------------------------- * - * written by Hellmuth Michaelis, hm@hcshh.hcs.de + * last edit-date: [Mon Mar 27 16:38:12 2000] * - * -hm first public release - * -hm writefont routine + * $FreeBSD$ * *---------------------------------------------------------------------------*/ diff --git a/usr.sbin/pcvt/fed/select.c b/usr.sbin/pcvt/fed/select.c index b6993bb..e4e44ca 100644 --- a/usr.sbin/pcvt/fed/select.c +++ b/usr.sbin/pcvt/fed/select.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1992, 1993, 1994 by Hellmuth Michaelis + * Copyright (c) 1992, 2000 Hellmuth Michaelis * * All rights reserved. * @@ -11,12 +11,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by Hellmuth Michaelis. - * 4. The name of the developer may not be used to endorse or promote - * products derived from this software without specific prior written - * permission. * * THIS SOFTWARE IS PROVIDED BY THE DEVELOPER ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -28,8 +22,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * select.c, 3.00, last edit-date: [Sun Jan 2 20:09:36 1994] */ /*--------------------------------------------------------------------------- @@ -37,10 +29,9 @@ * select.c font editor select character * ---------------------------------------------------- * - * written by Hellmuth Michaelis, hm@hcshh.hcs.de + * last edit-date: [Mon Mar 27 16:38:50 2000] * - * -hm first public release - * -hm debugging + * $FreeBSD$ * *---------------------------------------------------------------------------*/ |