pcvt cleanup.
add $FreeBSD$. get copyright in sync with FreeBSD recommendation. make it compile and run again. add a manpage.
This commit is contained in:
parent
ca8b57af45
commit
b53d4b9ddb
@ -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>
|
||||
|
@ -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$
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
|
56
usr.sbin/pcvt/fed/fed.1
Normal file
56
usr.sbin/pcvt/fed/fed.1
Normal file
@ -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
|
@ -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 */
|
||||
|
@ -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>
|
||||
|
@ -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$
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -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$
|
||||
*
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user