Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <003001c09b2b$4a448f40$275c100a@actfs.co.uk> From: "Malcolm Boekhoff" To: "Lynx Developer News Group" , "Cygwin News Group" Subject: Lynx tries to use a weird "cp" copy program when downloading files. Date: Tue, 20 Feb 2001 10:52:59 -0000 Problem: -------- I can't get lynx to download anything using the default "save to disk" option. Scenario: --------- If I type "lynx http://www.cygwin.com/setup.exe" and then use the default "save to disk" option, the file appears to get downloaded, but then Lynx tries to use a weird "cp" copy program to copy the temporary file to "setup.exe". The copy program it is trying to spawn appears to be: /cygnus/CYGWIN~1/H-I586~1/bin/cp and obviously, I don't have this path on my system. The status line shows: LYNXDOWNLOAD://Method=-1/File=/tmp/L224-1TMP.bin/SugFile=/tmp/setup.exe when the "Download option" numbered [1] is selected. Question: --------- Is there a way to tell lynx to use "/usr/bin/cp"? Is there a way to stop lynx looking for stuff with the weird path "/cygnus/CYGWIN~1/H-I586~1/bin"? System Information ------------------ I am using Cygwin (CYGWIN_NT-4.0 USERNAME 1.1.8(0.34/3/2) 2001-01-31 10:08 i686 unknown) on NT4 and I downloaded lynx from the link on the http://www.cygwin.com main page. Cygnus Win95/NT Configuration Diagnostics Current System Time: Tue Feb 20 09:56:22 2001 WinNT Ver 4.0 build 1381 Service Pack 4 CYGWIN = `ntsec case:ignorecase' Cygwin DLL version info: dll major: 1001 dll minor: 8 dll epoch: 19 dll bad signal mask: 19005 dll old termios: 5 dll malloc env: 28 api major: 0 api minor: 34 shared data: 3 dll identifier: cygwin1 mount registry: 2 cygnus registry name: Cygnus Solutions cygwin registry name: Cygwin program options name: Program Options cygwin mount registry name: mounts v2 cygdrive flags: cygdrive flags cygdrive prefix: cygdrive prefix cygdrive default prefix: build date: Wed Jan 31 10:08:38 EST 2001 shared id: cygwin1S3 Log file: --------- The (relevant) output from the Cygwin "strace" utility is as follows, if you search it for "setup.exe" you will find the relevant bits: ... 486 210519873 [main] lynx 224 spawn_guts: spawn_guts null_app_name 0 (d:\cygwin\bin\sh.exe, d:\cygwin\bin\sh.exe -c "/cygnus/CYGWIN~1/H-I586~1/bin/cp /tmp/L224-1TMP.bin /tmp/setup.exe") 3080 210522953 [main] lynx 224 spawn_guts: 200 = spawn_guts (d:\cygwin\bin\sh.exe, d:\cygwin\bin\sh.exe -c "/cygnus/CYGWIN~1/H-I586~1/bin/cp /tmp/L224-1TMP.bin /tmp/setup.exe") ... -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple