Subject: re: bin/33207: progress(1) w/ stdin: useless progress bar
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-bugs
Date: 04/06/2006 21:20:02
The following reply was made to PR bin/33207; it has been noted by GNATS.

From: Hubert Feyrer <hubert@feyrer.de>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: re: bin/33207: progress(1) w/ stdin: useless progress bar 
Date: Thu, 6 Apr 2006 23:16:16 +0200 (CEST)

 On Fri, 7 Apr 2006, matthew green wrote:
 > why not just stat() the file fd and see if it works?  if you get
 > a valid size back print the progress bar, otherwise don't.
 
 I think that makes more sense than looking at some process group IDs (that 
 apparently don't work in very funky ways (in g4u).
 
 Do you have any idea on how to implement this? I could test patches...
 
 
   - Hubert