From owner-freebsd-bugs Thu Oct 10 15:00:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA19401 for bugs-outgoing; Thu, 10 Oct 1996 15:00:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA19364; Thu, 10 Oct 1996 15:00:03 -0700 (PDT) Resent-Date: Thu, 10 Oct 1996 15:00:03 -0700 (PDT) Resent-Message-Id: <199610102200.PAA19364@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, archie@whistle.com Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA19112 for ; Thu, 10 Oct 1996 14:52:16 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id OAA08894 for ; Thu, 10 Oct 1996 14:51:39 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma008890; Thu Oct 10 14:51:18 1996 Received: (from archie@localhost) by bubba.whistle.com (8.7.5/8.6.12) id OAA13534; Thu, 10 Oct 1996 14:51:18 -0700 (PDT) Message-Id: <199610102151.OAA13534@bubba.whistle.com> Date: Thu, 10 Oct 1996 14:51:18 -0700 (PDT) From: Archie Cobbs Reply-To: archie@whistle.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1755: more(1) generates garbage at end of file output Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1755 >Category: bin >Synopsis: more(1) generates garbage at end of file output >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 10 15:00:02 PDT 1996 >Last-Modified: >Originator: Archie Cobbs >Organization: Whistle Communications, Inc. >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: FreeBSD-2.2960801-SNAP >Description: Create a file "foo" with the following contents: 0000000: 73 6f 66 74 77 61 72 65 0d 0a 69 6e 74 65 72 6e software..intern 0000010: 61 6c 0d 0a 70 75 62 6c 69 63 0d 0a al..public.. Now if you say "more foo" you get extra garbage at the end of the output: $ cat foo software internal public $ more foo software internal public c $ send-pr Notice the carriage returns -- this seems to be what confuses more(1). >How-To-Repeat: Fully repeatable as described above >Fix: Use less(1) >Audit-Trail: >Unformatted: