unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Han Boetes <han@mijncomputer.nl>
Subject: Re: problem with tramp and uuencode-decode
Date: Fri, 5 Nov 2004 16:21:37 +0100	[thread overview]
Message-ID: <20041105152159.GH1275@boetes.org> (raw)
In-Reply-To: <86fz3oqreg.fsf@ketchup.de.uu.net>

Kai Grossjohann wrote:
> Han Boetes <han@mijncomputer.nl> writes:
>
> > Please apply this patch: [using "-o /dev/stdout" instead of
> > "-o -" because of Posix compliance]
>
> I suggest not to replace "-o -" with "-o /dev/stdout". Instead,
> add another entry in the list so that "-o /dev/stdout" is tried
> first, then "-o -".
>
> It is important for Tramp to work with as many remote systems as
> possible, even non-Posix ones. There are users who wish to
> access AIX and IRIX systems, and these are very different from
> what you are accustomed to.

That's sound logic, here is a new patch.



# Han

* looking for lorentey@elte.hu--2004/emacs--multi-tty--0--patch-263 to compare with
* comparing to lorentey@elte.hu--2004/emacs--multi-tty--0--patch-263
M  lisp/net/tramp.el
* modified files

--- orig/lisp/net/tramp.el
+++ mod/lisp/net/tramp.el
@@ -1535,8 +1535,9 @@
 rm -f /tmp/tramp.$$
 }"
   "Shell function to implement `uudecode' to standard output.
-Many systems support `uudecode -o -' for this or `uudecode -p', but
-some systems don't, and for them we have this shell function.")
+Many systems support `uudecode -o /dev/stdout,' `uudecode -p' or
+`uudecode -o -' for this, but some systems don't, and for them we
+have this shell function.")
 
 ;; Perl script to implement `file-attributes' in a Lisp `read'able
 ;; output.  If you are hacking on this, note that you get *no* output
@@ -5970,10 +5971,12 @@
      base64-encode-region base64-decode-region)
     ("recode data..base64" "recode base64..data"
      base64-encode-region base64-decode-region)
-    ("uuencode xxx" "uudecode -o -"
+    ("uuencode xxx" "uudecode -o /dev/stdout"
      tramp-uuencode-region uudecode-decode-region)
     ("uuencode xxx" "uudecode -p"
      tramp-uuencode-region uudecode-decode-region)
+    ("uuencode xxx" "uudecode -o -"
+     tramp-uuencode-region uudecode-decode-region)
     ("uuencode xxx" "tramp_uudecode"
      tramp-uuencode-region uudecode-decode-region)
     ("tramp_encode_with_module" "tramp_decode_with_module"

      reply	other threads:[~2004-11-05 15:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04 15:31 problem with tramp and uuencode-decode Han Boetes
2004-11-04 20:47 ` Han Boetes
2004-11-05  0:37   ` Han Boetes
2004-11-05 12:43     ` Kim F. Storm
2004-11-05 14:52     ` Kai Grossjohann
2004-11-05 15:21       ` Han Boetes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041105152159.GH1275@boetes.org \
    --to=han@mijncomputer.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).