kai.grossjohann | 1 Sep 18:01 2003
Picon
Picon

Re: tramp (2.0.36); su and sudo hangs on FreeBSD when saving file

> There's nothing in "*tramp/su localhost*" and "*tramp output*" buffer,
> and there's no tramp debug buffer show up.

Hm, without a debug buffer, I can't really say what's wrong.

Are you sure there is no buffer named "*debug tramp/su localhost*"?  Maybe
you were looking for "tramp debug" instead of "debug tramp" ;-)

If there is no *debug tramp/foo* buffer, then maybe the (setq
tramp-debug-buffer t) isn't taking effect?  Try C-h v tramp-debug-buffer RET after the C-x
d step to see what's the value.

--

-- 
I just moved and started a new job.  Without Internet access
in my new home, response times will be high :-(

COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
kai.grossjohann | 1 Sep 18:05 2003
Picon
Picon

Re: tramp (2.0.36); su and sudo hangs on FreeBSD when saving file

> I can't try sudo, because the prompt pattern leads to a login failed
> (same old story :-)).  I've attached the tramp/sudo buffer

Hm.  I thought I had augmented tramp-shell-prompt-pattern, already?

If it's been corrected in the CVS but not in the XEmacs package, it would be
great if somebody did a release.  See signature for why I can't do it
myself.

(Can't even install Emacs because it isn't on the ftp.gnu.org server...)

--

-- 
I just moved and started a new job.  Without Internet access
in my new home, response times will be high :-(

COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
Norbert Koch | 1 Sep 18:43 2003
X-Face
Picon

Re: tramp (2.0.36); su and sudo hangs on FreeBSD when saving file

kai.grossjohann <at> gmx.net writes:

> Hm.  I thought I had augmented tramp-shell-prompt-pattern, already?

So did I :-)

> If it's been corrected in the CVS but not in the XEmacs package, it would be
> great if somebody did a release.  See signature for why I can't do it
> myself.

If you have something to make a package from, I'd be more than happy
to (pre-)release it.  I'm using the CVS sources, though.  The
variable's value is

Value: "^[^#$%>\n]*[#$%>] *\\(\\[[0-9;]*[a-zA-Z] *\\)*"

Is this the newest one you know about?

BTW, I've just stumbled across an error in the texi's Makefile
(generated).  I think the following patch is correct.  If you prefer
you can check for both share and lib as in the case of lisp dir, but
standard is lib (xemacs is a sibling to xemacs-$version which holds
the core information).

norbert.

2003-09-01  Norbert Koch  <viteno <at> xemacs.org>

	* aclocal.m4 (AC_PATH_INFODIR): Fix path to xemacs site-packages.

(Continue reading)

Michael Albinus | 3 Sep 13:48 2003
Picon
Picon

Re: tramp (2.0.36); su and sudo hangs on FreeBSD when saving file

Norbert Koch <nk <at> viteno.net> writes:

> BTW, I've just stumbled across an error in the texi's Makefile
> (generated).  I think the following patch is correct.  If you prefer
> you can check for both share and lib as in the case of lisp dir, but
> standard is lib (xemacs is a sibling to xemacs-$version which holds
> the core information).

Thanx for the patch. If Kai isn't able to checkin due to his movement,
I'll apply the patch when I'm back from my recent business trip.

Likely Kai will be faster. As always.

> norbert.

Best regards, Michael.
Dryice Liu | 3 Sep 16:11 2003
Picon

Re: tramp (2.0.36); su and sudo hangs on FreeBSD when saving file

kai.grossjohann <at> gmx.net wrote:

> Hm, without a debug buffer, I can't really say what's wrong.
>

Thank you, Kai. I got the debug buffer with the help of Norbert. And
I've attached it. It looks everything is good till the last "Waiting
for remote host to process data..." message. And then I wait for a
long time and then hit C-g.

Dryice

Attachment (debug_tramp_su): application/octet-stream, 43 KiB
_______________________________________________
Tramp-devel mailing list
Tramp-devel <at> nongnu.org
http://mail.nongnu.org/mailman/listinfo/tramp-devel
kai.grossjohann | 4 Sep 09:05 2003
Picon
Picon

Re: tramp (2.0.36); su and sudo hangs on FreeBSD when saving file

> Thank you, Kai. I got the debug buffer with the help of Norbert. And
> I've attached it. It looks everything is good till the last "Waiting
> for remote host to process data..." message. And then I wait for a
> long time and then hit C-g.

I see.  What does C-h v tramp-chunksize RET say?
Does it help to (setq tramp-chunksize 500)?

Kai

--

-- 
I just moved and started a new job.  Without Internet access
in my new home, response times will be high :-(

COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
James Michael DuPont | 5 Sep 14:41 2003
Picon

Problems with GNU EMACS and Solaris - DOS FILES?

Dear all,
I am having problems with tramp, using GNUEMACS v21.1.1.

when connecting to an solaris machine via ssh2.

When I save the files, they get converted to DOS mode in memory after
they are saved, and all other saves are in dos mode.

Do you have any ideas?

Thanks,

MIke
kai.grossjohann | 7 Sep 15:48 2003
Picon
Picon

Re: Problems with GNU EMACS and Solaris - DOS FILES?

> When I save the files, they get converted to DOS mode in memory after
> they are saved, and all other saves are in dos mode.

I'm afraid that I don't understand what you are saying.  So you open a
remote file, then edit it, then use C-x C-s to save it.  The file that's written
to the remote host, does it have DOS or Unix line endings?  And what do you
mean "converted to DOS mode"?  Are you saying that the mode line changes to
show "(DOS)" like it would if you use C-x RET f dos RET?

--

-- 
I just moved and started a new job.  Without Internet access
in my new home, response times will be high :-(

COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
kai.grossjohann | 7 Sep 15:51 2003
Picon
Picon

Re: tramp (2.0.36); su and sudo hangs on FreeBSD when saving file

> kai.grossjohann <at> gmx.net wrote:
> 
> > I see.  What does C-h v tramp-chunksize RET say?
> 
> It's nil and the code in the doc string result:
> "Bytes sent: 1000	Bytes received:
> xxxxx [[... other x'es elided ...]]
> 
> > Does it help to (setq tramp-chunksize 500)?
> 
> Yes. Thank you. Now everything works well. my (emacs-version) is "GNU
>  Emacs 21.3.1 (i386--freebsd, X toolkit, Xaw3d scroll bars) of
>  2003-04-19". And please find my (tramp-bug) output in my first post.

Okay, so we should tell Tramp to use that value on FreeBSD systems.

But I feel that something is fishy: I thought there were only problems on
one OS (HP-UX?), but then somebody came along with the new version (9?) of
Redhat, and now you are saying it fails under FreeBSD.  Hm.

--

-- 
I just moved and started a new job.  Without Internet access
in my new home, response times will be high :-(

COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
(Continue reading)

James Michael DuPont | 8 Sep 09:54 2003
Picon

Re: Problems with GNU EMACS and Solaris - DOS FILES?


>> When I save the files, they get converted to DOS mode in memory after
>> they are saved, and all other saves are in dos mode.

>I'm afraid that I don't understand what you are saying.  So you open a
>remote file, then edit it, then use C-x C-s to save it.  The file that's written
>to the remote host, does it have DOS or Unix line endings?  

It does not has dos endings added yet, it just switches into DOS mode
after saving.

>And what do you
>mean "converted to DOS mode"?  Are you saying that the mode line changes to
>show "(DOS)" like it would if you use C-x RET f dos RET?

Yes. That is exactly the problem. I need to change the mode to unix
after each saving.

mike

Gmane