Accepting request 55611 from home:jnweiger:branches:Base:System

ok

OBS-URL: https://build.opensuse.org/request/show/55611
OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=16
This commit is contained in:
Marcus Rückert 2010-12-10 19:46:04 +00:00 committed by Git OBS Bridge
parent d5558a9a4c
commit 6681750d35
8 changed files with 171 additions and 67 deletions

View File

@ -1,16 +1,14 @@
--- ./configure.in.orig 2003-06-03 11:58:24.000000000 +0000 ---
+++ ./configure.in 2006-02-10 16:30:36.000000000 +0000 configure | 2 +-
@@ -93,7 +93,7 @@ AC_ARG_ENABLE(socket-dir, configure.in | 2 +-
AC_MSG_RESULT(yes) screenrc | 4 ++++
AC_MSG_CHECKING(for the socket dir) terminfo/screeninfo.src | 24 ++++++++++++++++++++++++
SOCKDIR="(eff_uid ? \"/tmp/uscreens\" : \"/tmp/screens\")" 4 files changed, 30 insertions(+), 2 deletions(-)
- AC_ARG_WITH(socket-dir, [ --with-socket-dir=path where to put the per-user sockets], [ SOCKDIR="\"${withval}\"" ])
+ AC_ARG_WITH(socket-dir, [ --with-socket-dir=path where to put the per-user sockets], [ SOCKDIR="${withval}" ]) Index: configure
AC_MSG_RESULT(${SOCKDIR}) ===================================================================
AC_DEFINE_UNQUOTED(SOCKDIR, $SOCKDIR) --- configure.orig
] +++ configure
--- ./configure.orig 2003-12-05 13:46:53.000000000 +0000
+++ ./configure 2006-02-10 16:30:36.000000000 +0000
@@ -3012,7 +3012,7 @@ echo $ECHO_N "checking for the socket di @@ -3012,7 +3012,7 @@ echo $ECHO_N "checking for the socket di
# Check whether --with-socket-dir or --without-socket-dir was given. # Check whether --with-socket-dir or --without-socket-dir was given.
if test "${with_socket_dir+set}" = set; then if test "${with_socket_dir+set}" = set; then
@ -20,15 +18,32 @@
fi; fi;
echo "$as_me:$LINENO: result: ${SOCKDIR}" >&5 echo "$as_me:$LINENO: result: ${SOCKDIR}" >&5
echo "${ECHO_T}${SOCKDIR}" >&6 echo "${ECHO_T}${SOCKDIR}" >&6
--- ./screenrc.orig 2006-02-10 16:30:36.000000000 +0000 Index: configure.in
+++ ./screenrc 2006-02-10 16:30:36.000000000 +0000 ===================================================================
--- configure.in.orig
+++ configure.in
@@ -93,7 +93,7 @@ AC_ARG_ENABLE(socket-dir,
AC_MSG_RESULT(yes)
AC_MSG_CHECKING(for the socket dir)
SOCKDIR="(eff_uid ? \"/tmp/uscreens\" : \"/tmp/screens\")"
- AC_ARG_WITH(socket-dir, [ --with-socket-dir=path where to put the per-user sockets], [ SOCKDIR="\"${withval}\"" ])
+ AC_ARG_WITH(socket-dir, [ --with-socket-dir=path where to put the per-user sockets], [ SOCKDIR="${withval}" ])
AC_MSG_RESULT(${SOCKDIR})
AC_DEFINE_UNQUOTED(SOCKDIR, $SOCKDIR)
]
Index: screenrc
===================================================================
--- /dev/null
+++ screenrc
@@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
+# this is the global screenrc file. Handle with care. +# this is the global screenrc file. Handle with care.
+ +
+termcapinfo xterm* G0:is=\E[?4l\E>:ti@:te@ +termcapinfo xterm* G0:is=\E[?4l\E>:ti@:te@
+termcapinfo linux me=\E[m:AX +termcapinfo linux me=\E[m:AX
--- ./terminfo/screeninfo.src.orig 2003-07-21 15:33:36.000000000 +0000 Index: terminfo/screeninfo.src
+++ ./terminfo/screeninfo.src 2006-02-10 16:41:11.000000000 +0000 ===================================================================
--- terminfo/screeninfo.src.orig
+++ terminfo/screeninfo.src
@@ -71,3 +71,27 @@ screen-s|VT 100/ANSI X3.64 virtual termi @@ -71,3 +71,27 @@ screen-s|VT 100/ANSI X3.64 virtual termi
civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l, civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l,
op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,

View File

@ -1,6 +1,17 @@
--- screen-4.0.3/window.h.ipv6 2003-08-21 16:57:30.000000000 +0200 ---
+++ screen-4.0.3/window.h 2006-11-15 13:36:57.000000000 +0100 extern.h | 3 -
@@ -254,7 +254,7 @@ help.c | 4 +
screen.c | 16 +++++-
teln.c | 154 ++++++++++++++++++++++++++++++---------------------------------
window.c | 28 ++++++-----
window.h | 2
6 files changed, 110 insertions(+), 97 deletions(-)
Index: screen-4.0.3/window.h
===================================================================
--- screen-4.0.3.orig/window.h
+++ screen-4.0.3/window.h
@@ -254,7 +254,7 @@ struct win
struct display *w_zdisplay; struct display *w_zdisplay;
#endif #endif
#ifdef BUILTIN_TELNET #ifdef BUILTIN_TELNET
@ -9,9 +20,11 @@
char w_telbuf[IOSIZE]; char w_telbuf[IOSIZE];
int w_telbufl; int w_telbufl;
char w_telmopts[256]; char w_telmopts[256];
--- screen-4.0.3/window.c.ipv6 2003-12-05 14:45:41.000000000 +0100 Index: screen-4.0.3/window.c
+++ screen-4.0.3/window.c 2006-11-15 13:39:27.000000000 +0100 ===================================================================
@@ -582,6 +582,13 @@ --- screen-4.0.3.orig/window.c
+++ screen-4.0.3/window.c
@@ -582,6 +582,13 @@ struct NewWindow *newwin;
n = pp - wtab; n = pp - wtab;
debug1("Makewin creating %d\n", n); debug1("Makewin creating %d\n", n);
@ -25,7 +38,7 @@
if ((f = OpenDevice(nwin.args, nwin.lflag, &type, &TtyName)) < 0) if ((f = OpenDevice(nwin.args, nwin.lflag, &type, &TtyName)) < 0)
return -1; return -1;
@@ -736,7 +743,7 @@ @@ -736,7 +743,7 @@ struct NewWindow *newwin;
#ifdef BUILTIN_TELNET #ifdef BUILTIN_TELNET
if (type == W_TYPE_TELNET) if (type == W_TYPE_TELNET)
{ {
@ -34,7 +47,7 @@
{ {
FreeWindow(p); FreeWindow(p);
return -1; return -1;
@@ -834,6 +841,13 @@ @@ -834,6 +841,13 @@ struct win *p;
int lflag, f; int lflag, f;
lflag = nwin_default.lflag; lflag = nwin_default.lflag;
@ -48,7 +61,7 @@
if ((f = OpenDevice(p->w_cmdargs, lflag, &p->w_type, &TtyName)) < 0) if ((f = OpenDevice(p->w_cmdargs, lflag, &p->w_type, &TtyName)) < 0)
return -1; return -1;
@@ -864,7 +878,7 @@ @@ -864,7 +878,7 @@ struct win *p;
#ifdef BUILTIN_TELNET #ifdef BUILTIN_TELNET
if (p->w_type == W_TYPE_TELNET) if (p->w_type == W_TYPE_TELNET)
{ {
@ -57,7 +70,7 @@
return -1; return -1;
} }
else else
@@ -1007,16 +1021,6 @@ @@ -1007,16 +1021,6 @@ char **namep;
if (!arg) if (!arg)
return -1; return -1;
@ -74,8 +87,10 @@
if ((stat(arg, &st)) == 0 && S_ISCHR(st.st_mode)) if ((stat(arg, &st)) == 0 && S_ISCHR(st.st_mode))
{ {
if (access(arg, R_OK | W_OK) == -1) if (access(arg, R_OK | W_OK) == -1)
--- screen-4.0.3/teln.c.ipv6 2003-09-08 16:26:56.000000000 +0200 Index: screen-4.0.3/teln.c
+++ screen-4.0.3/teln.c 2006-11-15 13:36:57.000000000 +0100 ===================================================================
--- screen-4.0.3.orig/teln.c
+++ screen-4.0.3/teln.c
@@ -25,6 +25,7 @@ @@ -25,6 +25,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <fcntl.h> #include <fcntl.h>
@ -84,7 +99,7 @@
#include "config.h" #include "config.h"
@@ -37,12 +38,13 @@ @@ -37,12 +38,13 @@ extern struct win *fore;
extern struct layer *flayer; extern struct layer *flayer;
extern int visual_bell; extern int visual_bell;
extern char screenterm[]; extern char screenterm[];
@ -100,7 +115,7 @@
#define TEL_CONNECTING (-2) #define TEL_CONNECTING (-2)
#define TC_IAC 255 #define TC_IAC 255
@@ -99,86 +101,78 @@ @@ -99,86 +101,78 @@ char *data;
} }
int int
@ -257,9 +272,11 @@
} }
int int
--- screen-4.0.3/help.c.ipv6 2003-09-08 16:25:33.000000000 +0200 Index: screen-4.0.3/help.c
+++ screen-4.0.3/help.c 2006-11-15 13:36:57.000000000 +0100 ===================================================================
@@ -49,6 +49,10 @@ --- screen-4.0.3.orig/help.c
+++ screen-4.0.3/help.c
@@ -49,6 +49,10 @@ char *myname, *message, *arg;
{ {
printf("Use: %s [-opts] [cmd [args]]\n", myname); printf("Use: %s [-opts] [cmd [args]]\n", myname);
printf(" or: %s -r [host.tty]\n\nOptions:\n", myname); printf(" or: %s -r [host.tty]\n\nOptions:\n", myname);
@ -270,9 +287,11 @@
printf("-a Force all capabilities into each window's termcap.\n"); printf("-a Force all capabilities into each window's termcap.\n");
printf("-A -[r|R] Adapt all windows to the new display width & height.\n"); printf("-A -[r|R] Adapt all windows to the new display width & height.\n");
printf("-c file Read configuration file instead of '.screenrc'.\n"); printf("-c file Read configuration file instead of '.screenrc'.\n");
--- screen-4.0.3/screen.c.ipv6 2003-09-08 16:26:41.000000000 +0200 Index: screen-4.0.3/screen.c
+++ screen-4.0.3/screen.c 2006-11-15 13:36:57.000000000 +0100 ===================================================================
@@ -231,8 +231,9 @@ --- screen-4.0.3.orig/screen.c
+++ screen-4.0.3/screen.c
@@ -231,8 +231,9 @@ struct layer *flayer;
struct win *fore; struct win *fore;
struct win *windows; struct win *windows;
struct win *console_window; struct win *console_window;
@ -284,7 +303,7 @@
/* /*
* Do this last * Do this last
@@ -471,6 +472,9 @@ @@ -471,6 +472,9 @@ char **av;
nwin = nwin_undef; nwin = nwin_undef;
nwin_options = nwin_undef; nwin_options = nwin_undef;
strcpy(screenterm, "screen"); strcpy(screenterm, "screen");
@ -294,7 +313,7 @@
logreopen_register(lf_secreopen); logreopen_register(lf_secreopen);
@@ -505,6 +509,14 @@ @@ -505,6 +509,14 @@ char **av;
{ {
switch (*ap) switch (*ap)
{ {
@ -309,9 +328,11 @@
case 'a': case 'a':
nwin_options.aflag = 1; nwin_options.aflag = 1;
break; break;
--- screen-4.0.3/extern.h.ipv6 2003-08-22 14:27:57.000000000 +0200 Index: screen-4.0.3/extern.h
+++ screen-4.0.3/extern.h 2006-11-15 13:36:57.000000000 +0100 ===================================================================
@@ -446,8 +446,7 @@ --- screen-4.0.3.orig/extern.h
+++ screen-4.0.3/extern.h
@@ -446,8 +446,7 @@ extern void ExitOverlayPage __P((void))
/* teln.c */ /* teln.c */
#ifdef BUILTIN_TELNET #ifdef BUILTIN_TELNET

View File

@ -1,6 +1,12 @@
--- screen.h 2004/09/12 07:24:26 1.1 ---
+++ screen.h 2004/09/12 07:24:36 screen.h | 1 +
@@ -25,6 +25,7 @@ 1 file changed, 1 insertion(+)
Index: screen.h
===================================================================
--- screen.h.orig
+++ screen.h
@@ -24,6 +24,7 @@
#include "os.h" #include "os.h"

View File

@ -1,6 +1,13 @@
--- screen-4.0.2/fileio.c.xx 2005-04-08 13:37:18.823774606 +0200 ---
+++ screen-4.0.2/fileio.c 2005-04-08 13:37:25.948324113 +0200 fileio.c | 2 +-
@@ -779,7 +779,7 @@ utmp.c | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
Index: screen-4.0.3/fileio.c
===================================================================
--- screen-4.0.3.orig/fileio.c
+++ screen-4.0.3/fileio.c
@@ -779,7 +779,7 @@ char *cmd;
#ifdef SIGPIPE #ifdef SIGPIPE
signal(SIGPIPE, SIG_DFL); signal(SIGPIPE, SIG_DFL);
#endif #endif
@ -9,8 +16,10 @@
Panic(errno, "/bin/sh"); Panic(errno, "/bin/sh");
default: default:
break; break;
--- screen-4.0.2/utmp.c.orig 2005-10-28 22:01:14.105418912 +0000 Index: screen-4.0.3/utmp.c
+++ screen-4.0.2/utmp.c 2005-10-28 22:02:30.065801507 +0000 ===================================================================
--- screen-4.0.3.orig/utmp.c
+++ screen-4.0.3/utmp.c
@@ -604,6 +604,7 @@ struct utmp *u; @@ -604,6 +604,7 @@ struct utmp *u;
char *line, *user; char *line, *user;
int pid; int pid;

View File

@ -1,6 +1,13 @@
--- screen-4.0.2/doc/screen.texinfo.orig 2003-12-05 14:51:46.000000000 +0100 ---
+++ screen-4.0.2/doc/screen.texinfo 2008-05-14 15:29:52.252937000 +0200 doc/screen.1 | 18 ++++++++++++------
@@ -140,7 +140,8 @@ doc/screen.texinfo | 19 ++++++++++++-------
2 files changed, 24 insertions(+), 13 deletions(-)
Index: screen-4.0.3/doc/screen.texinfo
===================================================================
--- screen-4.0.3.orig/doc/screen.texinfo
+++ screen-4.0.3/doc/screen.texinfo
@@ -140,7 +140,8 @@ whole screen session is detached from th
When a program terminates, @code{screen} (per default) kills the window When a program terminates, @code{screen} (per default) kills the window
that contained it. If this window was in the foreground, the display that contained it. If this window was in the foreground, the display
switches to the previously displayed window; if none are left, switches to the previously displayed window; if none are left,
@ -10,7 +17,7 @@
Everything you type is sent to the program running in the current Everything you type is sent to the program running in the current
window. The only exception to this is the one keystroke that is used to window. The only exception to this is the one keystroke that is used to
@@ -151,7 +152,8 @@ @@ -151,7 +152,8 @@ Character}) and all the key bindings (@p
customized to be anything you like, though they are always two customized to be anything you like, though they are always two
characters in length. characters in length.
@ -20,7 +27,7 @@
Please use the caret notation (@kbd{^A} instead of @kbd{C-a}) as arguments Please use the caret notation (@kbd{^A} instead of @kbd{C-a}) as arguments
to e.g. the @code{escape} command or the @code{-e} option. @code{Screen} to e.g. the @code{escape} command or the @code{-e} option. @code{Screen}
will also print out control characters in caret notation. will also print out control characters in caret notation.
@@ -386,7 +388,7 @@ @@ -386,7 +388,7 @@ For combinations with the
Set the default shell to be @var{program}. By default, @code{screen} Set the default shell to be @var{program}. By default, @code{screen}
uses the value of the environment variable @code{$SHELL}, or uses the value of the environment variable @code{$SHELL}, or
@file{/bin/sh} if it is not defined. This option is equivalent to the @file{/bin/sh} if it is not defined. This option is equivalent to the
@ -29,7 +36,7 @@
@item -S @var{sessionname} @item -S @var{sessionname}
Set the name of the new session to @var{sessionname}. This option can Set the name of the new session to @var{sessionname}. This option can
@@ -1261,10 +1263,12 @@ @@ -1261,10 +1263,12 @@ Unset an environment variable.
Set the command to be used to create a new shell. This overrides the Set the command to be used to create a new shell. This overrides the
value of the environment variable @code{$SHELL}. This is useful if value of the environment variable @code{$SHELL}. This is useful if
you'd like to run a tty-enhancer which is expecting to execute the you'd like to run a tty-enhancer which is expecting to execute the
@ -45,7 +52,7 @@
@end deffn @end deffn
@deffn Command shelltitle title @deffn Command shelltitle title
@@ -1544,7 +1548,7 @@ @@ -1544,7 +1548,7 @@ password checking.
Mainly the same as @code{detach}, but also sends a HANGUP signal Mainly the same as @code{detach}, but also sends a HANGUP signal
to the parent process of @code{screen}.@* to the parent process of @code{screen}.@*
@emph{Caution}: This will result in a @emph{Caution}: This will result in a
@ -54,7 +61,7 @@
@end deffn @end deffn
@deffn Command pow_detach_msg [message] @deffn Command pow_detach_msg [message]
@@ -4932,6 +4936,7 @@ @@ -4932,6 +4936,7 @@ Alternate user screenrc file.
@item SHELL @item SHELL
Default shell program for opening windows (default @file{/bin/sh}). Default shell program for opening windows (default @file{/bin/sh}).
@ -62,9 +69,11 @@
@item STY @item STY
Alternate socket name. If @code{screen} is invoked, and the environment variable Alternate socket name. If @code{screen} is invoked, and the environment variable
--- screen-4.0.2/doc/screen.1.orig 2003-12-05 14:51:57.000000000 +0100 Index: screen-4.0.3/doc/screen.1
+++ screen-4.0.2/doc/screen.1 2008-05-14 15:21:06.956755000 +0200 ===================================================================
@@ -59,7 +59,8 @@ --- screen-4.0.3.orig/doc/screen.1
+++ screen-4.0.3/doc/screen.1
@@ -59,7 +59,8 @@ session is detached from the user's term
If this window was in the foreground, the display switches to the previous If this window was in the foreground, the display switches to the previous
window; if none are left, window; if none are left,
.I screen .I screen
@ -74,7 +83,7 @@
.PP .PP
Everything you type is sent to the program running in the current window. Everything you type is sent to the program running in the current window.
The only exception to this is the one keystroke that is used to initiate The only exception to this is the one keystroke that is used to initiate
@@ -70,7 +71,8 @@ @@ -70,7 +71,8 @@ The command character and all the key bi
to be anything you like, though they are always two characters in length. to be anything you like, though they are always two characters in length.
.PP .PP
.I Screen .I Screen
@ -84,7 +93,7 @@
Please use the caret notation (\*Q^A\*U instead of \*QC-a\*U) as arguments Please use the caret notation (\*Q^A\*U instead of \*QC-a\*U) as arguments
to e.g. the to e.g. the
.I escape .I escape
@@ -330,6 +332,7 @@ @@ -330,6 +332,7 @@ For combinations with the \fB\-d\fP/\fB\
sets the default shell to the program specified, instead of the value sets the default shell to the program specified, instead of the value
in the environment variable $SHELL (or \*Q/bin/sh\*U if not defined). in the environment variable $SHELL (or \*Q/bin/sh\*U if not defined).
This can also be defined through the \*Qshell\*U .screenrc command. This can also be defined through the \*Qshell\*U .screenrc command.
@ -92,7 +101,7 @@
.TP 5 .TP 5
.BI "\-S " sessionname .BI "\-S " sessionname
When creating a new session, this option can be used to specify a When creating a new session, this option can be used to specify a
@@ -1557,7 +1560,7 @@ @@ -1557,7 +1560,7 @@ windows is changed. Initial setting is 1
.ne 3 .ne 3
.BI "defshell " command .BI "defshell " command
.PP .PP
@ -101,7 +110,7 @@
.sp .sp
.ne 3 .ne 3
.BR "defsilence on" | off .BR "defsilence on" | off
@@ -2381,7 +2384,7 @@ @@ -2381,7 +2384,7 @@ the parent process of
.IR screen . .IR screen .
CAUTION: This will result in a logout, when CAUTION: This will result in a logout, when
.I screen .I screen
@ -110,7 +119,7 @@
.sp .sp
.ne 3 .ne 3
.B pow_detach_msg .B pow_detach_msg
@@ -2625,8 +2628,10 @@ @@ -2625,8 +2628,10 @@ only in rare circumstances.
Set the command to be used to create a new shell. Set the command to be used to create a new shell.
This overrides the value of the environment variable $SHELL. This overrides the value of the environment variable $SHELL.
This is useful if you'd like to run a tty-enhancer which is expecting to This is useful if you'd like to run a tty-enhancer which is expecting to
@ -123,7 +132,7 @@
.sp .sp
.ne 3 .ne 3
.B "shelltitle \fItitle\fP" .B "shelltitle \fItitle\fP"
@@ -4397,6 +4402,7 @@ @@ -4397,6 +4402,7 @@ Alternate socket directory.
Alternate user screenrc file. Alternate user screenrc file.
.IP SHELL .IP SHELL
Default shell program for opening windows (default \*Q/bin/sh\*U). Default shell program for opening windows (default \*Q/bin/sh\*U).

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 10 19:40:12 UTC 2010 - jw@novell.com
- term_too_long.patch added.
corresponds to savannah#30880
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 3 14:54:47 UTC 2010 - aj@suse.de Wed Nov 3 14:54:47 UTC 2010 - aj@suse.de

View File

@ -40,6 +40,8 @@ Patch1: screen-__P.diff
Patch2: screen-gcc4.diff Patch2: screen-gcc4.diff
Patch4: screen-man-loginshell.diff Patch4: screen-man-loginshell.diff
Patch5: screen-4.0.3-ipv6.patch Patch5: screen-4.0.3-ipv6.patch
# upstream savannah#30880
Patch6: term_too_long.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -56,6 +58,7 @@ Documentation: man page
%patch2 -p1 %patch2 -p1
%patch4 -p1 %patch4 -p1
%patch5 -p1 %patch5 -p1
%patch6 -p1
%build %build
CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" ./configure --prefix=/usr --infodir=%{_infodir} \ CFLAGS="-DMAXWIN=1000 $RPM_OPT_FLAGS" ./configure --prefix=/usr --infodir=%{_infodir} \

35
term_too_long.diff Normal file
View File

@ -0,0 +1,35 @@
Index: screen-4.0.3/display.h
===================================================================
--- screen-4.0.3.orig/display.h
+++ screen-4.0.3/display.h
@@ -85,7 +85,7 @@ struct display
struct win *d_other; /* pointer to other window */
int d_nonblock; /* -1 don't block if obufmax reached */
/* >0: block after nonblock secs */
- char d_termname[20 + 1]; /* $TERM */
+ char d_termname[42 + 1]; /* $TERM */
char *d_tentry; /* buffer for tgetstr */
char d_tcinited; /* termcap inited flag */
int d_width, d_height; /* width/height of the screen */
Index: screen-4.0.3/screen.h
===================================================================
--- screen-4.0.3.orig/screen.h
+++ screen-4.0.3/screen.h
@@ -191,7 +191,7 @@ struct msg
int nargs;
char line[MAXPATHLEN];
char dir[MAXPATHLEN];
- char screenterm[20]; /* is screen really "screen" ? */
+ char screenterm[42]; /* is screen really "screen" ? */
}
create;
struct
@@ -203,7 +203,7 @@ struct msg
char preselect[20];
int esc; /* his new escape character unless -1 */
int meta_esc; /* his new meta esc character unless -1 */
- char envterm[20 + 1]; /* terminal type */
+ char envterm[42 + 1]; /* terminal type */
int encoding; /* encoding of display */
}
attach;