*** em-ls.el.~1.33.~ 2008-06-07 20:14:50.000000000 +0200 --- em-ls.el 2008-08-13 14:05:43.000000000 +0200 *************** *** 299,304 **** --- 299,306 ---- (let ((insert-func 'eshell-buffered-print) (error-func 'eshell-error) (flush-func 'eshell-flush)) + ;; In pipelines use the -1 switch. + (and eshell-in-pipeline-p (push "-1" args)) (eshell-do-ls args))) (put 'eshell/ls 'eshell-no-numeric-conversions t) *** esh-proc.el.~1.21.~ 2008-05-12 20:30:41.000000000 +0200 --- esh-proc.el 2008-08-13 14:20:38.000000000 +0200 *************** *** 249,260 **** proc decoding encoding changed) (cond ((fboundp 'start-process) ! (setq proc ! (apply 'start-process ! (file-name-nondirectory command) nil ! ;; `start-process' can't deal with relative ! ;; filenames ! (append (list (expand-file-name command)) args))) (eshell-record-process-object proc) (set-process-buffer proc (current-buffer)) (if (eshell-interactive-output-p) --- 249,262 ---- proc decoding encoding changed) (cond ((fboundp 'start-process) ! ;; Don't use a TTY for processes in a pipeline. ! (let ((process-connection-type (not eshell-in-pipeline-p))) ! (setq proc ! (apply 'start-process ! (file-name-nondirectory command) nil ! ;; `start-process' can't deal with relative ! ;; filenames ! (append (list (expand-file-name command)) args)))) (eshell-record-process-object proc) (set-process-buffer proc (current-buffer)) (if (eshell-interactive-output-p)