From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1E6A11381F3 for ; Thu, 3 Oct 2013 07:59:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43E66E0AE9; Thu, 3 Oct 2013 07:59:38 +0000 (UTC) Received: from vm.novsite.com (unknown [87.120.7.89]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B80DE0A64 for ; Thu, 3 Oct 2013 07:59:37 +0000 (UTC) Received: from gacer.netixen.com (unknown [151.237.113.189]) by vm.novsite.com (Postfix) with ESMTPSA id A7D3C5600B4 for ; Thu, 3 Oct 2013 10:59:33 +0300 (EEST) Date: Thu, 3 Oct 2013 10:59:32 +0300 From: Dragostin Yanev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Sloppy sterm screen update over ssh Message-ID: <20131003105932.52bd81e8@gacer.netixen.com> In-Reply-To: <20131002230651.GA29368@waltdnes.org> References: <20131001001012.GA13211@waltdnes.org> <20131002230651.GA29368@waltdnes.org> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 167e77d3-6d2a-447e-b80a-5fb1d32ba6e4 X-Archives-Hash: 23f4b4b7fa9387200c5ef4d788804edf On Wed, 2 Oct 2013 19:06:51 -0400 "Walter Dnes" wrote: > On Wed, Oct 02, 2013 at 11:33:19AM -0500, Paul Hartman wrote > > On Mon, Sep 30, 2013 at 7:10 PM, Walter Dnes > > wrote: > > > I've recently noticed when ssh'ing into another machine that > > > the xterm display doesn't fully update. I.e. there are "holes" > > > where an app updates over a previous screen. I've tried Google, > > > but any mention of "screen" is interpreted as the "screen" > > > utility. > > > > Hi, > > > > Are you running xterm over ssh (X11 forwarding) or are you running > > an ssh session inside of an xterm? If the latter I have experienced > > something similar when my TERM variable was not set correctly and > > things like Midnight Commander would not fill in the blue background > > (for example) or fail to blank the screen on updates. > > Another Midnight Commander user! Yes, I fire up an xterm locally, > and then ssh to another machine. I notice this especially with mc > and vim. Thanks for the pointer. Now that I know what I should be > looking for, a Google search indicates I should have... > > TERM="xterm" > > Is that correct? It seems to solve my problem. > Hi Walter, TERM="xterm" is a reasonable default if you are running xterm. You might loose color or unicode on some old machines. You can then try xterm-unicode, xterm-256color, rxvt, rxvt-unicode, etc or even better delve in to the terminfo database. The only rule is that terminfo on the remote machine has to have the TERM profile you have set. You can also set the TERM on the misbehaving machine(if it's a bug) or copy the profile from your terminfo database to the remote machine database and fix it that way.