Subject: bin/1841: more(1) does not handle \r\n properly
To: None <gnats-bugs@gnats.netbsd.org>
From: Jason Downs <downsj@teeny.org>
List: netbsd-bugs
Date: 12/15/1995 07:09:01
>Number:         1841
>Category:       bin
>Synopsis:       more(1) does not handle \r\n properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 15 10:35:01 1995
>Last-Modified:
>Originator:     Jason Downs
>Organization:
Jason Downs
downsj@teeny.org  --> teeny.org: Free Software for a Free Internet <--
http://www.teeny.org/
>Release:        1.1
>Environment:
System: NetBSD threadway.teeny.org 1.1 NetBSD 1.1 (THREADWAY) #7: Wed Dec 13 13:53:19 PST 1995 downsj@threadway.teeny.org:/usr/src/sys/arch/i386/compile/THREADWAY i386


>Description:
	more(1) does not handle files with \r\n line termination correctly.
	It attempts to be `smart' and convert them to \n, but then apparently
	loses the proper offset within the file, and reads extra characters
	the next time it loads in a buffer of text.
>How-To-Repeat:
	Run more(1) on an MS-DOG style text file.
>Fix:
	Upgrade to a more recent version of less(1).
>Audit-Trail:
>Unformatted: