Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!sun!gorodish!guy From: guy@gorodish.UUCP Newsgroups: comp.unix.wizards Subject: Re: termcap question Message-ID: <20208@sun.uucp> Date: Tue, 2-Jun-87 17:25:27 EDT Article-I.D.: sun.20208 Posted: Tue Jun 2 17:25:27 1987 Date-Received: Fri, 5-Jun-87 00:46:30 EDT References: <84@decvax.UUCP> Sender: news@sun.uucp Lines: 16 > After rumaging through the source code it seems to me that any string > should have these capabilities. Don't they all just call the same > routine tputs() which will first look for padding specifications and > then the string? tputs() does not conditionally look for padding > only for certian strings. Who are "they" in "don't they all just call..."? The answer to the question is probably "no", if "they" refers to "those programs that use 'termcap'." Some programs use "tputs", some don't. I suspect the list of strings that can have padding is close to the list of strings that are put using "tputs" in most programs. A program *can*, and arguably should, use "tputs" to put all the strings, but there are programs that do not. Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com