Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504

Summary: Flag to avoid the annoying "Press any key to exit.." prompt in prozilla
Product: Portage Development Reporter: Daniel Mettler <mettlerd>
Component: UnclassifiedAssignee: Geert Bevin <gbevin>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.numlock.ch
Whiteboard:
Package list:
Runtime testing required: ---

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