From: Spencer L. S. <sp...@lo...> - 2002-04-03 21:46:46
|
>>>>> "KG" =3D=3D Kai Gro=DFjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes: Hello Kai, Thought I would give you a little update. > You could use an inline method (such as sm) for this particular > host. Do you think that could work? It could, but sadly it didn't. The remote machine doesn't have mimeencode/decode. I tired uudecode/encode, but the remote decode program refused to print to stdout, so your simple test failed. I tried several tweaks on the piped command, but got nothing to work. However... > I see. Hm. I wonder what is happening here. Can you make a shell > script which does useful things, like perhaps: I made a shell script just like you suggested. lonestar(132)$ cat ~/bin/scp.sh=20 #!/bin/sh echo starting scp >> /tmp/foo strace -f scp "$@" 2>/tmp/foo echo scp done >> /tmp/foo exit 0 This works fine from within ielm and tramp! I made a special method for my one trouble machine where the rcp-command is set to "scp.sh" rather than just "scp". Looking in the trace files, I see nothing to suggest why the command is hanging. It seems like all the shell script really does is give a clean exit code that is recognized by the process. *** Welcome to IELM *** Type (describe-mode) for help. ELISP> (call-process "scp.sh" nil (get-buffer-create "*foo*") nil "/usr/people/spencer/.bashrc" "halem:/u1/sswift/junk") 0 ELISP> ELISP> (call-process "scp" nil (get-buffer-create "*foo*") nil "/usr/people/spencer/.bashrc" "halem:/u1/sswift/junk") *** Eval error *** Quit during evaluation I'm baffled by this and especially why it is a problem on only the one machine (that I've found). But I have a work around, so I'm going to back burner this until I get some new insight. Thanks for your help. Spencer |