From xemacs-m  Mon Mar 24 06:27:46 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id GAA04708
	for <xemacs-beta@xemacs.org>; Mon, 24 Mar 1997 06:27:44 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id NAA06572; Mon, 24 Mar 1997 13:27:43 +0100 (MET)
Sender: hniksic@public.srce.hr
To: xemacs-beta@xemacs.org
Subject: Re: [Jens Lautenbacher <jens@jens.metrix.de>] Re: Wrapping up 19.15 (was Re: display-time on tty)
References: <m2rah5o87x.fsf@altair.xemacs.org> <y9ld8sp8p5a.fsf@modas.informatik.uni-tuebingen.de>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nA
        EL1M(".[qvI#a2E6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/X
        vhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 24 Mar 1997 13:27:42 +0100
In-Reply-To: sperber@informatik.uni-tuebingen.de's message of 24 Mar 1997 13:12:33 +0100
Message-ID: <kiglo7dzd8h.fsf@jagor.srce.hr>
Lines: 55
X-Mailer: Gnus v5.4.33/XEmacs 19.14

sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) writes:

> Problem is that the setup is so ridiculously complex that it's
> practically impossible to reproduce.

I think I see what is going on (this is pure guesswork, as I am not
intimate with efs).  As efs uses pty-s to open the FTP client, the
client is "sure" that it has the terminal for itself.

On any Unix other than Linux, this wouldn't be a problem.  But on
Linux, the default FTP client is a "nice" version[1] that uses GNU
readline.  Of course, it sends all kinds of control sequences that
destroy pure efs.

Solutions:

1) find an option to tell FTP to bugger off with the readline stuff,
   and just does what an FTP client is *supposed* to do, like Ghod
   intended, uhm...  and put it to some efs-ftp-switches under Linux
   conditionally (but then they'll come up with a new FTP... aargh!).

2) somehow make sure that the FTP client thinks it doesn't control the
   terminal.

> Obviously.  Do you have the slightest idea where it's from?  It sure
> looks like terminal control stuff, probably generated by the rsh
> connection (since a normal ftp client doesn't generate them).
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

"I hate Unix in general, and Linux specifically."
                                             --jwz

> sb> *ALL* *these* *problems* *didn't* happen with ange-ftp and the *same*
> sb> setup otherwise. I stopped working the day I switched to an XEmacs
> sb> with efs.
> 
> Does that mean there's no trailing garbage with ange-ftp, or does it
> mean that ange-ftp deals with the garbage fine?

Maybe ange-ftp doesn't use pty-s.

> sb> *PLease* Can anyone reproduce this or tell me what's going on here!
> It's easy enough to see *what* is going on, much harder why.

I hope this helped.


[1]
Sometimes I really do hate Linux for these kind of things; but other
people love it for the exactly same reason. :-)

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
I'm sure they'll listen to reason! -- Neal Stevenson, _Snow Crash_

