From owner-freebsd-stable Thu Jul 18 20:38:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9590637B400 for ; Thu, 18 Jul 2002 20:38:27 -0700 (PDT) Received: from dart.sr.se (dart.sr.se [134.25.0.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CD1143E31 for ; Thu, 18 Jul 2002 20:38:26 -0700 (PDT) (envelope-from gunnar@oldie.sr.se) Received: from honken.sr.se (honken.sr.se [134.25.128.27]) by dart.sr.se (8.11.6/8.11.6) with ESMTP id g6J3cPU49676; Fri, 19 Jul 2002 05:38:25 +0200 (CEST) (envelope-from gunnar@oldie.sr.se) Received: from oldie.sr.se (oldie [134.25.200.100]) by honken.sr.se (8.12.3/8.12.3) with ESMTP id g6J3cPSi064390; Fri, 19 Jul 2002 05:38:25 +0200 (CEST) (envelope-from gunnar@oldie.sr.se) Received: from oldie.sr.se (localhost [127.0.0.1]) by oldie.sr.se (8.12.5/8.12.5) with ESMTP id g6J3cO4g040469; Fri, 19 Jul 2002 05:38:24 +0200 (CEST) (envelope-from gunnar@oldie.sr.se) Received: (from gunnar@localhost) by oldie.sr.se (8.12.5/8.12.5/Submit) id g6J3cOTg040468; Fri, 19 Jul 2002 05:38:24 +0200 (CEST) Date: Fri, 19 Jul 2002 05:38:24 +0200 From: Gunnar Flygt To: "Scott G. Akmentins-Taylor" Cc: FreeBSD Stable Subject: Re: A small annoyance Message-ID: <20020719053824.B38474@sr.se> Reply-To: Gunnar Flygt Mail-Followup-To: Gunnar Flygt , "Scott G. Akmentins-Taylor" , FreeBSD Stable References: <200207190302.g6J32e7P025223@mrynet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200207190302.g6J32e7P025223@mrynet.com>; from staylor@mrynet.com on Thu, Jul 18, 2002 at 10:02:40PM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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