[comp.bugs.sys5] possible bug in "tput"

friedl@mtndew.UUCP (Steve Friedl) (12/27/89)

Hi folks,

     Is this a bug?  I find that "tput init" appends a carriage
return to its output, and I don't think it should.  Recall that
"init" is a meta-capability that outputs is1, is2, is3, if, and
iprog, sets output delays, and deals with tab expansion.  It does
this part just fine, it's just that this CR seems to follow even
if none of the capabilities are found.  None of the other
capabilities (except the other meta-cap "reset") have this
problem.

     I suppose that in most cases a CR is not such a bad thing
for fixing up a terminal or something, but when going to a
printer it might not be so helpful.  At least it should be
documented.

     Found on:	AT&T 3B2  Sys V Release 3.1
		AT&T 3B2  Sys V Release 3.2
		AT&T 6386 Sys V Release 3.2

     Steve

-- 
Stephen J. Friedl, KA8CMY   /  Consultant   /   Tustin, CA  /  3B2-kind-of-guy
714 544 6561 voice /  714 544 6496 fax  / uunet!mtndew!friedl / friedl@vsi.com

"PostScript wizard in training." - me