[Midnightbsd-cvs] mports [19609] trunk/sysutils/screen: fix some issues with the screen port

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Jul 27 20:22:27 EDT 2015


Revision: 19609
          http://svnweb.midnightbsd.org/mports/?rev=19609
Author:   laffer1
Date:     2015-07-27 20:22:26 -0400 (Mon, 27 Jul 2015)
Log Message:
-----------
fix some issues with the screen port

Modified Paths:
--------------
    trunk/sysutils/screen/Makefile
    trunk/sysutils/screen/files/patch-terminfo__checktc.c
    trunk/sysutils/screen/files/patch-utmp.c

Added Paths:
-----------
    trunk/sysutils/screen/files/screenrc.sample

Modified: trunk/sysutils/screen/Makefile
===================================================================
--- trunk/sysutils/screen/Makefile	2015-07-27 22:17:03 UTC (rev 19608)
+++ trunk/sysutils/screen/Makefile	2015-07-28 00:22:26 UTC (rev 19609)
@@ -2,6 +2,7 @@
 
 PORTNAME=	screen
 PORTVERSION=	4.3.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://ftp.gnu.org/gnu/screen/ \
 		ftp://ftp.gnu.org/gnu/screen/ \

Modified: trunk/sysutils/screen/files/patch-terminfo__checktc.c
===================================================================
--- trunk/sysutils/screen/files/patch-terminfo__checktc.c	2015-07-27 22:17:03 UTC (rev 19608)
+++ trunk/sysutils/screen/files/patch-terminfo__checktc.c	2015-07-28 00:22:26 UTC (rev 19609)
@@ -4,7 +4,7 @@
    fflush(stdout);
  }
  
-+#ifndef __FreeBSD__
++#ifndef __MidnightBSD__
  void CPutStr(s, c)
  char *s;
  int c;
@@ -12,7 +12,7 @@
    tputs(tgoto(s, 0, c), 1, putcha);
    fflush(stdout);
  }
-+#endif /* __FreeBSD__ */
++#endif /* __MidnightBSD__ */
  
  void CCPutStr(s, x, y)
  char *s;

Modified: trunk/sysutils/screen/files/patch-utmp.c
===================================================================
--- trunk/sysutils/screen/files/patch-utmp.c	2015-07-27 22:17:03 UTC (rev 19608)
+++ trunk/sysutils/screen/files/patch-utmp.c	2015-07-28 00:22:26 UTC (rev 19609)
@@ -80,7 +80,7 @@
  {
    u->ut_type = DEAD_PROCESS;
 -#if (!defined(linux) || defined(EMPTY)) && !defined(__CYGWIN__)
-+#if (!defined(linux) || defined(EMPTY)) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
++#if (!defined(linux) || defined(EMPTY)) && !defined(__CYGWIN__) && !defined(__MidnightBSD__)
    u->ut_exit.e_termination = 0;
    u->ut_exit.e_exit = 0;
  #endif

Added: trunk/sysutils/screen/files/screenrc.sample
===================================================================
--- trunk/sysutils/screen/files/screenrc.sample	                        (rev 0)
+++ trunk/sysutils/screen/files/screenrc.sample	2015-07-28 00:22:26 UTC (rev 19609)
@@ -0,0 +1,11 @@
+startup_message off
+defscrollback 5000
+termcapinfo xterm ti@:te@
+termcapinfo xterm-color ti@:te@
+hardstatus alwayslastline
+hardstatus string '%{gk}[%{G}%H%{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}]%{=b C}[%m/%d/%y %C %A]%{W}'
+vbell off
+shell -$SHELL
+logtstamp on
+logtstamp after 1
+logfile flush


Property changes on: trunk/sysutils/screen/files/screenrc.sample
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list