[comp.unix.questions] modifying terminfo

bagchi@dip.eecs.umich.edu (Ranjan Bagchi) (12/09/89)

sonething that's been bugging me:
 
The termcap that I'm using isn't exactly what I want.  By that, I mean, the
control codes that it sends when boldface is indicated, are not what I would
rather have it use.  In short, for a particular type of print, can I specify
how the termcap will handle something like highlighted printing independently
of how /etc/termcap tells it how to?
 
		-rj
		sparky.eecs.umich.edu

brnstnd@stealth.acf.nyu.edu (Dan Bernstein) (12/12/89)

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