[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot find termcap entry
From: |
Miroslaw Dach |
Subject: |
Re: Cannot find termcap entry |
Date: |
Thu, 28 Jun 2007 09:43:05 +0200 (CEST) |
Hi Micah,
Thank you very much for your answer.
I have tried many different terminals: vt100, xterm, linux, ansi
having the definitions in the /etc/termcap like:
vt100|vt100-am|dec vt100 (w/advanced video):\
:am:bs:ms:xn:xo:\
:co#80:it#8:li#24:vt#3:\
:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
:ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
:nd=\E[C:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>:\
:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
:up=\E[A:us=\E[4m:
To do so I simply type:
export TERM=vt100
Each time I invoke screen -r I get:
Cannot find termcap entry for 'vt100'
Maybe some config file is missing.
Best Regards
Mirek
On Wed, 27 Jun 2007, Micah Cowan wrote:
> Miroslaw Dach wrote:
> > Dear All,
> >
> > I have cross compiled screen for my embedded system (ppc405 based).
> > Screen seems to wrok fine with my server program.
> >
> > I have started it like that:
> >
> > screen -t MYSERVER -d -m /tmp/my_server
> >
> > When I want to attache to the running server I get a message:
> >
> > screen -r
> > Cannot find termcap entry for 'xterm'
> >
> > The root files system which I use is based on busybox.
> >
> > Would somebody have an idea what to do to solve this problem.
>
> It means you probably need to copy a termcap entry for xterm into the
> server's /etc/termcap. If you have a vt100 entry, you may be able to get
> away with just that, by setting the TERM environment variable to vt100
> instead of xterm. Or, you may be able to use the xterm TERM setting, by
> modifying the first bit of the vt100 entry from something like this:
>
> vt100|vt100-am|dec vt100:\
>
> to:
>
> xterm|vt100|vt100-am|dec vt100:\
>
> (that is, add the xterm in there).
>
>
--
=============================================================================
Miroslaw Dach (address@hidden) - SLS/Controls Group
PSI - Paul Scherrer Institut CH-5232 Villigen
=============================================================================