Readline is not used on windows, line editing functions scroll up down
functionality is provided by terminal.
IIUC Line 151 is responsible for input
if(!fgets(input, sizeof(input), stdin))


On Mon, 13 Dec 2021 at 10:12 PM Raul Miller <[email protected]> wrote:

> The arrow keys work for me when I use j903's jconsole.
>
> So I think
> https://github.com/jsoftware/jsource/blob/master/jsrc/jconsole.c#L170
> is being used, instead of line 173
>
> Looking at the libedit being used, it's precompiled, so I cannot read
> it. (This is somewhat worrying from my perspective, given the variety
> of potential platform-specific issues that libedit might have to cope
> with.)
>
> It might be wise to use something like
> https://github.com/AmokHuginnsson/replxx?
>
> Thanks,
>
> --
> Raul
>
>
> On Sun, Dec 12, 2021 at 8:29 PM bill lam <[email protected]> wrote:
> >
> > Jconsole uses fgets() to get input line, this hadn't been changed as far
> as
> > I know.
> > A very simple c test program to echo input line should confirm the issue.
> >
> > On Sun, 12 Dec 2021 at 10:35 PM Norman Drinkwater <
> [email protected]>
> > wrote:
> >
> > > I see the same issue on a Windows 11 desktop install of beta-w, but
> not on
> > > j903 running in a virtual Windows 10 machine on the same desktop.
> Don't see
> > > the problem on a linux desktop. Only / and enter are affected. The * +
> and
> > > - keys on the keypad work as expected.
> > > Norman
> > >
> > > On Sun, Dec 12, 2021 at 3:01 AM Martin Kreuzer <[email protected]>
> > > wrote:
> > >
> > > > Noticed first on a DELL micro; now observing the same behaviour
> > > > having run a clean install under Win 10 Pro on a HP laptop ...
> > > >
> > > >     JVERSION
> > > > Engine: j903/j64/windows
> > > > Beta-w: commercial/2021-12-05T18:32:21
> > > > Library: 9.03.08
> > > > Platform: Win 64
> > > > Installer: J903 install
> > > > InstallPath: d:/program files (non-sys)/j903
> > > > Contact: www.jsoftware.com
> > > >
> > > > -M
> > > >
> > > > At 2021-12-11 19:20, you wrote:
> > > >
> > > > >I don't see this problem in beta-w, tested on Windows and Linux .
> > > > >
> > > > >On Sat, Dec 11, 2021 at 9:22 AM Martin Kreuzer <[email protected]
> >
> > > > wrote:
> > > > >
> > > > > > Dear all -
> > > > >
> > > > > >     JVERSION
> > > > > > Engine: j903/j64avx2/windows
> > > > > > Beta-w: commercial/2021-12-05T18:25:00
> > > > > > Library: 9.03.07
> > > > > > Platform: Win 64
> > > > > > Installer: J903 install
> > > > > > InstallPath: d:/program files (non-sys)/j903
> > > > > > Contact: www.jsoftware.com
> > > > >
> > > > > > (and Beta-v, the first I tried)
> > > > >
> > > > > > In JConsole,
> > > > >
> > > > > >   Numpad Slash and
> > > > > >   Numpad Enter
> > > > >
> > > > > > will not answer when key is pressed.
> > > > >
> > > > > > This might not be J's fault - however I do not get this error in
> > > > > > versions 8.07, 9.01 and 9.02 on the same machine.
> > > > >
> > > > > > Any thoughts?
> > > > >
> > > > > > Thanks.
> > > > >
> > > > > > -M
> > > > >
> > > > > >
> > > ----------------------------------------------------------------------
> > > > > > For information about J forums see
> > > http://www.jsoftware.com/forums.htm
> > > > >
> > > >
> >----------------------------------------------------------------------
> > > > >For information about J forums see
> http://www.jsoftware.com/forums.htm
> > > >
> > > >
> ----------------------------------------------------------------------
> > > > For information about J forums see
> http://www.jsoftware.com/forums.htm
> > > >
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to