From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 04:38:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0BBB106564A for ; Sat, 9 Jul 2011 04:38:05 +0000 (UTC) (envelope-from david.krauser@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7A48FC22 for ; Sat, 9 Jul 2011 04:38:05 +0000 (UTC) Received: by yxl31 with SMTP id 31so1274116yxl.13 for ; Fri, 08 Jul 2011 21:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:x-x-sender:to:subject:message-id:user-agent:mime-version :content-type; bh=CudyYn3ce2zNQDc6VNKTicTLQjy7bt3VM5lEq5QXQwc=; b=ZZ7UEvPztu+aqAYhwAZWwKDhDrJ4oEzwlr5J64UOEySdztj5mfj38w/VcaOv+vpwY0 EAwRotLozgID2TCorwPosTAnSyXYJoHgGa/UQh4QAEKxvcDKPPn6MQ+QhxU8KCPXOpqM s7goWQIMi2ARsKTZ2F/Iip0CanGKiRukEn4Xo= Received: by 10.236.185.134 with SMTP id u6mr3347025yhm.76.1310184480592; Fri, 08 Jul 2011 21:08:00 -0700 (PDT) Received: from devio.us (devio.us [66.7.199.108]) by mx.google.com with ESMTPS id c69sm1622996yhm.43.2011.07.08.21.07.59 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jul 2011 21:08:00 -0700 (PDT) Date: Sat, 9 Jul 2011 00:07:43 -0400 (EDT) From: David Krauser X-X-Sender: davidkrauser@wolfman.devio.us To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: Color Spills Over From SSH Session X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2011 04:38:05 -0000 Hello everybody, I've tried to setup a kind of 'dedicated ssh client' using FreeBSD, and I'm having some issues with the terminal colors. I have a basic install of FreeBSD 8.2-RELEASE (I only had kernel-dev packages checked at installation) and I rebuilt the GENERIC kernel with the VESA and SC_PIXEL_MODE options enabled (for a high resolution terminal). Now here's the problem: when I ssh into another box and issue a command with colors (like vim's syntax hilighting or a colored ls) the primary color of the terminal will change. I'm often left with a crazy colored and hard to read bash prompt (all in the ssh session). When I exit the session back to FreeBSD, the colors persist. I have to use the command 'reset' to fix the issue. I believe my primary FreeBSD shell is csh (it's whatever the default is in FreeBSD) and I'm not sure if it can handle colors or if it has them enabled. I generally ssh into a bash shell. I'm really a newcomer with FreeBSD, and any help would be greatly appreciated. Thanks a bunch, David Krauser david.krauser@gmail.com