From vvc@kharkiv.net  Tue Feb 29 11:51:08 2000
Return-Path: <vvc@kharkiv.net>
Received: from uran.kharkiv.net (uran.kharkiv.net [194.44.156.30])
	by hub.freebsd.org (Postfix) with ESMTP id B4C1037BDB6
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Feb 2000 11:51:05 -0800 (PST)
	(envelope-from vvc@kharkiv.net)
Received: from localhost.kharkiv.net (hut.kharkiv.net [194.44.156.99])
	by uran.kharkiv.net (8.9.3/8.9.3/uran) with ESMTP id VAA20688
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Feb 2000 21:51:04 +0200 (EET)
	(envelope-from vvc@kharkiv.net)
Received: (from vvc@localhost)
	by localhost.kharkiv.net (8.9.3/8.9.3) id VAA00723;
	Tue, 29 Feb 2000 21:50:59 +0200 (EET)
	(envelope-from vvc)
Message-Id: <200002291950.VAA00723@localhost.kharkiv.net>
Date: Tue, 29 Feb 2000 21:50:59 +0200 (EET)
From: "Vadym V. Chepkov" <vvc@kharkiv.net>
Reply-To: vvc@kharkiv.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: write() error
X-Send-Pr-Version: 3.2

>Number:         17077
>Category:       bin
>Synopsis:       write() error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    yokota
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 29 12:00:00 PST 2000
>Closed-Date:    Fri Jul 20 06:57:54 PDT 2001
>Last-Modified:  Fri Jul 20 06:59:15 PDT 2001
>Originator:     Vadym V. Chepkov
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Kharkiv State Polytechnical University
>Environment:

>Description:

	Garbage output from standard tools cat/head/tail/...

>How-To-Repeat:

	When string contain TAB symbol (\t) and all string doesn't feet to 	one row of screen, the rest of string's symbols wrap on the same row. 
	Make file with one long string with TAB symbol and do 'cat this-file'
	This affect on CURRENT and STABLE branches

>Fix:

	


>Release-Note:
>Audit-Trail:

From: Daniel Hagan <dhagan@cs.vt.edu>
To: freebsd-gnats-submit@FreeBSD.org, vvc@kharkiv.net
Cc:  
Subject: Re: bin/17077: write() error
Date: Wed, 05 Apr 2000 21:39:13 -0400

 I couldn't recreate this on a 3.4-RELEASE system.  Do you have a test file
 that demo's this?
 
 Daniel
 
 
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Mon May 15 22:10:45 PDT 2000 
State-Changed-Why:  
Sorry, for this type of bug it's necessary to send a sample file 
showing the problem or we simply don't know where to start (I couldn't 
duplicate the problem). 

The write() syscall certainly works correctly and is not what caused 
you to see long lines that wrapped as-if they only had a r terminating 
character and no n terminator. 

From: Tim Vanderhoek <vanderh@ecf.utoronto.ca>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/17077
Date: Wed, 17 May 2000 18:49:37 -0400

 ----- Forwarded message from "Vadym V. Chepkov" <vvc@kharkiv.net> -----
 
 Date: Thu, 18 May 2000 00:36:35 +0300 (EEST)
 From: "Vadym V. Chepkov" <vvc@kharkiv.net>
 To: hoek@FreeBSD.org
 Cc: freebsd-bugs@FreeBSD.org
 Subject: Re:  Re: bin/17077
 X-Mailer: Pine
 
 Hello!
 
 >Sorry, for this type of bug it's necessary to send a sample file
 >showing the problem or we simply don't know where to start (I couldn't
 >duplicate the problem).
 >The write() syscall certainly works correctly and is not what caused
 >you to see long lines that wrapped as-if they only had a \r terminating
 >character and no \n terminator.
 
 I already send example in send-pr report.
 There is another example.txt in attachment. 
 
 You could duplicate problem just exec command 'cat example.txt' and 'more
 example.txt' and see difference
 
 I also send you ALL my `env` in env.txt if it will be usefull.
 
 Kind regards,
 Vadim V. Chepkov
 
 PWD=/usr/home/vvc
 PAGER=less
 HOSTNAME=uran.kharkiv.net
 BLOCKSIZE=K
 USER=vvc
 MACHTYPE=i386-pc-freebsd3.1
 MAIL=/var/mail/vvc
 EDITOR=vi
 SSH_CLIENT=194.44.156.99 1006 22
 LOGNAME=vvc
 SHLVL=1
 SHELL=/usr/local/bin/bash
 HOSTTYPE=i386
 OSTYPE=freebsd3.1
 TERM=cons25
 HOME=/usr/home/vvc
 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/home/vvc/bin
 SSH_TTY=/dev/ttyp1
 _=/usr/bin/env
 
 hub.freebsd.org!freebsd.org!owner-freebsd-questions	LOCAL!PROGRAMM	1797	00:14:49 18.05.00
 
 
 ----- End forwarded message -----
 
 
 -- 
 Signature withheld by request of author.
 

From: Tim Vanderhoek <vanderh@ecf.utoronto.ca>
To: "Vadym V. Chepkov" <vvc@kharkiv.net>
Cc:  
Subject: Re: Re: bin/17077
Date: Wed, 17 May 2000 18:52:31 -0400

 On Thu, May 18, 2000 at 12:36:35AM +0300, Vadym V. Chepkov wrote:
 > 
 > I already send example in send-pr report.
 > There is another example.txt in attachment. 
 
 Sorry; it must have gotten lost.
 
 However, the example you give me here does indeed show the problem.
 
 I'll look into it.
 
 
 -- 
 Signature withheld by request of author.
 
State-Changed-From-To: closed->open 
State-Changed-By: hoek 
State-Changed-When: Sat May 20 00:31:20 PDT 2000 
State-Changed-Why:  
Submitter has submitted a sample file demonstrating problem. 


Responsible-Changed-From-To: freebsd-bugs->yokota 
Responsible-Changed-By: hoek 
Responsible-Changed-When: Sat May 20 00:31:20 PDT 2000 
Responsible-Changed-Why:  
My first guess says that this is a syscons problem. 

If you think I'm wrong, say so, and I'll re-assign the PR as per 
my second guess. 
State-Changed-From-To: open->closed 
State-Changed-By: yokota 
State-Changed-When: Fri Jul 20 06:57:54 PDT 2001 
State-Changed-Why:  
Fixed by sctermvar.h rev 1.2 and 1.1.2.1 by ache. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17077 
>Unformatted:
