Commit graph

38 commits

Author SHA1 Message Date
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
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
7356d65d87 Fixed pkglint warnings. 2005-09-28 19:35:36 +00:00
kim
2923a41f18 Avoid repeated compiler warnings about redefining USEVARARGS. 2005-03-29 07:02:25 +00:00
atatat
6ac8f64732 Put the config.h.in patch into its own patch file and add more to it
that forces varargs to be used on NetBSD.  Some gcc 3.3 instances
(specifically 3.3.3nb1 on NetBSD/alpha) fail one of the configure
tests making it think we don't have sprintf() (and therefore no
varargs) causing unmentionably evil things to be done instead.  This
usually leads to core dumps.

Fix a pointer-to-integer cast warning by casting to long in between.
The actual use case is harmless, but the compiler can't tell that.

Bump PKGREVISION to 1 for the gcc workaround (affects at least
NetBSD/alpha which can now build a better screen).

Addresses PR pkg/25937.
2004-07-15 04:05:40 +00:00
christos
48c9113196 Fix a compile issue under /current. Screen wrongly detects that we have
svr4 ptys because of /dev/ptmx, but erroneously wants <sys/stropts.h>
because of that define. Fix properly, by detecting the presense of
<sys/stropts.h> before including it.

I am not bumping the nb number because nothing realy changes; you'll
get the same binary if you recompile.

XXX: The utmp stuff is still completely broken, that is why this is still
setuid.
2004-06-16 21:35:00 +00:00
wiz
84970eaa04 Not necessary any longer after update to 4.0.2. 2004-01-06 18:10:46 +00:00
grant
bb36ff1b94 call ln with separate -s and -f args to appease Solaris.
from Dima Veselov on tech-pkg.
2003-12-11 22:35:09 +00:00
ben
8af6a397e4 On sparc64 when I used the "w" command, the screen logins had absurdly
large login and idle times.  This was due to a bug in utmp.c:

in os.h
-------
#  define utmp          utmpx
#  define ut_time       ut_xtime

in utmp.c::makeuser()
---------------------
struct utmp *u;
  (void)time((time_t *)&u->ut_time);

The above works fine on i386 where ut_xtime and time_t are the same size,
but on sparc64 ut_xtime is 8 bytes rather than 4.

This fix was tested on i386 and sparc64.
2003-12-01 15:18:27 +00:00
wiz
511619f71b Fix
http://www.securityfocus.com/archive/1/345844
with the patches supplied there.
Bump PKGREVISION to 1.
2003-11-27 20:29:48 +00:00
seb
1a211d2439 Convert to USE_NEW_TEXINFO.
Remove now unnecessary patch file.
2003-08-03 08:14:46 +00:00
grant
dc6db4c806 Fix paths in man page and example screenrc (for pkgsrc). 2002-12-23 13:13:02 +00:00
hubertf
6ff50914d7 Update screen to 3.9.13. Changes:
* 29.08.2002  3.09.12 Port to POSIX 1003.1-2001 hosts (Paul Eggert).
 *                     Fixed encoding for reattach password test.
 *                     Fixed NUL characters when encodings are active.
 *                     Fixed silly encodings bugs. Fixed bogus
 *                     oldflayer when a window gets freed.
 *                     Altscreen support by Gurusamy Sarathy.
 *                     Reuse old password in builtin_screenlock.
 *                     -- DISTRIBUTED
 * 05.09.2002  3.09.13 added missing break statement that broke
 *                     the eval command.
 *                     -- DISTRIBUTED

Upgrade requested by dolemite@wuli.nu in private mail.
2002-11-04 22:39:17 +00:00
kim
fe233f7a84 Handle utmpx on NetBSD-current. 2002-09-15 06:51:35 +00:00
tron
7c58683c08 Use openpty(3) to allocate a new pty under NetBSD. This fixes PR pkg/16901
by Bernd Ernesti.
2002-05-21 17:57:03 +00:00
wiz
40f34fa7cc Update to 3.9.11:
* windowlist, bound to ^A"
* support for other encodings, e.g. big5, koi8r, cp1251
    new commands 'encoding', 'defencoding'
    'register', 'readreg', 'readbuf', 'writebuf' now understand
    an extra encoding parameter
* support for double utf-8 characters
* lots of new string escapes and extensions to existsing ones:
    %LD, %LM, %Lw, %W, %-w, %+w, %H, %f, %F, %l, %=, %<, %>
* new commands: 'source', 'eval', 'deflog', 'ignorecase', 'setsid'
* command key classes: 'bind', 'command' and 'help' understand
  a '-c <class>' parameter. See the man page for examples
* new login state: always - don't remove slot even if screen gets
  detached
* 256 color support (experimental)
* configurable time format string (for ^At)
* config option to use localized month/week names
* new option '-h' for hardcopy: also dump the scrollback buffer

XXX: SunOS PLIST untested.
2002-02-16 11:18:34 +00:00
itojun
ffd75749e9 support non-japanese iso2022 multibyte escape sequences, like
ESC $ ( C for ksx1001/ksc5601 korean charsets.
patch already sent to screen@uni-erlangen.de.
2001-08-18 11:21:19 +00:00
wiz
1cbd5110a1 Update to 3.9.9. Changes since 3.9.8:
* new '-X' option to send commands to screen sessions.
* added a possibility to change the attributes/color in caption or
  hardstatus strings:
    caption always "%3n %{r}%t%{-}%? @%u%?%? %{g}[%h]%{-}%?"
* new 'dinfo' command to show what screen thinks about your terminal.
* new 'attrcolor' command to map attributes to color codes:
* support for UTF-8: new commands 'utf8', 'defutf8' to change the
  encoding of a window, plus a '-U' option to tell screen that
  your terminal sends/receives UTF-8 codes.
* support for 16 colors.
2001-08-18 09:53:01 +00:00
itojun
236a2a9c34 upgrade to screen 3.9.8. it includes official security fix against
Msg() hole.  ok'ed by packages@netbsd.org.

---
                  ------------------------------
                   What's new in screen-3.9.8 ?
                  ------------------------------

* new command 'resize' to resize regions (aka split windows), try:
    bind = resize =
    bind + resize +1
    bind - resize -1
    bind _ resize max

* new argument for 'focus': up, down, top, bottom

* X11 mouse tracking support

* Support for the "new color model", aka "background color erase":
    the bce/defbce commands change the color model of the current
    window/new windows.

* experimental rxvt OSC sequence support (used to set a background
  picture or to change the default colors), disabled by default.
2000-09-11 14:43:14 +00:00
kim
b6bc871edf The format string needs to be "%s", not just "%". 2000-09-01 15:23:51 +00:00
wiz
296ddb961b Fix security problem reported by Jouko Pynnönen <jouko@solutions.fi>
via Bill Sommerfeld. Step version to 3.9.5nb1. Minor pkgdelinting.
Will delete binary packages shortly.
2000-09-01 14:39:51 +00:00
jdc
087095aed0 Reducing the termcap buffer from 2048 to 1024 bytes breaks with the new
termcap code.
Leaving it at 2048 is OK for older code, as that truncates the entry to
1024 bytes anyway.
2000-05-16 20:27:34 +00:00
agc
a1919bdd4d Remove fuzz from patches. 1999-11-19 12:21:13 +00:00
tron
705e33eef6 Update "screen" package to version 3.9.5. 1999-09-03 15:44:42 +00:00
agc
f36dfb025b Makefile.in file is incorrect - dollar signs must be escaped from
make(1), so that "$PATH" should actually be "$$PATH".  Correct this,
and regen patch-sum file accordingly.
1999-08-13 14:04:16 +00:00
tron
d7b743afef Update "screen" package to version 3.9.3. Changes since version 3.9.2:
- small utmp fix
- BSD chflags fix
1999-08-10 17:43:55 +00:00
agc
ded828d2d3 Upgrade to version 3.9.2 of screen, the multi-screen window manager.
Changes include:
* real multiuser support
* split screen support
* hardstatus emulation support
* configurable window seperator and hardstatus strings
* permanent window seperator
* many new escapes
* logfile timestamps and flush timeout
* configurable breaktype
* other new commands:
* optional builtin telnet.
* remote detach and reattach change:
* support for history compaction
* optional Braille support.
1999-08-10 09:18:01 +00:00
tron
4c7f62f0bb Make sure that "screen" recognizes termcap buffer overflow.
Patch supplied by Joel Reicher in PR pkg/7454.
1999-04-23 18:24:39 +00:00
itohy
9fe632a300 1. Avoid changing G1 charset to allow 8-bit encodings.
2. Shorten TERMCAP environment variable not to be longer than 1023 bytes.
1999-03-20 02:42:06 +00:00
tv
e49116f605 Update to 3.7.6. 1998-11-30 17:45:17 +00:00
tv
ead1e3e8c7 Typo: set loadnum to 3. 1998-08-16 21:53:15 +00:00
tv
0b30901822 Another Alphaism: fix broken check for args to getloadavg(). All NetBSD
systems return three doubles.
1998-08-07 13:57:34 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
tv
3558f40d39 Make sure to use stdarg.h (broken check in configure that normally
activates a LP64-broken workaround for a missing varargs implementation).
1998-08-07 00:43:12 +00:00
explorer
e24db8c403 update to screen 3.7.4 (from 3.7.2) 1997-11-05 00:37:12 +00:00
hubertf
652e2956ee Initial import of FreeBSD's screen port. 1997-10-11 21:47:45 +00:00