From owner-freebsd-stable@FreeBSD.ORG Fri Mar 30 18:32:58 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 B2AEB106566B for ; Fri, 30 Mar 2012 18:32:58 +0000 (UTC) (envelope-from kc5vdj.freebsd@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 6A15F8FC0C for ; Fri, 30 Mar 2012 18:32:58 +0000 (UTC) Received: by yenl9 with SMTP id l9so658330yen.13 for ; Fri, 30 Mar 2012 11:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=kkFX9SZGhnrBQEYvjXwxAH0+4OC2KrEZG7ziEgqFEeA=; b=Zk4vRy2ZGRhuPlInvT+aur5DwWykCPD481DGUkFGlXPRCdI+azbSrxvUMUlSyLCTHv qziR6RurK4ioEopmWYLBINm7e+x8mNv0c6k8cMlC6XB0A5TRmVu9scpEmrMgv/Vy2wUm V3vrXtcT55mHLceTcErrhwZcjx5OZhWEFSHu/U9/t0qXQyHfpxLyNX3jVoigH3b5DqhY P/R+6XOLJmtrHFoQChn7mX/xijEkyL01b+hlVDl6iO4JjZdUpOcdYF4t4jVVkEeM6xd0 KBTF39hCLHP2kRGpF7WZsahsp8iwCt78kZBa0GaLvrM29MXXaf+EIeDD1ZzkuQxt+iKH TMwQ== Received: by 10.50.155.226 with SMTP id vz2mr138804igb.39.1333132377827; Fri, 30 Mar 2012 11:32:57 -0700 (PDT) Received: from argus.electron-tube.net (173-28-218-168.client.mchsi.com. [173.28.218.168]) by mx.google.com with ESMTPS id gf4sm2149635igb.14.2012.03.30.11.32.56 (version=SSLv3 cipher=OTHER); Fri, 30 Mar 2012 11:32:56 -0700 (PDT) Message-ID: <4F75FC5E.5020303@gmail.com> Date: Fri, 30 Mar 2012 13:33:02 -0500 From: Jim Bryant User-Agent: Thunderbird 2.0.0.24 (X11/20100911) MIME-Version: 1.0 To: Matt Thyer References: <4F735CEC.5060101@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Fri, 30 Mar 2012 18:32:58 -0000 Matt Thyer wrote: > > On Mar 29, 2012 5:18 AM, "Jim Bryant" > 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..