From owner-freebsd-ports@FreeBSD.ORG Fri Jul 23 19:43:34 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69E531065670 for ; Fri, 23 Jul 2010 19:43:34 +0000 (UTC) (envelope-from jktrigg@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id D69548FC13 for ; Fri, 23 Jul 2010 19:43:33 +0000 (UTC) Received: by qwk3 with SMTP id 3so457445qwk.13 for ; Fri, 23 Jul 2010 12:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=TZ0lea+wmNA8VGKqeD42xF1UhITG6pIFgsXbeBLTTLs=; b=M0wQounrMgsDwDK4faVAcgGkMxAkNgznpx1m3EkYL1cldLcEVIObh2J6VZiI5rnPEQ CKFKgpEFwVY85UumFYOLUWra+9lIPuBvdr1iAefEIA2D1ccbbvf8ZYnjQViYE+/8j4DT jiNYPA+K3blsWJRYY93KXhBsS73dpAcP0+3mM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=IqgrGDkxf7mJW0YBcM07s6PRUGTTMC6hbl8yYEUZvzdTSaRW7YaStmYylt3GpdnXbR jkT+kJZaKj5GtzWun2AopJsTO12yFv+Fhuse7COgF62qzyB8B40O7YBC2ornaz34onpg duOez623lhBdPJrjzA21vuU0bWj8+k+7NcHVg= MIME-Version: 1.0 Received: by 10.224.79.158 with SMTP id p30mr2909777qak.113.1279914212623; Fri, 23 Jul 2010 12:43:32 -0700 (PDT) Sender: jktrigg@gmail.com Received: by 10.229.44.211 with HTTP; Fri, 23 Jul 2010 12:43:32 -0700 (PDT) In-Reply-To: <20100723192950.GC17210@albert.catwhisker.org> References: <20100723192950.GC17210@albert.catwhisker.org> Date: Fri, 23 Jul 2010 15:43:32 -0400 X-Google-Sender-Auth: jT9jLdkZprAKfKWtI3_iOHFigg0 Message-ID: From: Jim Trigg To: freebsd-ports-mailinglist Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Problems with sysutils/screen (GNU Screen) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2010 19:43:34 -0000 On Fri, Jul 23, 2010 at 3:29 PM, David Wolfskill wro= te: > On Fri, Jul 23, 2010 at 03:23:41PM -0400, Jim Trigg wrote: >> I've been having problems with GNU Screen on FreeBSD 8.x. =A0First, the >> TERMCAP environment variable as automatically set by screen causes >> things not to work. (vi says "cannot open terminal database", mutt >> says "no terminal database", etc.) =A0Second, when I put `eval tset -s` >> in .bashrc to reset the TERMCAP, curses-based programs work from >> command lines in open windows but don't work through "screen >> {command}" to launch them in a separate window -- the window flashes >> open and back closed. =A0/usr/local/bin/bash is my login shell. =A0This >> all still works in FreeBSD 7. >> >> Any suggestions? > > Is screen built under 8.x or 7.x? 8.x. (I have one server running 7.x and another running 8.x.) Also, to the other responder, "unset TERMCAP" in ~/.profile gives the same behavior as "eval `tset -s`". Thanks, Jim