modifying terminfo

Dan Bernstein brnstnd at stealth.acf.nyu.edu
Tue Dec 12 06:18:31 AEST 1989


I have a ~/.termcap with the termcaps I actually use. In .init.term are,
among other things:

  if ($term == network) set term=dm3045
  setenv TERMCAP $HOME/.termcap
  set noglob;eval `tset -s -Q "?$term"`;unset noglob;set term=$TERM
  if ($term == unknown) then
    echo 'Trying local terminal capability database:'
    setenv TERMCAP /etc/termcap
    set noglob;eval `tset -s -Q "?$term"`;unset noglob;set term=$TERM
  endif
  
---Dan



More information about the Comp.unix.questions mailing list