more startup time

leres%lbl-csam at sri-unix.UUCP leres%lbl-csam at sri-unix.UUCP
Mon Jan 30 07:02:33 AEST 1984


From:  Craig Leres <leres at lbl-csam>

Here's an alternate way to set up the TERMCAP environment variable which
avoids the use of a temporary file:

    set noglob _t=`tset -QS -m dialup:?h19 -m network:$TERM`
    if ($TERM == network) set _t=`tset -QS ?h19`
    setenv TERM $_t[1]
    setenv TERMCAP $_t[2]
    unset noglob _t

It also contains a clever hack that trys to make use of the terminal
type that gets passed when you rlogin.

		Craig



More information about the Comp.unix.wizards mailing list