Bug 78905 - ncftpget displays progress bar when not on tty
Summary: ncftpget displays progress bar when not on tty
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: ncftp
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-12-03 11:09 UTC by Jonathan Kamens
Modified: 2007-04-18 16:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-12-04 17:46:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2002-12-03 11:09:36 UTC
I have a script which does an ncftpget in a cron job.  It just started blatting
progress bar crap into the output of the cron job.  It didn't used to do this --
presumably, ncftpget previously was smart enough to notice when it wasn't
running on a tty and suppress the progress bar, but this has been broken.  I'm
running ncftp-3.1.5-1.

Comment 1 Michael Lee Yohe 2002-12-04 17:46:29 UTC
I don't think this is a bug since there is an option to disable the progress bar
for ncftpget.  

$ ncftpget --help
NcFTPGet 3.1.3

<snip>
  -v/-V  Do (do not) use progress meters.

So, if you add the "-V" option to your cron job, you should not see the progress
meter stuff in your output.


Comment 2 Karsten Hopp 2002-12-04 20:02:56 UTC
A simple update of a package shouldn't break scripts if possible. 
The check for tty was disabled in 3.1.5-1. I've re-enabled it in  
3.1.5-2


Note You need to log in before you can comment on or make changes to this bug.