[Surfraw-devel] Bug#484871: surfraw-update-path breaks tcsh

John Gruenenfelder johng at as.arizona.edu
Sat Jun 7 05:58:20 UTC 2008


Package: surfraw
Version: 2.2.1-2
Severity: normal

Running "surfraw-update-path -add -sys -all" adds lines to /etc/csh.cshrc to
put surfraw's tools into the default PATH.  However, the syntax it uses breaks
the PATH for tcsh users and they are unable to run any commands.

Specifically, it inserts:

set path=($PATH /usr/lib/surfraw)

If, instead, the following were used:

setenv PATH="${PATH}:/usr/lib/surfraw"

it would accomplish the same thing and does not break tcsh's PATH.  I do not
have regular csh installed so I do not know if the original syntax also causes
problems with it.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages surfraw depends on:
ii  iceweasel [www-browser]     2.0.0.14-2   lightweight web browser based on M
ii  links [www-browser]         2.1pre36-1   Web browser running in text mode
ii  lynx [www-browser]          2.8.6-2      Text-mode WWW Browser
ii  w3m [www-browser]           0.5.1-5.1+b1 WWW browsable pager with excellent

Versions of packages surfraw recommends:
ii  links                       2.1pre36-1   Web browser running in text mode
ii  surfraw-extra               2.2.1-2      extra surfraw elvi with heavy depe
ii  w3m                         0.5.1-5.1+b1 WWW browsable pager with excellent

-- no debconf information

-- 
--John Gruenenfelder    Research Assistant, UMass Amherst student
                        Systems Manager, MKS Imaging Technology, LLC.
Try Weasel Reader for PalmOS  --  http://weaselreader.org
"This is the most fun I've had without being drenched in the blood
of my enemies!"
        --Sam of Sam & Max





More information about the Surfraw-devel mailing list