rxvt - miniature xterm clone.

This commit is contained in:
Gary Palmer 1994-12-05 01:49:10 +00:00
parent a3e966715e
commit 45ea0ecd8f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527
8 changed files with 265 additions and 0 deletions

21
x11/rxvt-devel/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection Makefile for: rxvt
# Version required: 2.09
# Date created: 5th December 1994
# Whom: gpalmer@FreeBSD.org
#
# $Id$
#
DISTNAME= rxvt-2.09
USE_IMAKE= yes
INSTALL_MANPAGES= yes
WRKSRC= ${WRKDIR}/rxvt
PREFIX= /usr/X11R6/bin
MASTER_SITES= ftp://iraun1.ira.uka.de/pub/x11/
# Get rid of the rclock directory until I can figure out how to patch
# that up also and make it!
pre-configure:
@/bin/rm -rf ${WRKDIR}/rclock
.include <bsd.port.mk>

View File

@ -0,0 +1,52 @@
*** Imakefile.orig Thu Oct 20 15:23:25 1994
--- Imakefile Mon Dec 5 01:22:49 1994
***************
*** 4,10 ****
*/
# uncomment for gcc
! CC=gcc
# add -DDEBUG to get rxvt to self-check for internal screen corruption
# add -DDEBUG_MALLOC to self check on out of bound memory usage.
--- 4,10 ----
*/
# uncomment for gcc
! CC=cc
# add -DDEBUG to get rxvt to self-check for internal screen corruption
# add -DDEBUG_MALLOC to self check on out of bound memory usage.
***************
*** 77,86 ****
#EXTRA_LOAD_FLAGS= -lc -lucb
# Using this defines adds in UTMP support for Sun OS 4.1.x
! EXTRA_DEFINES = -DBSD -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DBSD -DTTYTAB=\"/etc/ttytab\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DUSE_XCOPYAREA -DCOLOR -DGRAPHICS
# for FreeBSD
! #EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
# for NetBSD 0.9
#DEFS = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
--- 77,86 ----
#EXTRA_LOAD_FLAGS= -lc -lucb
# Using this defines adds in UTMP support for Sun OS 4.1.x
! #EXTRA_DEFINES = -DBSD -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DBSD -DTTYTAB=\"/etc/ttytab\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DUSE_XCOPYAREA -DCOLOR -DGRAPHICS
# for FreeBSD
! EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
# for NetBSD 0.9
#DEFS = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
***************
*** 95,100 ****
--- 95,101 ----
DEPLIBS = $(DEPXLIB)
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
+ INSTALLFLAGS = -g wheel -o root -c -s -m 4755
SRCS = rxvt.c command.c sbar.c screen.c utmp.c xsetup.c debug.c resources.c graphics.c\
$(GREEK_SRC)

21
x11/rxvt-unicode/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection Makefile for: rxvt
# Version required: 2.09
# Date created: 5th December 1994
# Whom: gpalmer@FreeBSD.org
#
# $Id$
#
DISTNAME= rxvt-2.09
USE_IMAKE= yes
INSTALL_MANPAGES= yes
WRKSRC= ${WRKDIR}/rxvt
PREFIX= /usr/X11R6/bin
MASTER_SITES= ftp://iraun1.ira.uka.de/pub/x11/
# Get rid of the rclock directory until I can figure out how to patch
# that up also and make it!
pre-configure:
@/bin/rm -rf ${WRKDIR}/rclock
.include <bsd.port.mk>

View File

@ -0,0 +1,52 @@
*** Imakefile.orig Thu Oct 20 15:23:25 1994
--- Imakefile Mon Dec 5 01:22:49 1994
***************
*** 4,10 ****
*/
# uncomment for gcc
! CC=gcc
# add -DDEBUG to get rxvt to self-check for internal screen corruption
# add -DDEBUG_MALLOC to self check on out of bound memory usage.
--- 4,10 ----
*/
# uncomment for gcc
! CC=cc
# add -DDEBUG to get rxvt to self-check for internal screen corruption
# add -DDEBUG_MALLOC to self check on out of bound memory usage.
***************
*** 77,86 ****
#EXTRA_LOAD_FLAGS= -lc -lucb
# Using this defines adds in UTMP support for Sun OS 4.1.x
! EXTRA_DEFINES = -DBSD -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DBSD -DTTYTAB=\"/etc/ttytab\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DUSE_XCOPYAREA -DCOLOR -DGRAPHICS
# for FreeBSD
! #EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
# for NetBSD 0.9
#DEFS = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
--- 77,86 ----
#EXTRA_LOAD_FLAGS= -lc -lucb
# Using this defines adds in UTMP support for Sun OS 4.1.x
! #EXTRA_DEFINES = -DBSD -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DBSD -DTTYTAB=\"/etc/ttytab\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DUSE_XCOPYAREA -DCOLOR -DGRAPHICS
# for FreeBSD
! EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
# for NetBSD 0.9
#DEFS = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
***************
*** 95,100 ****
--- 95,101 ----
DEPLIBS = $(DEPXLIB)
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
+ INSTALLFLAGS = -g wheel -o root -c -s -m 4755
SRCS = rxvt.c command.c sbar.c screen.c utmp.c xsetup.c debug.c resources.c graphics.c\
$(GREEK_SRC)

View File

@ -0,0 +1,23 @@
*** command.c.old Mon Dec 5 01:07:33 1994
--- command.c Mon Dec 5 01:07:49 1994
***************
*** 373,381 ****
{
int pgrp = getpid();
ioctl(0, TIOCSPGRP, (char *)&pgrp);
! setpgrp();
close(open(ttynam, O_WRONLY, 0));
! setpgrp ();
}
/* init of termios structure */
--- 373,381 ----
{
int pgrp = getpid();
ioctl(0, TIOCSPGRP, (char *)&pgrp);
! setpgrp(0,pgrp);
close(open(ttynam, O_WRONLY, 0));
! setpgrp (0,pgrp);
}
/* init of termios structure */

21
x11/rxvt/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection Makefile for: rxvt
# Version required: 2.09
# Date created: 5th December 1994
# Whom: gpalmer@FreeBSD.org
#
# $Id$
#
DISTNAME= rxvt-2.09
USE_IMAKE= yes
INSTALL_MANPAGES= yes
WRKSRC= ${WRKDIR}/rxvt
PREFIX= /usr/X11R6/bin
MASTER_SITES= ftp://iraun1.ira.uka.de/pub/x11/
# Get rid of the rclock directory until I can figure out how to patch
# that up also and make it!
pre-configure:
@/bin/rm -rf ${WRKDIR}/rclock
.include <bsd.port.mk>

52
x11/rxvt/files/patch-aa Normal file
View File

@ -0,0 +1,52 @@
*** Imakefile.orig Thu Oct 20 15:23:25 1994
--- Imakefile Mon Dec 5 01:22:49 1994
***************
*** 4,10 ****
*/
# uncomment for gcc
! CC=gcc
# add -DDEBUG to get rxvt to self-check for internal screen corruption
# add -DDEBUG_MALLOC to self check on out of bound memory usage.
--- 4,10 ----
*/
# uncomment for gcc
! CC=cc
# add -DDEBUG to get rxvt to self-check for internal screen corruption
# add -DDEBUG_MALLOC to self check on out of bound memory usage.
***************
*** 77,86 ****
#EXTRA_LOAD_FLAGS= -lc -lucb
# Using this defines adds in UTMP support for Sun OS 4.1.x
! EXTRA_DEFINES = -DBSD -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DBSD -DTTYTAB=\"/etc/ttytab\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DUSE_XCOPYAREA -DCOLOR -DGRAPHICS
# for FreeBSD
! #EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
# for NetBSD 0.9
#DEFS = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
--- 77,86 ----
#EXTRA_LOAD_FLAGS= -lc -lucb
# Using this defines adds in UTMP support for Sun OS 4.1.x
! #EXTRA_DEFINES = -DBSD -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DBSD -DTTYTAB=\"/etc/ttytab\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DUSE_XCOPYAREA -DCOLOR -DGRAPHICS
# for FreeBSD
! EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
# for NetBSD 0.9
#DEFS = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\" -DPRINT_PIPE $(GREEK_EXTRA) -DMAX_REFRESH_PERIOD=10 -DMULTIPLE_CLICKS -DFAKE_RESOURCES -DCOLOR -DGRAPHICS
***************
*** 95,100 ****
--- 95,101 ----
DEPLIBS = $(DEPXLIB)
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
+ INSTALLFLAGS = -g wheel -o root -c -s -m 4755
SRCS = rxvt.c command.c sbar.c screen.c utmp.c xsetup.c debug.c resources.c graphics.c\
$(GREEK_SRC)

23
x11/rxvt/files/patch-ab Normal file
View File

@ -0,0 +1,23 @@
*** command.c.old Mon Dec 5 01:07:33 1994
--- command.c Mon Dec 5 01:07:49 1994
***************
*** 373,381 ****
{
int pgrp = getpid();
ioctl(0, TIOCSPGRP, (char *)&pgrp);
! setpgrp();
close(open(ttynam, O_WRONLY, 0));
! setpgrp ();
}
/* init of termios structure */
--- 373,381 ----
{
int pgrp = getpid();
ioctl(0, TIOCSPGRP, (char *)&pgrp);
! setpgrp(0,pgrp);
close(open(ttynam, O_WRONLY, 0));
! setpgrp (0,pgrp);
}
/* init of termios structure */