*BSD News Article 82643


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!uknet!bhamcs!news.ox.ac.uk!news
From: Neil Long <neil.long@materials.oxford.ac.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: VI slow start-up
Date: 11 Nov 1996 09:42:32 GMT
Organization: Department of Materials, University of Oxford
Lines: 53
Message-ID: <566se8$5pq@news.ox.ac.uk>
References: <55nlkf$ecr@news.ox.ac.uk> <328272C4.4758@indy.celebration.net>     <55v3l2$phq@news.ox.ac.uk> <563l7v$14a@anorak.coverform.lan>
NNTP-Posting-Host: njl2.materials.ox.ac.uk
X-Newsreader: NN version 6.5.0 (NOV)

brian@anorak.coverform.lan (Brian Somers) writes:

>In article <55v3l2$phq@news.ox.ac.uk>,
>	Neil Long <neil.long@materials.oxford.ac.uk> writes:
>: "John S. Dyson" <dyson@indy.celebration.net> writes:
>: 
>>>Neil Long wrote:
>>>> 
>>>> Just curious (again). Is there any reason why vi should start-up so
>>>> slowly when run on the PC console compared to a remote login?
>>>> 
>>>> I find it takes 10-12 seconds on the PC consoles and only a couple of secs
>>>> if I rlogin from elsewhere. (no filename and irritatingly reproducible)
>>>> 
>>>> I am running 2.2-961014-SNAP on a 486/33 with 20M, plenty of swap unused.
>>>> 
>>>Just a guess -- move your console's termcap entry to near the beginning
>>>of the file?
>: 
>>>John
>: 
>: Yes moving cons25 to the top improves it a lot but it still takes 4 secs-ish
>: compared with 2-ish via an xterm/vt100 network connection.
>: 
>: The developers must never use the consoles I guess!

>Have you got a good /usr/share/misc/termcap.db (man cap_mkdb) ?

>I had such problems with 960323-SNAP - and found it mildly irritating.  I
>recently upgraded to 961014 and also put it on our development machine at
>work, and the problem went away....  I didn't know about termcap.db then.

>Bear in mind, you can also set your TERMCAP variable to the termcap entry
>itself.  If all else fails, this will make things *very* quick.

>-- 
>Brian <brian%anorak.coverform.lan@awfulhak.demon.co.uk>
>      <http://www.awfulhak.demon.co.uk/>
>Don't _EVER_ lose your sense of humour....
>.


Brilliant suggestion - works like a charm. Definitely one for the FAQ.
Yes, the man page does mention it - right at the bottom.

Thanks
Neil
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*  Neil J Long, Department of Materials, University of Oxford
*               Parks Road, Oxford, OX1 3PH, UK
*  EMail:       Neil.Long@materials.oxford.ac.uk  
*  Tel:         +44 (0)1865-273678 Fax: +44 (0)1865-273789