[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: screen manager terminal emulation
From:       Miroslaw Dach <miroslaw.dach () psi ! ch>
Date:       2007-06-29 11:57:41
Message-ID: Pine.LNX.4.44.0706291344080.11207-100000 () slslc02 ! psi ! ch
[Download RAW message or body]

Hi Hinko,

	This what I have identified is that most probably the problem with 
termcap comes from curses library.

I have rebuilt ncurses library and now it seems to be that the problem 
with termcap has disappeared when I set TERM=vt100.

I have however another problem.

When I start my server :

./screen -t MYSERVER  -d -m ./myServer

I do not see that it runs. 'ps' command does not show any process running 
under screen. Before with ncurses library (which I took straight from 
ELDK41) the server was running but it was a problem with termcap.

Do you know if there are some specific option for curses to be use when 
launching 'configure' in curses directory.

When I type screen without any options I get:
/var/run/utmp: No such file or directory

I do not know if it is critical?

Before with curses (from ELDK41) I was getting always:

/var/run/utmp: No such file or directory
Cannot find termcap entry for 'vt100'

Best Regards

Mirek

On Fri, 29 Jun 2007, hinko.kocevar@cetrtapot.si wrote:

> Hello,
> > 
> > I have the feeling that whatever is in the  /etc/termcap it is ignored by 
> > screen.
> > 
> 
> OK then. Try to run the screen application inside the debugger or use 
> trace utility to see what syscalls are made on hehalf og the screen 
> application. There should be a clear indication for maybe stat(), open() 
> syscalls and you can see which termcap file (if any) the application is 
> trying to access.
> 
> Another thing  - grep the screen sources and see if any PATHs are set 
> inside the source, hardcoded that is. On the other hand maybe some 
> fallback PATHs are defined, if the termcap file is not found where it 
> needs to be.
> 
> > Whatever I set for TERM (vt100,xterm,linux....) I always keep getting a 
> > message:
> > 
> > Cannot find termcap entry for 'vt100' (or 'xterm' etc).
> > screen -r
> > I have no clue why it is so.
> > 
> > I have also suggested to build screen without curses. Could you instruct 
> > me how to do that? Maybe this will solve the problem.
> > 
> 
> Instead of ncurses library you can use termcap library, which is 
> standalone library that provides similar (more simple) curses 
> implementation that ncurses.
> 
> I would first try to establish what termcap the screen application is 
> tying to access and see if yours is in the right place...
> 
> best regards,
> hinko
> 
> 
> 

-- 
=============================================================================
          Miroslaw Dach (Miroslaw.Dach@psi.ch) - SLS/Controls Group 
                PSI - Paul Scherrer Institut CH-5232 Villigen
=============================================================================

_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic