[4844] in testers

home help back first fref pref prev next nref lref last post

Re: scp fails if .environment writes to stdout

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Jun 19 14:43:28 2001

Message-Id: <200106191843.OAA24464@egyptian-gods.MIT.EDU>
To: "Christopher D. Beland" <beland@MIT.EDU>
cc: testers@MIT.EDU
In-Reply-To: Your message of "Tue, 19 Jun 2001 13:56:17 EDT."
             <200106191756.NAA98820@space-invaders.mit.edu> 
Date: Tue, 19 Jun 2001 14:43:19 -0400
From: Greg Hudson <ghudson@MIT.EDU>

> I think the ability to have .environment output text without
> breaking scp is a desirable feature.

Wrap the echo statements like so:

  if ($?prompt) then
    echo foo
  endif

We can't really fix this problem without breaking compatibility with
other people's ssh clients or servers, and even if we could, we
wouldn't really have the resources to.

home help back first fref pref prev next nref lref last post