Huge termcap, slow screen (Was: Re: opkg issues. best way to run opkg)
gcasse at oralux.net
Sat Jul 19 20:02:35 CEST 2008
> Flemming Richter Mikkelsen wrote:
> My best tips is:
> ssh into the phone
> $ screen
> $ opkg update && opkg upgrade
> If the ssh session terminates, just ssh in again and run
> $ screen -x
> Screen is slow. [...]
slow, yes: around 30s for having the first shell :-P
Using strace, this delay seems related to the huge /etc/termcap (~700k).
If I remove/rename this file, screen is launched almost instantaneously.
Another way could be to assign TERMCAP to a slimmer or non existent
More information about the devel