Kai Grossjohann wrote ("Re: tramp (2.0.36);   /bin/ls: illegal option -- h"):
>[EMAIL PROTECTED] writes:
>
>> I just tried to get remote listing by
>> /flora01.SLAC.stanford.edu:~
>> And i got this bug.
>
>Hm.  I just checked that Tramp is not sending the -h option to ls.  So
>I'm guessing it comes from somewhere else.
>
The problems was this. I use ls-lisp

(require 'ls-lisp)
(setq ls-lisp-use-insert-directory-program nil  ; Should be nil by default
      ls-lisp-verbosity nil                     ; Show user-group information
      ls-lisp-dirs-first t)                     ; Dirs then files
(setq dired-listing-switches "-asihFq")         ; Pass on ls options

This works ok on linux machines but on SUNOS there
is no option like -h for ls. flora01.SLAC.stanford.edu is
a sun machien leading to this problem. 

Sorry for the trouble,

Regards
Kaustuv

>You ought to have a *tramp/foo* and also a *debug tramp/foo* buffer.
>Can you send them to me?  (Perhaps remove sensitive information.)
>
>If you don't have both of those buffers, (setq tramp-debug-buffer t)
>and invoke Tramp again.
>
>Kai

-- 
*********************************************************************
 Residence:                Office:      
                                      
 Kaustuv,                  Kaustuv,
 668 College Avenue,       Sci. Computing & Computational Mathematics, 
 Palo Alto,                Gates Building 2B, Stanford University,          
 CA 94306                  CA 94305-9025,
 USA.                      USA.
 
                   Cell: (650) 804-6465            
                 Emails: [EMAIL PROTECTED]
                         [EMAIL PROTECTED]
**********************************************************************



_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to