Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site denelcor.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!wjh12!harvard!seismo!hao!denelcor!lmc From: lmc@denelcor.UUCP (Lyle McElhaney) Newsgroups: net.bugs.4bsd,net.unix Subject: termcap use in more Message-ID: <593@denelcor.UUCP> Date: Thu, 15-Nov-84 13:19:29 EST Article-I.D.: denelcor.593 Posted: Thu Nov 15 13:19:29 1984 Date-Received: Sat, 17-Nov-84 04:35:37 EST Distribution: net Organization: Denelcor, Aurora, Colorado Lines: 16 Xref: genrad net.bugs.4bsd:1231 net.unix:3116 I was incorporating the bug fixes from the net in more.c and noticed something that seemed to me to be somewhat odd. It is perhaps not a bug but more a question of why. Setting the variable hardtab is done by: hardtabs = !(otty.sg_flags & XTABS); Now, most everyone's tty flags are set by getty (the ht declaration in gettytab). Getty doesn't know whether or not the terminal has hardware tabs; It is just set (or reset) willy-nilly. The pt termcap variable, on the other hand, presumably is correct about that feature. Why is not the termcap consulted, rather than the tty structure? Am I missing something? -- Lyle McElhaney (hao,brl-bmd,nbires,csu-cs,scgvaxd)!denelcor!lmc