Date: Fri, 19 Jul 2002 05:38:24 +0200 From: Gunnar Flygt <gunnar@oldie.sr.se> To: "Scott G. Akmentins-Taylor" <staylor@mrynet.com> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: A small annoyance Message-ID: <20020719053824.B38474@sr.se> In-Reply-To: <200207190302.g6J32e7P025223@mrynet.com>; from staylor@mrynet.com on Thu, Jul 18, 2002 at 10:02:40PM -0500 References: <200207190302.g6J32e7P025223@mrynet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 18, 2002 at 10:02:40PM -0500, Scott G. Akmentins-Taylor wrote: > > Since the latest update to OpenSSH there is a small thing that has > > appeared on my machines (STABLE as of 30 Jun) When I run scp from a box > > (it can be of any brand of OpenSSH) I get two lines saying: > > > > tput: tgetent failure: No such file or directory > > tput: tgetent failure: No such file or directory > > > > The copy goes fine, but what does this mean? > > Hi. > > The errors are a result of something in your .profile or .cshrc > that is trying to modify the stdout as a tty device. > stty is the usual cause of this. Your particular error messages > indicate that some program being executed at the remote shell's > startup of .profile or .cshrc (or via them) is trying to perform > a tgetent() call upon the stdin or stdout, but since those won't > be a tty(4) type path, the calls fail. > > Check your .profile or .cshrc and ensure that you're not attempting > to modify the stdin/out via stty(1). If you have such code in there, > use conditionals to only perform them when an interactive login is > detected. Thanks! The tput thing came from a central bashrc, I installed a couple of weeks ago. I'll remove the stty thing in it. > > I hope this helps. > > -scott > -- > Scott G. Akmentins-Taylor InterNet: staylor@mrynet.com > Cray Inc, Minneapolis, MN - USA taylors@cray.com > SV2/UNICOS Distribution Engineering > ----- Labak miris neka sarkans - Vienoti Latvijai! ----- -- Gunnar Flygt, Postmaster SR To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020719053824.B38474>