1847333 Members
2298 Online
110264 Solutions
New Discussion

Screen 4.00.02

 
Diego A. Sánchez
Occasional Contributor

Screen 4.00.02

Hi, I have installed screen 4.00.02 in a HP-UX 11.11 server and I get the following error if I start screen:

$ screen
Cannot find terminfo entry for 'xterm'.

I can open a terminal in background mode but if I can reatach them the same error appear:

$ screen -dm
$ screen -ls
There is a screen on:
10196..bashpap (Detached)
1 Socket in /tmp/screens/S-root.
$ screen -r 10196..bashpap
Cannot find terminfo entry for 'xterm'.

I tried to configure the terminal but I can see allways the same error message.

TERM=xterm

Thank you
Fernando
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: Screen 4.00.02

I dealt with this problem not long ago.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=996972
If it ain't broke, I can fix that.
Diego A. Sánchez
Occasional Contributor

Re: Screen 4.00.02

Hi Clay!, thanks for you help.

I try to compile the screen source but the follow error appear:

$ ./configure
OK

$ make
CPP="gcc -E -I/usr/local/include/ncurses" srcdir=. sh ./osdef.sh
AWK=awk CC="gcc -g -O2" srcdir=. sh ./comm.sh
gcc -c -I. -I. -g -O2 screen.c
In file included from screen.h:144,
from screen.c:81:
display.h:163: error: 'T_N' undeclared here (not in a function)
screen.c: In function 'main':
screen.c:642: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c:766: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c: In function 'WindowDied':
screen.c:1379: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c: In function 'CoreDump':
screen.c:1510: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c: In function 'IsSymbol':
screen.c:1846: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c: In function 'MakeNewEnv':
screen.c:1863: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c: In function 'Msg':
screen.c:1906: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c: In function 'Panic':
screen.c:1960: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c:1992: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c: In function 'MakeWinMsgEv':
screen.c:2459: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c: In function 'PutWinMsg':
screen.c:2802: warning: incompatible implicit declaration of built-in function 'strlen'
screen.c: In function 'serv_select_fn':
screen.c:2948: error: 'D_VB' undeclared (first use in this function)
screen.c:2948: error: (Each undeclared identifier is reported only once
screen.c:2948: error: for each function it appears in.)
screen.c: In function 'logflush_fn':
screen.c:3120: warning: incompatible implicit declaration of built-in function 'strlen'
*** Error exit code 1

Stop.

I try to comment the "CPPFLAGS=xxx/yyy/zzz/ncurses.h" line and I can see the same error.

this is the content of the "/usr/local/include/ncurses" directory of my server:

-rw-r--r-- 1 root sys 59015 Oct 18 11:46 curses.h
-rw-r--r-- 1 root sys 6590 Oct 18 11:47 cursesapp.h
-rw-r--r-- 1 root sys 27646 Oct 18 11:47 cursesf.h
-rw-r--r-- 1 root sys 19518 Oct 18 11:47 cursesm.h
-rw-r--r-- 1 root sys 8446 Oct 18 11:47 cursesp.h
-rw-r--r-- 1 root sys 45086 Oct 18 11:47 cursesw.h
-rw-r--r-- 1 root sys 7312 Oct 18 11:47 cursslk.h
-rw-r--r-- 1 root sys 2891 Oct 18 11:46 eti.h
-rw-r--r-- 1 root sys 8840 Oct 18 11:47 etip.h
-rw-r--r-- 1 root sys 17206 Oct 18 11:46 form.h
-rw-r--r-- 1 root sys 11881 Oct 18 11:46 menu.h
lrwxr-xr-x 1 root sys 8 Dec 1 10:13 ncurses.h -> curses.h
-rw-r--r-- 1 root sys 1559 Oct 18 11:46 ncurses_dll.h
-rw-r--r-- 1 root sys 3721 Oct 18 11:46 panel.h
-rw-r--r-- 1 root sys 37864 Oct 18 11:46 term.h
-rw-r--r-- 1 root sys 3484 Oct 18 11:46 termcap.h
-rw-r--r-- 1 root sys 3013 Oct 18 11:46 unctrl.h

thanks
Diego A. Sánchez
Occasional Contributor

Re: Screen 4.00.02

Hi Cly, I solve the problem installing the termcap-1.3.1 depot

Best regards
Fernando
Diego A. Sánchez
Occasional Contributor

Re: Screen 4.00.02

.