From owner-freebsd-stable@FreeBSD.ORG Sat Mar 31 02:02:30 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DC9E106566C for ; Sat, 31 Mar 2012 02:02:30 +0000 (UTC) (envelope-from matt.thyer@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E97678FC12 for ; Sat, 31 Mar 2012 02:02:29 +0000 (UTC) Received: by wern13 with SMTP id n13so897083wer.13 for ; Fri, 30 Mar 2012 19:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tk1JsGpRg2m4yqHCThWjQ/ey0gVebZQ+yGK78lnppyk=; b=pfRaom17SuSrbXxO+7wjjWXwiQYgmD9Xjia4O0YifD3MTHrzVEfWjdOB5XnKSjsI7C cvTmGylt8fl5q913yVGNKd7/O1HUwdAKWiGYxVilRmJxnedbUJdv2f+vtb2NAa7KPfoS c6wc1KBLQ0YB9N4BF668Xs3yrjXK49f/hzQ0O1h/7TqJCTW7rUolRNQMmHEhX+eQsFZ/ /GZ+01qbZV25wagy5/rDYgx0cPL+cAjALKM1rpDlQERK+cVakB0jKMTmKEF4B2kPgLsk 7vhCLStKaqXZl38TixgKpvVKRkEoDAhN1QUQzuHyodYAS5LHEhJjZe03q1YIr+1wd8Qi 4Zyw== MIME-Version: 1.0 Received: by 10.180.20.47 with SMTP id k15mr1954389wie.19.1333159348544; Fri, 30 Mar 2012 19:02:28 -0700 (PDT) Received: by 10.216.190.219 with HTTP; Fri, 30 Mar 2012 19:02:28 -0700 (PDT) Received: by 10.216.190.219 with HTTP; Fri, 30 Mar 2012 19:02:28 -0700 (PDT) In-Reply-To: <4F75FC5E.5020303@gmail.com> References: <4F735CEC.5060101@gmail.com> <4F75FC5E.5020303@gmail.com> Date: Sat, 31 Mar 2012 12:32:28 +1030 Message-ID: From: Matt Thyer To: Jim Bryant Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: ESCape codes displayed instead of processed in pager X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2012 02:02:30 -0000 On Mar 31, 2012 5:02 AM, "Jim Bryant" @ gmail.com > wrote: > > Matt Thyer wrote: > >> >> On Mar 29, 2012 5:18 AM, "Jim Bryant" @ gmail.com @ gmail.com >> wrote: >> > >> > Ever since I have upgraded to 9-stable, I have noticed that the manpages seem to be munged up with displayed instead of processed ESCape codes. >> >> I believe that this is due to the terminal type of the console changing from "cons25" to "xterm". If you fix your /etc/ttys to reflect this things should be OK. >> > 1:27:57pm argus(19): tty > /dev/pts/7 > 1:28:03pm argus(20): setenv TERM xterm > 1:28:05pm argus(21): man man > > MAN(1) FreeBSD General Commands Manual MAN(1) > > ESC[1mNAMEESC[0m > ESC[1mman ESC[22m-- display online manual documentation pages > > same thing going on. that's after switching every vty and the console to xterm in /etc/ttys as well. > > i'm kinda lost on this one. i have determined that somehow, it's the pager... hang on a sec... lemme try vi. > > vi seems to be working properly... it's not the termcap/terminfo... the only thing causing this seems to be more and less, both. > > when i pipe man into cat, everything gets properly interpreted by the tty/vty/pty, when i use the pager, i get this crap....argh.. > Some suggestions: Test with a clean environment (most easily done by creating a new user account). If that doesn't fix it then you have a problem with your upgrade that may be fixed by mergemaster. You may need to back up your data and do a clean install.