From owner-freebsd-stable@FreeBSD.ORG Wed Mar 28 18:48:09 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 15280106566B for ; Wed, 28 Mar 2012 18:48:09 +0000 (UTC) (envelope-from kc5vdj.freebsd@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC128FC0C for ; Wed, 28 Mar 2012 18:48:08 +0000 (UTC) Received: by iahk25 with SMTP id k25so2381108iah.13 for ; Wed, 28 Mar 2012 11:48:07 -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:subject :content-type:content-transfer-encoding; bh=jaEff0LIAPVUlGiJingU/dNJfwFlVh+/byg0JTKJVgU=; b=haaEHt9I/a49Hm8obTBlNwdacxgjomaBNl3LMVcfzXSY0twb9Mxr56fCyIyz3KC2cF f1u+/pmXK8no79yQRu1EawRis4MkkvcaIJDoV7skcFNXRTvUti0PU9qNV2uDBEqbOcSr 8GdS8ckCF85lFYAOonaS3f0/hrdPEET/o383mJx2Z0uHh5pZaZQ0FVYroqkmTk0dvOTs T2HgwqAmAW+Xvh8aPZFWwPcFqA3v9jPPdzy7eo2FaVZbTEC2AMiLJDW7GUz7SAVt1i4Z RH0h4YxBkMuADMdD6f4S5MxElSAF6+NVk9U67ENAdG99hBorcajRRxI7TQwk/T/0RlBS Xqiw== Received: by 10.50.202.69 with SMTP id kg5mr225792igc.7.1332960487743; Wed, 28 Mar 2012 11:48:07 -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 k8sm3749015igz.4.2012.03.28.11.48.06 (version=SSLv3 cipher=OTHER); Wed, 28 Mar 2012 11:48:07 -0700 (PDT) Message-ID: <4F735CEC.5060101@gmail.com> Date: Wed, 28 Mar 2012 13:48:12 -0500 From: Jim Bryant User-Agent: Thunderbird 2.0.0.24 (X11/20100911) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Wed, 28 Mar 2012 18:48:09 -0000 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. an example: 1:41:05pm argus(8): man man MAN(1) FreeBSD General Commands Manual MAN(1) ESC[1mNAMEESC[0m ESC[1mman ESC[22m-- display online manual documentation pages ESC[1mSYNOPSISESC[0m ESC[1mman ESC[22m[ESC[1m-adhoESC[22m] [ESC[1m-t ESC[22m| ESC[1m-wESC[22m] [ESC[1m-M ESC[4mESC[22mmanpathESC[24m] [ESC[1m-P ESC[4mESC[22mpagerESC[24m] [ESC[1m-S ESC[4mESC[22mmansectESC[24m] [ESC[1m-m ESC[4mESC[22marchESC[24m[:ESC[4mmachineESC[24m]] [ESC[1m-p ESC[22m[ESC[4meprtvESC[24m]] [ESC[4mmansectESC[24m] ESC[4mpageESC[24m ESC[4m...ESC[0m ESC[1mman -f ESC[4mESC[22mkeywordESC[24m ESC[4m...ESC[0m ESC[1mman -k ESC[4mESC[22mkeywordESC[24m ESC[4m...ESC[0m ESC[1mDESCRIPTIONESC[0m The ESC[1mman ESC[22mutility finds and displays online manual documentation pages. If ESC[4mmansectESC[24m is provided, ESC[1mman ESC[22mrestricts the search to the specific section of the manual. I have actually ruled out nroff -man, and have determined that this has to do with /usr/bin/more and /usr/bin/less. example: 1:44:45pm argus(9): man man | cat MAN(1) FreeBSD General Commands Manual MAN(1) NAME man -- display online manual documentation pages SYNOPSIS man [-adho] [-t | -w] [-M manpath] [-P pager] [-S mansect] [-m arch[:machine]] [-p [eprtv]] [mansect] page ... man -f keyword ... man -k keyword ... DESCRIPTION The man utility finds and displays online manual documentation pages. If mansect is provided, man restricts the search to the specific section of the manual. So far as I can tell, it is in both more and less. if it relies on termcap, then the issue is bigger, because it does the same thing in syscons as it does an xterm. My bottom line question is what changed, and how do I change my end to make things work as expected again? Honestly, this is a real pain in the ass when I need a manual page. jim