Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504 - Flag to avoid the annoying "Press any key to exit.." prompt in prozilla
Summary: Flag to avoid the annoying "Press any key to exit.." prompt in prozilla
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Geert Bevin
URL: http://www.numlock.ch
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-02 15:52 UTC by Daniel Mettler
Modified: 2011-10-30 22:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Mettler 2002-02-02 15:52:38 UTC
Problem:
The "Press any key to exit.." user prompt in prozilla really hurts as it 
effectively prevents prozilla from being suitable for portage's 
file-batch-downloading. First I switched back to wget, then i wrote a tiny 
quick'n'dirty patch for prozilla which disabled this useless interactivity. 

Solution:
Now I have taken a closer look at prozilla's sources and just found out that 
there *already is* a command line option which disables this prompt. The 
option is "--no-getch". "--no-getch" makes prozilla to just print the error to 
stdout and exit instead of waiting for the user to press a key. Thus i would 
strongly suggest to change the default fetchcommand for prozilla in 
/etc/make.globals to:

FETCHCOMMAND="/usr/bin/proz --no-getch -s \${x} -P \${DISTDIR}"
Comment 1 Geert Bevin 2002-02-04 13:06:04 UTC
fixed in cvs