From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 16 12:22:18 2016 Received: (at submit) by debbugs.gnu.org; 16 Mar 2016 16:22:19 +0000 Received: from localhost ([127.0.0.1]:50371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agEDC-0002zJ-8n for submit@debbugs.gnu.org; Wed, 16 Mar 2016 12:22:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agEDB-0002z7-73 for submit@debbugs.gnu.org; Wed, 16 Mar 2016 12:22:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agED3-0001AN-Oo for submit@debbugs.gnu.org; Wed, 16 Mar 2016 12:22:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,UNPARSEABLE_RELAY autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agED3-0001AJ-LS for submit@debbugs.gnu.org; Wed, 16 Mar 2016 12:22:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agED1-0004GH-9B for bug-gnu-emacs@gnu.org; Wed, 16 Mar 2016 12:22:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agECx-00019P-T5 for bug-gnu-emacs@gnu.org; Wed, 16 Mar 2016 12:22:07 -0400 Received: from mx1.riseup.net ([198.252.153.129]:55637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agECx-000199-KN for bug-gnu-emacs@gnu.org; Wed, 16 Mar 2016 12:22:03 -0400 Received: from cotinga.riseup.net (unknown [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id F3ECE1A26AD for ; Wed, 16 Mar 2016 16:21:59 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: wgreenhouse) with ESMTPSA id 94B3B402B3 From: William G. Gardella To: bug-gnu-emacs@gnu.org Subject: 25.0.91; Eshell misinterprets TRAMP multi-hop paths as pipes Date: Wed, 16 Mar 2016 16:21:54 +0000 Message-ID: <87bn6es89p.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 0.99 at mx1.riseup.net X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Steps to reproduce: 1. M-x eshell 2. Type a TRAMP path that makes an ad-hoc multi-hop connection, such as: cd /sshx:user@host|sudo:root@host: 3. Eshell responds "sudo:root@host:: command not found" 4. Type the same TRAMP path, but wrapped in quotes: cd "/sshx:user@host|sudo:root@host:" 5. Eshell successfully navigates to the path. It seems that eshell too eagerly notices the pipe character and assumes that it's reading a piped command line, rather than first noticing that the character is inside a TRAMP path. In GNU Emacs 25.0.91.1 (x86_64-slackware-linux-gnu) of 2016-02-16 built on eris Windowing system distributor 'The X.Org Foundation', version 11.0.11403000 Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --localstatedir=3D/var --program-prefix=3D --program-suffix=3D --mandir=3D/usr/man --infodir=3D/usr/info --without-gconf --without-gsettings --with-x --with-x-toolkit=3Dno --build=3Dx86_64-slackware-linux 'CFLAGS=3D-O2 -fPIC'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB X11 Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dexim locale-coding-system: utf-8-unix Major mode: ERC Minor modes in effect: erc-services-mode: t erc-autoaway-mode: t xterm-mouse-mode: t winner-mode: t type-break-mode: t magit-wip-before-change-mode: t magit-wip-after-apply-mode: t magit-wip-after-save-mode: t diff-auto-refine-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t async-bytecomp-package-mode: t electric-pair-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-match-mode: t erc-netsplit-mode: t erc-hl-nicks-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-keep-place-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t pdf-occur-global-minor-mode: t display-time-mode: t savehist-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t transient-mark-mode: t Recent messages: Logging in as `wgreenhouse'... Logging in without password Connecting to 127.0.0.1:9999...=20 Type "q" in help window to restore previous buffer. Logging in as =E2=80=98wgreenhouse=E2=80=99... done Type "q" in help window to restore previous buffer. Connecting to 127.0.0.1:9999... ...done Logging in as `wgreenhouse'... Logging in without password Logging in as =E2=80=98wgreenhouse=E2=80=99... done Load-path shadows: ~/git/org-mode/contrib/lisp/org-mime hides /home/wgg/.emacs.d/elpa/org-mime= -20120112/org-mime /usr/share/emacs/site-lisp/t-mouse hides /usr/share/emacs/25.0.91/lisp/t-mo= use ~/git/org-mode/lisp/ob-screen hides /usr/share/emacs/25.0.91/lisp/org/ob-sc= reen ~/git/org-mode/lisp/ob-C hides /usr/share/emacs/25.0.91/lisp/org/ob-C ~/git/org-mode/lisp/org-capture hides /usr/share/emacs/25.0.91/lisp/org/org= -capture ~/git/org-mode/lisp/org-w3m hides /usr/share/emacs/25.0.91/lisp/org/org-w3m ~/git/org-mode/lisp/org-eshell hides /usr/share/emacs/25.0.91/lisp/org/org-= eshell ~/git/org-mode/lisp/org-clock hides /usr/share/emacs/25.0.91/lisp/org/org-c= lock ~/git/org-mode/lisp/org-gnus hides /usr/share/emacs/25.0.91/lisp/org/org-gn= us ~/git/org-mode/lisp/org-indent hides /usr/share/emacs/25.0.91/lisp/org/org-= indent ~/git/org-mode/lisp/ox-texinfo hides /usr/share/emacs/25.0.91/lisp/org/ox-t= exinfo ~/git/org-mode/lisp/org-macs hides /usr/share/emacs/25.0.91/lisp/org/org-ma= cs ~/git/org-mode/lisp/ob-java hides /usr/share/emacs/25.0.91/lisp/org/ob-java ~/git/org-mode/lisp/ox-ascii hides /usr/share/emacs/25.0.91/lisp/org/ox-asc= ii ~/git/org-mode/lisp/ob-octave hides /usr/share/emacs/25.0.91/lisp/org/ob-oc= tave ~/git/org-mode/lisp/org-bbdb hides /usr/share/emacs/25.0.91/lisp/org/org-bb= db ~/git/org-mode/lisp/ob-latex hides /usr/share/emacs/25.0.91/lisp/org/ob-lat= ex ~/git/org-mode/lisp/org-plot hides /usr/share/emacs/25.0.91/lisp/org/org-pl= ot ~/git/org-mode/lisp/ox-man hides /usr/share/emacs/25.0.91/lisp/org/ox-man ~/git/org-mode/lisp/org-id hides /usr/share/emacs/25.0.91/lisp/org/org-id ~/git/org-mode/lisp/ob-sass hides /usr/share/emacs/25.0.91/lisp/org/ob-sass ~/git/org-mode/lisp/org-datetree hides /usr/share/emacs/25.0.91/lisp/org/or= g-datetree ~/git/org-mode/lisp/ox hides /usr/share/emacs/25.0.91/lisp/org/ox ~/git/org-mode/lisp/ob-org hides /usr/share/emacs/25.0.91/lisp/org/ob-org ~/git/org-mode/lisp/org-timer hides /usr/share/emacs/25.0.91/lisp/org/org-t= imer ~/git/org-mode/lisp/org-attach hides /usr/share/emacs/25.0.91/lisp/org/org-= attach ~/git/org-mode/lisp/org-mouse hides /usr/share/emacs/25.0.91/lisp/org/org-m= ouse ~/git/org-mode/lisp/ob-R hides /usr/share/emacs/25.0.91/lisp/org/ob-R ~/git/org-mode/lisp/ob-awk hides /usr/share/emacs/25.0.91/lisp/org/ob-awk ~/git/org-mode/lisp/ob-perl hides /usr/share/emacs/25.0.91/lisp/org/ob-perl ~/git/org-mode/lisp/org-colview hides /usr/share/emacs/25.0.91/lisp/org/org= -colview ~/git/org-mode/lisp/ob-comint hides /usr/share/emacs/25.0.91/lisp/org/ob-co= mint ~/git/org-mode/lisp/org-mobile hides /usr/share/emacs/25.0.91/lisp/org/org-= mobile ~/git/org-mode/lisp/ob-mscgen hides /usr/share/emacs/25.0.91/lisp/org/ob-ms= cgen ~/git/org-mode/lisp/ob-haskell hides /usr/share/emacs/25.0.91/lisp/org/ob-h= askell ~/git/org-mode/lisp/ob-table hides /usr/share/emacs/25.0.91/lisp/org/ob-tab= le ~/git/org-mode/lisp/ob-ocaml hides /usr/share/emacs/25.0.91/lisp/org/ob-oca= ml ~/git/org-mode/lisp/ox-icalendar hides /usr/share/emacs/25.0.91/lisp/org/ox= -icalendar ~/git/org-mode/lisp/org-pcomplete hides /usr/share/emacs/25.0.91/lisp/org/o= rg-pcomplete ~/git/org-mode/lisp/org-agenda hides /usr/share/emacs/25.0.91/lisp/org/org-= agenda ~/git/org-mode/lisp/ob-ditaa hides /usr/share/emacs/25.0.91/lisp/org/ob-dit= aa ~/git/org-mode/lisp/org-faces hides /usr/share/emacs/25.0.91/lisp/org/org-f= aces ~/git/org-mode/lisp/org-ctags hides /usr/share/emacs/25.0.91/lisp/org/org-c= tags ~/git/org-mode/lisp/org hides /usr/share/emacs/25.0.91/lisp/org/org ~/git/org-mode/lisp/ob-picolisp hides /usr/share/emacs/25.0.91/lisp/org/ob-= picolisp ~/git/org-mode/lisp/ob-exp hides /usr/share/emacs/25.0.91/lisp/org/ob-exp ~/git/org-mode/lisp/ob-core hides /usr/share/emacs/25.0.91/lisp/org/ob-core ~/git/org-mode/lisp/ox-publish hides /usr/share/emacs/25.0.91/lisp/org/ox-p= ublish ~/git/org-mode/lisp/ob hides /usr/share/emacs/25.0.91/lisp/org/ob ~/git/org-mode/lisp/org-compat hides /usr/share/emacs/25.0.91/lisp/org/org-= compat ~/git/org-mode/lisp/ob-io hides /usr/share/emacs/25.0.91/lisp/org/ob-io ~/git/org-mode/lisp/ob-scala hides /usr/share/emacs/25.0.91/lisp/org/ob-sca= la ~/git/org-mode/lisp/org-irc hides /usr/share/emacs/25.0.91/lisp/org/org-irc ~/git/org-mode/lisp/ob-plantuml hides /usr/share/emacs/25.0.91/lisp/org/ob-= plantuml ~/git/org-mode/lisp/ob-maxima hides /usr/share/emacs/25.0.91/lisp/org/ob-ma= xima ~/git/org-mode/lisp/ob-clojure hides /usr/share/emacs/25.0.91/lisp/org/ob-c= lojure ~/git/org-mode/lisp/ob-emacs-lisp hides /usr/share/emacs/25.0.91/lisp/org/o= b-emacs-lisp ~/git/org-mode/lisp/ob-tangle hides /usr/share/emacs/25.0.91/lisp/org/ob-ta= ngle ~/git/org-mode/lisp/ob-asymptote hides /usr/share/emacs/25.0.91/lisp/org/ob= -asymptote ~/git/org-mode/lisp/ob-sql hides /usr/share/emacs/25.0.91/lisp/org/ob-sql ~/git/org-mode/lisp/org-bibtex hides /usr/share/emacs/25.0.91/lisp/org/org-= bibtex ~/git/org-mode/lisp/org-src hides /usr/share/emacs/25.0.91/lisp/org/org-src ~/git/org-mode/lisp/ob-sqlite hides /usr/share/emacs/25.0.91/lisp/org/ob-sq= lite ~/git/org-mode/lisp/org-mhe hides /usr/share/emacs/25.0.91/lisp/org/org-mhe ~/git/org-mode/lisp/ob-lisp hides /usr/share/emacs/25.0.91/lisp/org/ob-lisp ~/git/org-mode/lisp/ob-makefile hides /usr/share/emacs/25.0.91/lisp/org/ob-= makefile ~/git/org-mode/lisp/ob-python hides /usr/share/emacs/25.0.91/lisp/org/ob-py= thon ~/git/org-mode/lisp/org-habit hides /usr/share/emacs/25.0.91/lisp/org/org-h= abit ~/git/org-mode/lisp/org-archive hides /usr/share/emacs/25.0.91/lisp/org/org= -archive ~/git/org-mode/lisp/ob-ledger hides /usr/share/emacs/25.0.91/lisp/org/ob-le= dger ~/git/org-mode/lisp/org-crypt hides /usr/share/emacs/25.0.91/lisp/org/org-c= rypt ~/git/org-mode/lisp/org-list hides /usr/share/emacs/25.0.91/lisp/org/org-li= st ~/git/org-mode/lisp/org-table hides /usr/share/emacs/25.0.91/lisp/org/org-t= able ~/git/org-mode/lisp/org-info hides /usr/share/emacs/25.0.91/lisp/org/org-in= fo ~/git/org-mode/lisp/ob-js hides /usr/share/emacs/25.0.91/lisp/org/ob-js ~/git/org-mode/lisp/ox-html hides /usr/share/emacs/25.0.91/lisp/org/ox-html ~/git/org-mode/lisp/ob-ruby hides /usr/share/emacs/25.0.91/lisp/org/ob-ruby ~/git/org-mode/lisp/ox-md hides /usr/share/emacs/25.0.91/lisp/org/ox-md ~/git/org-mode/lisp/ox-latex hides /usr/share/emacs/25.0.91/lisp/org/ox-lat= ex ~/git/org-mode/lisp/ob-fortran hides /usr/share/emacs/25.0.91/lisp/org/ob-f= ortran ~/git/org-mode/lisp/ox-org hides /usr/share/emacs/25.0.91/lisp/org/ox-org ~/git/org-mode/lisp/ob-css hides /usr/share/emacs/25.0.91/lisp/org/ob-css ~/git/org-mode/lisp/org-rmail hides /usr/share/emacs/25.0.91/lisp/org/org-r= mail ~/git/org-mode/lisp/ob-ref hides /usr/share/emacs/25.0.91/lisp/org/ob-ref ~/git/org-mode/lisp/ob-calc hides /usr/share/emacs/25.0.91/lisp/org/ob-calc ~/git/org-mode/lisp/org-inlinetask hides /usr/share/emacs/25.0.91/lisp/org/= org-inlinetask ~/git/org-mode/lisp/org-element hides /usr/share/emacs/25.0.91/lisp/org/org= -element ~/git/org-mode/lisp/org-docview hides /usr/share/emacs/25.0.91/lisp/org/org= -docview ~/git/org-mode/lisp/ox-beamer hides /usr/share/emacs/25.0.91/lisp/org/ox-be= amer ~/git/org-mode/lisp/ob-lob hides /usr/share/emacs/25.0.91/lisp/org/ob-lob ~/git/org-mode/lisp/ob-eval hides /usr/share/emacs/25.0.91/lisp/org/ob-eval ~/git/org-mode/lisp/org-protocol hides /usr/share/emacs/25.0.91/lisp/org/or= g-protocol ~/git/org-mode/lisp/ob-shen hides /usr/share/emacs/25.0.91/lisp/org/ob-shen ~/git/org-mode/lisp/org-entities hides /usr/share/emacs/25.0.91/lisp/org/or= g-entities ~/git/org-mode/lisp/ox-odt hides /usr/share/emacs/25.0.91/lisp/org/ox-odt ~/git/org-mode/lisp/ob-scheme hides /usr/share/emacs/25.0.91/lisp/org/ob-sc= heme ~/git/org-mode/lisp/ob-keys hides /usr/share/emacs/25.0.91/lisp/org/ob-keys ~/git/org-mode/lisp/ob-gnuplot hides /usr/share/emacs/25.0.91/lisp/org/ob-g= nuplot ~/git/org-mode/lisp/ob-dot hides /usr/share/emacs/25.0.91/lisp/org/ob-dot ~/git/org-mode/lisp/ob-matlab hides /usr/share/emacs/25.0.91/lisp/org/ob-ma= tlab ~/git/org-mode/lisp/org-macro hides /usr/share/emacs/25.0.91/lisp/org/org-m= acro ~/git/org-mode/lisp/org-footnote hides /usr/share/emacs/25.0.91/lisp/org/or= g-footnote ~/git/org-mode/lisp/ob-lilypond hides /usr/share/emacs/25.0.91/lisp/org/ob-= lilypond ~/git/org-mode/lisp/org-feed hides /usr/share/emacs/25.0.91/lisp/org/org-fe= ed ~/git/org-mode/lisp/org-version hides /usr/share/emacs/25.0.91/lisp/org/org= -version ~/git/org-mode/lisp/org-loaddefs hides /usr/share/emacs/25.0.91/lisp/org/or= g-loaddefs ~/git/org-mode/lisp/org-install hides /usr/share/emacs/25.0.91/lisp/org/org= -install /usr/share/emacs/site-lisp/emms/tq hides /usr/share/emacs/25.0.91/lisp/emac= s-lisp/tq /usr/share/emacs/25.0.91/lisp/emacs-lisp/cl-generic hides /home/wgg/.emacs.= d/elpa/cl-generic-0.2/cl-generic Features: (shadow sort gnus-cite mail-extr nnir emacsbug sendmail gnus-topic gnus-delay gnus-draft utf-7 nndraft nnmh nnfolder nnmaildir gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader tramp-cache browse-url eieio-opt speedbar sb-image ezimage dframe tabify man windmove network-stream nsm starttls tls gnutls epa-file epa em-unix em-term term disp-table ehelp em-smart em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util view exim xcb-xim xcb-xlib whitespace rainbow-delimiters erc-services erc-autoaway xt-mouse winner type-break symon battery shackle magit-wip magit-log magit-diff smerge-mode diff-mode git-commit log-edit message idna rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-process with-editor tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell magit-popup easy-mmode async-bytecomp async magit-mode magit-git crm magit-section magit-utils dash elec-pair org-loaddefs sauron-identica sauron-jabber sauron-twittering sauron-notifications notifications sauron-org appt diary-lib diary-loaddefs sauron-dbus dbus xml sauron-erc erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-netsplit erc-hl-nicks color erc-button erc-fill erc-stamp erc-goodies erc erc-backend erc-compat auth-source gnus-util mm-util help-fns mail-prsvr password-cache thingatpt sauron pdf-occur ibuf-ext ibuffer tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet dired pdf-isearch let-alist pdf-misc imenu pdf-tools compile comint ansi-color ring cus-edit cus-start cus-load wid-edit pdf-view bookmark pp jka-compr pdf-cache pdf-info tq pdf-util advice format-spec image-mode exwm-randr xcb-randr exwm-config ido seq exwm exwm-input xcb-keysyms exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core derived xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types cl-seq edmacro kmacro sanityinc-tomorrow-day-theme color-theme-sanityinc-tomorrow theme-changer solar cal-dst cal-menu calendar cal-loaddefs cl time saveplace savehist server finder-inf eieio byte-opt bytecomp byte-compile cl-extra help-mode cconv eieio-core cl-macs gv cl-loaddefs pcase cl-lib info package easymenu epg-config time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting font-render-setting x multi-tty make-network-process emacs) Memory information: ((conses 16 1031607 243061) (symbols 48 164450 2) (miscs 40 885 2418) (strings 32 462013 52277) (string-bytes 1 23793062) (vectors 16 202179) (vector-slots 8 2453195 207435) (floats 8 2632 486) (intervals 56 13394 1871) (buffers 976 69) (heap 1024 179153 7388)) From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 18 05:07:35 2016 Received: (at 23032) by debbugs.gnu.org; 18 Mar 2016 09:07:35 +0000 Received: from localhost ([127.0.0.1]:51743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agqNb-0001CX-0W for submit@debbugs.gnu.org; Fri, 18 Mar 2016 05:07:35 -0400 Received: from mout.gmx.net ([212.227.17.21]:52132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agqNY-0001CJ-Kg for 23032@debbugs.gnu.org; Fri, 18 Mar 2016 05:07:33 -0400 Received: from detlef.gmx.de ([87.146.50.242]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MTjMy-1aGPXf0sy0-00QWNn; Fri, 18 Mar 2016 10:07:23 +0100 From: Michael Albinus To: William G. Gardella Subject: Re: bug#23032: 25.0.91; Eshell misinterprets TRAMP multi-hop paths as pipes References: <87bn6es89p.fsf@riseup.net> Date: Fri, 18 Mar 2016 10:07:20 +0100 In-Reply-To: <87bn6es89p.fsf@riseup.net> (William G. Gardella's message of "Wed, 16 Mar 2016 16:21:54 +0000") Message-ID: <87zitwduif.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:FNplJs+ptPvTfqiXJklhCeED01fQjEQJPx05ImC5mK2VByqx4W/ L5gDEpPU9KjxSWPpaThL6iDxTjwkIyhmlN+U3EUsBd6tro+wmxghFoUkS6gJiPX6sot+7+y RF2Odk4Mcsm6hY1KO8kkMAcivfwSO3QcWGVlee1QVCgl7joGPAS4LsXV+9ZAazuUpCfNvti 5KoAoBKr+QIX/BYGP4uWw== X-UI-Out-Filterresults: notjunk:1;V01:K0:mn3Hm6OhnGE=:wrUSzlje2Onp8ch5+Bf5mS k5qnlKOJyiA9d4/PFn5jPiO1xbJDMWuFOUfaEbl6WaAi4y/4Ccz8M9/m61fbfJNHTNWPv2G/P 5r1qFL/pMYYTCDMeUXjCt3Zg8JppMvHMbQyv11Gcwpk3zFQc9uCjO9mAiB8AlHsxj7d4DhMWj bQISoma+rShCsRWUF9nT/Sm68lBMBLx3C0Ic+mZz57I5oy3g2A8ciL9OrRncedlJJ0VxDTPwr 4jZGyreoZalzuRnPJdcziEFbAEiyUGDZQjasga+mbup9haHiD+L1P/QtcHqPndVFuI0yy581R kOPYundy9aA0TrEN25GmpyfRkjCTbmDFu7KcpdsrMbe6Fzv58dko4KNJvvXIwM1GVBU3KLEgK 2ysWYJV1166VD98B7GuOTQUVtl9wfr2dhkKcaWyZgnHqW+Zf1Fq3YawV3n4dwKNa2uWd2w2xk zoyT+eZVOHwscVOfKTt2N7GjnYYOqim1YGnYSitsS4p0kJZJjz58zRvH5Vhy3PCJcjBb2sBb6 HZbRRBUjqFMWz5w75NAsAP+4uSofWIm0sAKG4MfUQeMnWWL3tEzPKl6HXOSHlqfLb8oJV3ODV HpTvk/ZkWLygbeHf+GxiTJwJmvlnJtD2XPohzpUzXFmLmicbGQhBJ7K8HVjrNWywt+kk6jxOm dFkBKMkzZBg6IVA9weKdHSo1kSyApUOR+DIGHwAiygL9VI+lHnyVvJ3WpPK74VpPnPBUWAm28 uGQKAJcejyHgwPPG3Vz+57R2IdAbzDbO3YrcIzi1DXuVrZ84b72BCS4OEVFlI0q+6js2MMPKZ bfw4rNc X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23032 Cc: 23032@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) William G. Gardella writes: Hi William, > Steps to reproduce: > > 1. M-x eshell > > 2. Type a TRAMP path that makes an ad-hoc multi-hop connection, > such as: > > cd /sshx:user@host|sudo:root@host: > > 3. Eshell responds "sudo:root@host:: command not found" > > 4. Type the same TRAMP path, but wrapped in quotes: > > cd "/sshx:user@host|sudo:root@host:" > > 5. Eshell successfully navigates to the path. > > It seems that eshell too eagerly notices the pipe character > and assumes that it's reading a piped command line, > rather than first noticing that the character is inside a TRAMP path. I don't know whether we can/shall do something about. After all, eshell is a shell-like command interpreter, and the pipe symbol is a special one. Like in other shells, special symbols must be escaped. Both "/sshx:user@host|sudo:root@host:" and /sshx:user@host\|sudo:root@host: work in eshell. Other special symbols, like a space in a filename, would require similar quoting. We shall extend the eshell manual pointing about this. Hmm, looks like the manual even speaks about pipes ... Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 18 05:11:55 2016 Received: (at 23032) by debbugs.gnu.org; 18 Mar 2016 09:11:55 +0000 Received: from localhost ([127.0.0.1]:51758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agqRm-0001Iq-SL for submit@debbugs.gnu.org; Fri, 18 Mar 2016 05:11:55 -0400 Received: from mout.gmx.net ([212.227.17.21]:59674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agqRl-0001Id-Jf for 23032@debbugs.gnu.org; Fri, 18 Mar 2016 05:11:53 -0400 Received: from detlef.gmx.de ([87.146.50.242]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MTO3f-1aGgKM1Gbv-00SRv9; Fri, 18 Mar 2016 10:11:45 +0100 From: Michael Albinus To: William G. Gardella Subject: Re: bug#23032: 25.0.91; Eshell misinterprets TRAMP multi-hop paths as pipes References: <87bn6es89p.fsf@riseup.net> <87zitwduif.fsf@gmx.de> Date: Fri, 18 Mar 2016 10:11:43 +0100 In-Reply-To: <87zitwduif.fsf@gmx.de> (Michael Albinus's message of "Fri, 18 Mar 2016 10:07:20 +0100") Message-ID: <87vb4kdub4.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:aia5juTJwtsYJnKFA8mzfWpNuTtEoxXHMrMIFKZvf/wLXSWF0tN ag4O4fsMdXe2kRv3X9psTmK0xFkwPP08NO5gS2BRznrsT+OAYpUMJn+4DUho8ZCGd6hnAYm GorJm250ItQunQc1qM76U627HP2ajGo+TQ0+exKg1kwTc9I0YAN8cnE2gIDJbKiTo/OR95T EuizfeFjRsuA1XACVt8Sg== X-UI-Out-Filterresults: notjunk:1;V01:K0:R4WBPo3MiWU=:ovHFNvGbdgiaxyCYDoztTa OxwlY4NjkYTWIF1JGkNx392CTeooSeGq5gQugkObgnbmOqkGgY20HlvFy2oVIeG7LQAEVAo9d 9ZeVCdLHsQDe8LnVK1DNBao3I/AmNXsorKiBktUFy7qL2dkeA24sHRGg/+u2eQH8rv4LwBkaq YG6d21pQ/KdTuBy7uRwAM2A6P6+87KykErrvyLqftT2/cCNYpIKJvMUeBp+6ZcYI1Ts2+6iM2 zyIdruQKEonSgjZrl1qrJXL3VYmse+dDs96+7n7cCviSieNacofUQOEL7xB4Pr9X48gGZuOJc EeVVsphnK8OmQqQsX750FqqAI9bi/Hnm7zeg1OMdvEEa6RnbbOnxgjy3omE/kiTglRg2GkvwQ bB1l+38xcod6pLGPFrFmAksGzHQw3C8P8bWjMdYOdlibkV65x7wKxhg4Idi+bhc0NzCsHc+NI l3RNGYOaDuwB4ErSEMRCWuGIqdWBNcXWsRKaFaASwWOqaYzpZDYiOwL5nmb+qSSTWm1YA5nf4 hPrs9zewMEihrEK/J4jVaf7HpxDqdOOCtJ0UTStDkZvP/Wkp+jvutW1FuK1kbzasPGO9HZPRA SH92PRvlfh8dOFWPxVx5tC2FJyIdwTNeoLIgUje5oe2RdZy6+YHibRfEQBihTvFfks/+aB2vN Lptjpf0aHzAB7PRKlTKueNnlPDQ3kBKSXtH1TC4Y+QPZ3jfwwjm2foZf8v0ydVkvjJMk0n2/R A1WnxkRiCMbWLFllKNGsQxZIvBl7WKoQUNBtr3TY0rR9VUOQxItCf3ftC0AhiyPMmTVt0nSDU QVN/KOG X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23032 Cc: 23032@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Michael Albinus writes: > I don't know whether we can/shall do something about. After all, eshell > is a shell-like command interpreter, and the pipe symbol is a special > one. Like in other shells, special symbols must be escaped. Both > "/sshx:user@host|sudo:root@host:" and /sshx:user@host\|sudo:root@host: > work in eshell. Other special symbols, like a space in a filename, would > require similar quoting. > > We shall extend the eshell manual pointing about this. Hmm, looks like > the manual even speaks about pipes ... PS: The eshell manual documents this already in general, see (info "(eshell) Arguments") But it still doesn't explain that it supports piped command sequences. This shall be added. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 19 11:56:09 2016 Received: (at 23032-done) by debbugs.gnu.org; 19 Mar 2016 15:56:10 +0000 Received: from localhost ([127.0.0.1]:53830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahJEX-00072l-Nz for submit@debbugs.gnu.org; Sat, 19 Mar 2016 11:56:09 -0400 Received: from mout.gmx.net ([212.227.17.22]:54234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahJEW-00072Z-MY for 23032-done@debbugs.gnu.org; Sat, 19 Mar 2016 11:56:09 -0400 Received: from detlef.gmx.de ([79.195.13.135]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M6fXs-1ZtrLP0zSO-00wVVa; Sat, 19 Mar 2016 16:55:59 +0100 From: Michael Albinus To: William G. Gardella Subject: Re: bug#23032: 25.0.91; Eshell misinterprets TRAMP multi-hop paths as pipes References: <87bn6es89p.fsf@riseup.net> <87zitwduif.fsf@gmx.de> <877fgztq2e.fsf@riseup.net> Date: Sat, 19 Mar 2016 16:55:55 +0100 In-Reply-To: <877fgztq2e.fsf@riseup.net> (William G. Gardella's message of "Fri, 18 Mar 2016 21:48:57 +0000") Message-ID: <87d1qq31is.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:buaG0eQ2o+p9IZZlFiejIDCmydHIRV4qKVD/P54bDrRb9ZyhTVa wFMlG+dlpcpGyin8tklqttASDXOV42V0T8lpKZISmme+OPqACQUoK+cmBF3lLVf1P/1bD5I Lrrq4+Kki9lTi5Fltn92nzJOKT5WU5PnZ7whMDulAG6SqhLbWU9i/Ql8xa5of7eLb6X8LGj 7EzDiNmqmCxhC1OHltZSg== X-UI-Out-Filterresults: notjunk:1;V01:K0:oQBghwmI/o0=:tJnS7eVCj8EK2t61V3yPdC L8XLk1TqZLbjbWEV8xuR3/hsAj6ui6t8cYyXIowoT99ANa7JrWGUcKgUKw2ETLmxWGpwP4UJC 7PRSz5pJnhIG/eVzU4EFDbPxemT5GUns33hUgLcEzBEUO5y+ZUIOYYz6/E6nNP4lxLjF5pcu5 Wp9qLai5Rn6WjylzeEmVHvL6iNL1wNuxevM38gBhvoLzLghloxwphYRVeU78euu21tYQV2fkB LwEVG+r30aAnm79InkMnqC6TxaAGi2TIOuQq0ypweQ2+/+xbmsJ7ZHfkjNvr66FTBVj08JA2T UJthSF3tceE02Qi5Rcv6Vj0YcQGWAfoDAuZZRaf2tpaYiQaT9ag6cPqWkssVsum+GDak9zyQj xBiuuJJHsS4YRT2y952Zjc2QopeZ+uZ89arHAruW2IJv5DSdDPnfd/6sAvDAy5VLzj93OuA0C RlR/vSVyQsE75WOg13HkxhUJA0G5R2LZ0YyKczSWQD4MP947BH1zv+SLger3LXJCKCDtcR8yp 4xXwuwCpVDrD/DCq90kF2/5EZnBGw7Ct4QVW0xAC8nnX2qDk/Sj7+nVuhlF7ViQgEdQfF/2Wv PsTM3DLfJfdFTgIoG6vMywnp+nBofnCFCG8cVab3H1pwFvsYnMSVbTdqA/2S5B6dSX8zJuEAP Rrr6Koy4b6xTxVvU0P5/OnhITWlExkVf/oFVhpgWVvXEu2fVhex6w2DLAooyOjzhbolKetkrB VH9l5nZud9KK6vFwlhhzjUWLNtnmhvhP4U6mwZ9BYu96VZRSbsMhbVtBsQS8qNanF0bz6IcDJ YN2YZYl X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23032-done Cc: 23032-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) William G. Gardella writes: Hi William, > Fair enough; given that quoting or escaping works around the problem, > maybe a stronger note in the manual is a satisfactory solution. I've added a respective sentence to the section "2.2 Arguments" of eshell.texi. Closing the bug. > Best, > WGG Best regards, Michael. From unknown Sat Sep 13 17:04:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 17 Apr 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator