This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Lynx tries to use a weird "cp" copy program when downloading files.



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]