Commit graph

138 commits

Author SHA1 Message Date
joerg
7d1eee448b Race conditions around term.h. 2015-02-18 20:01:49 +00:00
rodent
386b76a312 Add patch which includes <sys/uio.h> to fix build on OpenBSD.
Defuzz patchset.
2015-02-13 04:44:40 +00:00
he
80963a0a9f Remove patch for a generated(!) file. Remove the old-style-named patch
which already tweaked the tty.sh file, name it according to the new rules.

This is to actually get the netbsd-5 branch working with this, since
realpath() insists on a non-NULL second argument.
2015-01-13 08:27:28 +00:00
he
fb358cfbc0 The NetBSD -5 branch's version of realpath() insists on a non-NULL
second argument, so make the usage cater for that.
Bump PKGREVISION.
2015-01-12 14:24:40 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
jperkin
3ccbe28889 Add missing screen-256color entry for terminfo build. 2014-09-19 13:17:22 +00:00
richard
dec8290e29 SunOS needs at least XPG4_2 to expose some structs from <sys/socket.h>
namely msg_control and msg_controllen.  Use XPG5 with _XOPEN_SOURCE=500
for simplicity.
2014-08-27 16:14:27 +00:00
kim
4bc74485dd Upgrade screen to version 4.2.1.
Version 4.2.1 (28/04/2014):
  * allow for terminal with long $TERM (up to 32 characters)
  * allow to use long logins
  * documentation fixes
  * runtime fixes

Version 4.2.0 (17/04/2014):
  New Commands:
  * 'unbindall' to unbind all commands
  * 'up', 'down', 'left', 'right' sub-commands for 'focus'
  * 'rendition' to specify rendition to use in caption/hardstatus for
    window-names that have bell/monitor/silence/so turned on.
  * 'layout', with the following sub-commands
	- 'title'
	- 'number'
	- 'autosave' ('autosave on' or 'autosave off')
	- 'new'
	- 'save' ('save <name>')
	- 'select'
	- 'next'
	- 'prev'
	- 'attach'
	- 'show'
	- 'remove'
	- 'dump'
  * 'group' for moving window(s) into a group.
  * 'defmousetrack' and 'mousetrack', to turn on/off mouse-tracking for
    displays. It's turned off by default. With mouse-tracking turned on, it's
    possible to switch to a region ('focus') using mouse clicks. It's also
    possible to select a text region in copy-mode using a mouse click to place
    a mark and the scroll wheel to scroll through the buffer. Additional
    features might be to allow clicking on window-titles in the caption to
    switch to that window.
  * All commands prefixed '@' are treated as 'quiet', i.e. '@'-prefixed commands
    do not trigger any display messages.

  Changed Commands:
  * '-v' parameter to 'split' command for vertical splits.
  * 'sorendition' deprecated in favour of 'rendition so'.
  * 'digraph' can take a second parameter to specify custom digraphs. For
    example,
	'digraph >= ≥' or 'digraph >= U+2265'
    Using '0' as the second parameter will remove the digraph.
  * 'stuff' will prompt for input if there's nothing to stuff.
  * The argument to ":number" can be prefixed with '+' or '-' to use it as a
    relative argument.
  * '-g' parameter to 'windowlist' to show nested list of windows.
  * '//group' parameter to 'screen' to create a grouped window.
  * 'blankerprg' shows the currently set command on no argument.
  * 'maxwin' can now be used to increase the number of maximum windows.

  .screenrc:
  * $PID expands to the PID of the screen session.
  * $PWD expands to the current working directory of the session.
  * $STY expands to the session name.
  * Tilde-expansion in pathnames (e.g. for the 'source' command)
  * C-style escapes can be used (e.g. "\n" to get a newline with 'stuff')
  * '%p' in caption/hardstatus string expands to the PID of the backend, and
    '%+p' expands to the PID of the frontend (display).
  * '%S' in caption/hardstatus string expands to the session name.
  * '%P' in the caption string evaluates to true if the region is in copy mode.
  * '%E' in the caption string evaluates to true if the escape character has
    currently been pressed.

  Window List:
  * Nested views when there are window groups (with 'windowlist -g').
  * Press 'm' to toggle the most-recent view.
  * Press 'g' to toggle nestedness.
  * Press 'a' to view all windows in the list.
  * Press '/' to search in the list.
  * Press ',' and '.' to re-order windows in the list.
  * Press 'K' to kill a window (requires confirmation).

  Display List:
  * Press 'd' to detach a display, 'D' to power-detach.

  Others:
  * Start using 'ChangeLog' for logging changes again.
  * Terminfo update for 256-color support.
  * Multiple input history (partially from Romain Francoise).
  * vi-like fFtT;, searching in copy mode.
  * In copy mode, search in reverse direction when 'N' is pressed.
  * Tab-completion for command input.
  * Some more readline-like bindings in input mode (e.g. ^W, ^D, ^P, ^N etc.)
  * Fix displaying unicode characters in the caption/hardstatus on UTF8 locale.
  * A revamped displays list (for 'displays' command)
  * Increased default maximum number of windows from 40 to 100.
  * Increased number color/attribute changes in caption/hardstatus string from 16 to 256.
  * Some commands can be remotely queried using the -Q command-line flag.

  In-Progress:
  * Scripting support (thanks to Google Summer of Code 2009 project by Rui Guo)
2014-08-25 20:02:32 +00:00
tron
85c797abcc Remove current master site which is no longer working and re-enable
GNU master sites which are now working.
2014-07-05 11:21:29 +00:00
jperkin
52f906b8e9 Change the terminfo creation on SunOS to happen when CURSES_DEFAULT is
set to 'curses' and use the canonical path to tic(1M) rather than the
obsolete '/usr/5bin' PATH which is no longer valid on some newer OS
releases.

Bump PKGREVISION.
2014-06-09 10:24:13 +00:00
asau
9912a3809d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 09:57:15 +00:00
apb
e006bded2d Move the NetBSD-specific part of screen's pty.c to the right place.
This commit changes patch-aa so that the patched version
of pty.c contains:

    ... other OS-specific code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... generic openpty() code
    ... last resort code

instead of the previous:

    ... other OS-specific code
    ... generic openpty() code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... last resort code

History behind this problem:

The NetBSD-specific openpty() code was added in revision 1.1
of misc/screen/patches/patch-aa.  (See PR pkg/16901.)  At that
time, pkgsrc used screen-3.9.11, and the upstream version of
screen did not use openpty() at all.  The patch added an "#if
defined(__NetBSD__)" block as the last OS-specific section in
pty.c, which then had:

    ... other OS-specific code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... last resort code

In screen-3.9.15, upstream added code in pty.c to use openpty().
This was imported to pkgsrc on 2003-03-15.  At that time, pkgsrc's
patch-aa accidentally inserted the NetBSD-specific code below
instead of above the new code, so the patched version of pty.c
had:

    ... other OS-specific code
    ... generic openpty() code         (from upstream)
    ... NetBSD-specific openpty() code (from patch-aa)
    ... last resort code

The above is obviously wrong because the generic openpty() code
would be used instead of the NetBSD-specific code, assuming
HAVE_OPENPTY was defined by the configure script.

This problem was reported in PR pkg/25317, but the patch in the PR
was not understood so it was not applied.

This commit changes patch-aa so that the patched version of pty.c
contains:

    ... other OS-specific code
    ... NetBSD-specific openpty() code (from patch-aa)
    ... generic openpty() code         (from upstream)
    ... last resort code

However, it still doesn't work on NetBSD with ptyfs mounted.
2012-09-15 09:14:53 +00:00
shattered
73b9ef031c PR/39663: enable 256 color support (only with ncurses and PDCurses). 2011-06-11 18:49:31 +00:00
rumko
d6fe8228f2 misc/screen: DragonFly BSD 2.9+ support
Make screen use utmpx on DragonFly BSD 2.9+ so that it compiles
again.

Patch submitted by Matthias Rampke ( https://gist.github.com/823307 ).

ok@ wiz
2011-03-14 06:15:23 +00:00
jmmv
9a786011ff Bump PKGREVISION to reflect the recent change in pkginstall/shells to use
etcutils to update /etc/shells.
2010-05-07 12:02:43 +00:00
zafer
e93211dccf remove dead mirror 2010-03-07 15:13:37 +00:00
spz
9b43a1c0f6 Fix build failure:
NetBSD-current added dwarf.h and that made the code assume that sys/stropts.h
was present without greater need, since configure also checks for
HAVE_SYS_STROPTS_H.
2010-01-01 19:38:44 +00:00
tron
dbd78a3f8a Set license to "gnu-gpl-v2". 2009-10-30 12:02:46 +00:00
joerg
674dbd1712 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 20:47:52 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
jmmv
476e25c10b Fix destdir support by defining PKG_DESTDIR_SUPPORT early enough and by
not setting setuid permissions too early.
2009-03-05 09:59:12 +00:00
adrianp
9098002713 Allow override of CURSES_DEFAULT using options.mk 2009-03-02 21:11:49 +00:00
dillo
b361788948 Fix DESTDIR install on SunOS. 2008-06-06 17:14:01 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
tonnerre
317771a665 Include curses header for screen configure script when testing tgetent
in order to prevent crash on 64-bit architectures. Otherwise the result
of termcap/terminfo detection is wrong, causing the infamous "bad format 'p'"
messages, or "OOPSOOPSOOPS" when SSHing from MacOS.
Fixes PR 33808
Approved-by: joerg
2008-04-04 21:09:16 +00:00
jlam
e4ba95eba5 + Include termcap.buildlink3.mk for proper termcap library handling.
+ Note bin/screen as a setuid-root program using SPECIAL_PERMS.

Bump the PKGREVISION to 1.
2008-03-17 19:03:35 +00:00
wiz
fe4473a595 Squelch a pkglint warning. 2007-05-23 23:49:24 +00:00
wiz
b51dfd7038 The distfile is not GNU mirrors (only older versions are).
Remove MASTER_SITE_GNU from MASTER_SITES and two other places.
From Zafer Aydogan.
2007-05-23 23:46:08 +00:00
rillig
49edb8df4b It does not make sense to install bin/screen setuid in unprivileged mode. 2007-02-15 14:47:09 +00:00
joerg
7f279c69f3 DESTDIR support. 2006-11-02 17:59:37 +00:00
tron
6da092472f Update "screen" package to version 4.0.3. A list of changes since
version 4.0.2 isn't available but this release contains a fix for
the security vulnerability report in CVE-2006-4573.
2006-10-29 15:08:27 +00:00
rillig
a8ae7bde5f Added a missing directory for Solaris. 2006-09-21 20:23:38 +00:00
jlam
36c3fdbed9 Unify PLISTs between Solaris and everyone else. Also drop the removal
of screen.old... that just shouldn't happen.  Bump the PKGREVISION.
2006-04-05 23:06:33 +00:00
jlam
a4cbc72f58 List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR. 2006-04-05 23:01:15 +00:00
joerg
ac8f70a5a0 Use SUBST. 2006-01-19 02:01:18 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
reed
cc7cd45463 This will install two screenrc examples (and changes name of one) and
fixes man page to point to them.

Update patch-ap for doc/screen.1 so the location of examples files
is corrected.

Now install both examples. Update PLISTs. Note that the
screenrc example is now called screenrc and etcscreenrc is
etcscreenrc (makes sense).

Mention both examples in MESSAGE.

Bump PKGREVISION.

This will solve problem for PR #32391.

Okayed by maintainer.
2005-12-28 17:53:24 +00:00
rillig
7f6a676139 Added patch-aq, which makes screen use the setenv() function with three
parameters instead of the one with two parameters. The setenv() function
has been added to Solaris recently, so this wasn't necessary before.
Should fix PR 32273.
2005-12-10 23:28:13 +00:00
joerg
8d751efc7b Always use the errno from errno.h. 2005-11-08 12:58:47 +00:00
rillig
302e549bd0 Use "+=" instead of "=" with PLIST_SUBST. Added proper quoting for
DISTNAME.
2005-10-23 23:09:59 +00:00
rillig
7356d65d87 Fixed pkglint warnings. 2005-09-28 19:35:36 +00:00
jlam
5b62763c63 Teach the +SHELLS helper script to not create an /etc/shells file if
one doesn't exist.  From now on, we only add the listed PKG_SHELL to
the /etc/shells file if it already exists.  This fixes PR pkg/27162.
2005-09-20 04:23:48 +00:00
cube
3c67ace0ab Add "shells" to CATEGORIES, ride on previous revision bump. 2005-08-01 11:36:29 +00:00
cube
34d6d30cb3 GNU screen can be used as a login shell, so register it as such.
PR 30838 by Geert Hendrickx.
2005-08-01 10:27:59 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
kim
2923a41f18 Avoid repeated compiler warnings about redefining USEVARARGS. 2005-03-29 07:02:25 +00:00
agc
07b46baa43 Add RMD160 digests 2005-02-24 11:02:49 +00:00
kim
bed5ee4806 I can try to care for this one. 2005-02-21 22:37:03 +00:00
hubertf
9a981bcfbe Sign over maintainership to tech-pkg@ 2005-02-21 20:26:08 +00:00
tv
5b8aae2ffc Mark as not for Interix due to major work being needed to accomodate
Interix username sizes and user authentication.
2004-10-11 23:46:15 +00:00