Branch: Tag:

1999-03-23

1999-03-23 20:48:01 by Marcus Comstedt <marcus@mc.pp.se>

Handle nonexistand termcap/terminfo.

Rev: lib/modules/Stdio.pmod/Terminfo.pmod:1.4

1: - // $Id: Terminfo.pmod,v 1.3 1999/03/17 23:26:03 marcus Exp $ + // $Id: Terminfo.pmod,v 1.4 1999/03/23 20:48:01 marcus Exp $         #if constant(thread_create)
718:   {    object tcdb;    LOCK; -  tcdb = deftermcap || (deftermcap = TermcapDB()); +  catch { tcdb = deftermcap || (deftermcap = TermcapDB()); };    UNLOCK;    return tcdb;   }
727:   {    object tidb;    LOCK; -  tidb = defterminfo || (defterminfo = TerminfoDB()); +  catch { tidb = defterminfo || (defterminfo = TerminfoDB()); };    UNLOCK;    return tidb;   }