From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 19:05:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A67A16A41C for ; Wed, 22 Jun 2005 19:05:58 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6D9B43D49 for ; Wed, 22 Jun 2005 19:05:57 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/8.12.11/smtpout15/MantshX 4.0) with ESMTP id j5MJ5vdX027708; Wed, 22 Jun 2005 12:05:57 -0700 (PDT) Received: from [10.1.1.153] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0) by mac.com (Xserve/smtpin02/MantshX 4.0) with ESMTP id j5MJ5tSw004911; Wed, 22 Jun 2005 12:05:56 -0700 (PDT) In-Reply-To: <200506221452.08729.FreeBSD@InsightBB.com> References: <200506221452.08729.FreeBSD@InsightBB.com> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 22 Jun 2005 15:06:06 -0400 To: Steven Friedrich X-Mailer: Apple Mail (2.730) Cc: freebsd-questions@freebsd.org Subject: Re: syscons features 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: Wed, 22 Jun 2005 19:05:58 -0000 On Jun 22, 2005, at 2:52 PM, Steven Friedrich wrote: > Can anyone explain to me the mechanism behind the following: > > If I echo B^HB | more > > I get a bold B. more is somehow activating? a feature of syscons > (or the vga > driver). > > Are there any other utilities like more that do this? Is this > behavior > documented in a man page ? Yes. From "man less" (your more is probably really less): -U or --UNDERLINE-SPECIAL Causes backspaces, tabs and carriage returns to be treated as control characters; that is, they are handled as specified by the -r option. By default, if neither -u nor -U is given, backspaces which appear adjacent to an underscore character are treated spe- cially: the underlined text is displayed using the terminal's hardware underlining capability. Also, backspaces which appear between two identical characters are treated specially: the overstruck text is printed using the terminal's hardware bold- face capability. Other backspaces are deleted, along with the preceding character. Carriage returns immediately followed by a newline are deleted. other carriage returns are handled as specified by the -r option. Text which is overstruck or under- lined can be searched for if neither -u nor -U is in effect. This is using the $TERM setting via termcap or terminfo. -- -Chuck