help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using tramp with sunrise-commander


From: Haines Brown
Subject: Re: Using tramp with sunrise-commander
Date: Thu, 02 Dec 2010 08:15:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

José A. Romero L. <escherdragon@gmail.com> writes:

>> downloaded version $Rev: 340 $, which I suppose is 4R340, but because
>> it will take a little time to test, which I can't spare at the
>> moment, I'll have to get back to you shortly on the results.

The situation is complicated.

When I log in to a remote host, Sunrise Commander displays its base
directory ("www"). 

I can open a file in that directory for editing, but can't save the
changes. I get the error: "Wrong type argument: arrayp,nil". This is
repeatable. When I proceed close the file without saving, something odd
happens with the sunrise-commander pane display. The remote host display
jumps to the other pane, and in its place I'm kicked back into a dired
buffer. Not sure to what extent this is repeatable or meaningful,
though.

If I try to copy a file to that remote host base directory by issuing
the M-C command, instead of Sunrise Commander providing by default the
name of the opposite pane (the remove host directory) to which I wish to
copy, it picks some local buffer. If I type in the address of the remote
host, I'm prompted for the password to access it.

And finally, there's the navigation problem. Here is the remote host
hierarchy with permissions:

        ..
        primary           dr-x--x--x
        www               drwxr-xr-x
        <subdirectory>    drwxr-xr-x

Now dired can readily navigate up and down these four
levels. Sunrise-commander acts differently. Logging in takes me to the
www base directory. I cannot open <subdirectory> with RET when it is
selected. I tried an experiment. I'm not sure this is possible, but I
brought up an emacs shell and did: ! cd <subdirectory>. The error
messages I got was: "ssh_askpass: exec(/usr/bin/ssh-askpass): No such
file or directory. Host key verification failed."

Not only can't Sunrise-Commander navigate down and open <subdirectory>,
but when I navigate up (..), I somehow jump over the "primariy" directory
to arrive at the very top ".." directory. Dired does not do
this. Sunrise Commander can navigate from ".." down into primary, but
not from primary further down to www. Dired can do that. I suspect some
of this may be simply how the
host is designed. for in the top directory ("..") there is a symlink so
that one can jump from it two steps down to www, and that is the only
way Sunrise-Commander can get back to the base "www" directory.

Sorry to complicate things, but I did once manage to have
Sunrise-Commander open the subdirectory. If in the pane that is not
displaying the remote host, displays the Ange-ftp messages, a RET in
Sunrise-Commander mode does open the remote subdirectory. However, I
can't get Sunrise-Commander to do it if, for example, the other buffer
is displaying a dired page.

> Somehow you've managed to kill one of the sunrise windows. You could
> do, for instance: C-x 0 C-x 3 g in one of the panes and you'd end up
> with two windows that look like sunrise panes, but they are not. Does
> pressing \ (backslash) before M-o help?

Thanks for the explanation.

>> Parenthetically:
> (...)
>> > "We who cut mere stones must always be envisioning cathedrals."
> (...)
>> visited it in ca. 1950, there was a family living at the bottom in a
>> shack who were so poor their children had to share shoes. The head of
>> the household quarried blocks of pink granite by hand (a very
>> interesting procedure that I read about in historical accounts as far
>> back as Ancient Egypt) for curbing. I don't know that he envisioned
>> cathedrals as he worked! Wrong social class for that.
> (...)
>
> Funny that. Did you get to know the man?

No. I was in the quarry looking for minerals, and I just wanted to be
polite and to be about my business. Also, I was perhaps 17 at the time
and not inclined to engage older strangers in casual conversation (no
problem with that now ;-)).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]