[erlang-questions] remsh failing silently
Mikael Pettersson
mikpelinux@REDACTED
Sun Dec 30 15:34:41 CET 2018
On Sat, Dec 29, 2018 at 3:33 PM Ben Hood <0x6e6562@REDACTED> wrote:
>
> On Sat, Dec 29, 2018 at 9:42 AM T Ty <tty.erlang@REDACTED> wrote:
> > 3. In b@REDACTED shell hit Ctrl-G
> > 4. At the --> prompt type
> > r 'a@REDACTED' <Enter>
> > c 2 <Enter>
> >
> > If that all works then there should be no reason for the remsh not to work.
>
> Many thanks for the heads up, much appreciated.
>
> Unfortunately on the ppc machine Crtl-G is not being interpreted (but
> Ctrl-C is):
>
> $ erl -sname a -setcookie 1
> Eshell V6.4.1.7 (abort with ^G)
> (a@REDACTED)1> ^G
> (a@REDACTED)1> ^C
> BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
> (v)ersion (k)ill (D)b-tables (d)istribution
>
> So I guess I'll need to get to the bottom of this symptom first.
>
> For background context, the OTP 17.5.6.10 for ppc64 was cross compiled
> and statically linked against libncurses - potentially the statically
> linked libncurses was not packaged correctly which leads to terminal
> character issues?
For the record, I just built OTP 17.5.6.10 natively on
powerpc64-unknown-linux-gnu, and ^G works just fine there in the
Erlang shell.
I'd have to suspect your cross compilation setup. Could be some
./configure test not doing the right thing in the cross compile case.
More information about the erlang-questions
mailing list