> Weird... I thought it was common knowledge!

I didn't even know it, Mike.
-- BTW in macOS its ⇧⌘↑  ⇧⌘↓ (i.e. Cmnd [⌘], not Ctrl[^])

I did know that the input history is stored in ~config/inputlog.dat
…if you ever want to write code to load it and retrieve the bottom line and
re-present it in the Term window
(there are wd commands to hack the Term and Edit windows)

But I wouldn't bother to go writing mickeymouse palettes using wd
(window-driver) to extend jqt functionality
when you can customize *Run > Launch Pad*  via:  *Edit > Configure > Launch
Pad*
to load a collection of ad-hoc J scripts -- a lot easier to write and debug.
Or *Edit > Configure > User Keys*  if you want extra hotkeys.
So even if Mike's hotkeys weren't there, they'd be quick to cobble up by
these methods.

And if you want just one programmable button, write a verb: test
and run it using F5, which is functionally equivalent to the sentence:
   test''

Are there any other really useful hidden hotkeys in jqt?
On the Mac, any (non-system) hotkey combination ought to appear somewhere
in the main menu. So you can look for the hotkey if you suspect one exists.

Apps ported from Win typically scorn this convention. With the result that
a really useful hotkey is almost by definition a hidden hotkey.

On Wed, 3 Nov 2021 at 18:30, 'Mike Day' via Programming <
[email protected]> wrote:

> Weird... I thought it was common knowledge!
> M
>
> Sent from my iPad
>
> > On 3 Nov 2021, at 15:36, Michal Wallace <[email protected]>
> wrote:
> >
> > Oh wow. ctrl+shift arrow in jqt!!
> >
> > I had no idea. All this time I've just been hitting ctrl-d to get the
> > history. Thanks for the tip! :)
> >
> >
> >
> > On Wed, Nov 3, 2021 at 10:51 AM 'Mike Day' via Programming <
> > [email protected]> wrote:
> >
> >> Devon,  in your initial msg,  you mentioned
> >> “Anyway, for really simple things I do in emacs, like recalling the
> >> previous command...”
> >>
> >> You probably mean something else entirely,  but just in case it helps,
> >> the hot key combination ctrl-shift-up arrow goes back up previous
> commands;
> >> ctrl-shift-down moves back to the present.  Iirc, this feature was
> >> available in J from the very beginning,  inherited from Sharp APL, or
> the
> >> like,  I believe.
> >>
> >> Sorry if I’ve misunderstood the question!
> >>
> >> Mike
> >>
> >> Sent from my iPad
> >>
> >>> On 3 Nov 2021, at 12:02, joseph turco <[email protected]>
> wrote:
> >>>
> >>> I personally just use the console from terminal. The jQt is nice
> though.
> >>>
> >>>> On Mon, Nov 1, 2021, 10:35 AM Devon McCormick <[email protected]>
> >> wrote:
> >>>>
> >>>> Thanks, Bill.  It's
> >>>> wd 'set strength text ..'
> >>>> The ID has to come first but this solved almost all the problems I was
> >>>> having with this bit of code.
> >>>> I have something basically workable but with a number of flaws:
> >>>> https://code.jsoftware.com/wiki/NYCJUG/2021-11-09#Show-and-tell .
> >>>>
> >>>>>> On Sun, Oct 31, 2021 at 9:11 PM bill lam <[email protected]>
> wrote:
> >>>>>
> >>>>> The wiki page that you followed was written J602 wd commands. Jqt wd
> >>>>> commands adopted a similar but different syntax. J602 set command
> >> always
> >>>>> sets the 'text' property and is implied, but Jqt needs the explicit
> >>>> 'text'
> >>>>> because it can also set other properties, see wiki wd commands
> >> reference.
> >>>>> J602:
> >>>>>
> >>>>> wd 'set strength *entropy ',(":<.(".size)*2^.#alph),' bits'
> >>>>>
> >>>>> Jqt
> >>>>> wd 'set text strength *entropy ',(":<.(".size)*2^.#alph),' bits'
> >>>>>
> >>>>> (untested)
> >>>>>
> >>>>>
> >>>>>> On Mon, Nov 1, 2021 at 3:06 AM Devon McCormick <[email protected]>
> >>>>> wrote:
> >>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> Does anyone use the JQt environment for J much?  I'm taking a stab
> at
> >>>>>> updating and extending the code here:
> >>>>>> https://code.jsoftware.com/wiki/User:Andrew_Nikitin/Literate .
> >>>>>>
> >>>>>> I want to see how suitable I find J for developing a GUI app.  Now
> >> that
> >>>>>> I've started, I'm starting to wonder if I should have started with a
> >>>>>> web-based front-end instead but I thought it might be easier to
> start
> >>>>> from
> >>>>>> something which presumably worked at some point.
> >>>>>>
> >>>>>> That aside, I'm finding it painful to use the JQt interface compared
> >> to
> >>>>> my
> >>>>>> normal custom of running J under emacs.  I feel I have to use JQt
> >>>> because
> >>>>>> of the GUI component.  I think I once got some GUI-based code
> working
> >>>>> under
> >>>>>> emacs but that was years ago and would be too much of a distraction
> >>>> from
> >>>>> my
> >>>>>> immediate project.
> >>>>>>
> >>>>>> You can see what I've done so far here:
> >>>>>>
> https://code.jsoftware.com/wiki/NYCJUG/2021-11-09#What_I_Have_So_Far
> >> .
> >>>>>> This just brings up the initial window; none of the buttons work
> >> except
> >>>>> the
> >>>>>> one to cancel the dialog.
> >>>>>>
> >>>>>> Anyway, for really simple things I do in emacs, like recalling the
> >>>>> previous
> >>>>>> command, it is not obvious how I would do this in JQt.  At the
> moment,
> >>>>> I'm
> >>>>>> working mostly in emacs and loading my code into JQt, so this may
> have
> >>>> to
> >>>>>> be how I deal with it but I'm interested in other people's
> experience
> >>>>>> working with JQt.
> >>>>>>
> >>>>>> Thanks,
> >>>>>>
> >>>>>> Devon
> >>>>>>
> >>>>>> --
> >>>>>>
> >>>>>> Devon McCormick, CFA
> >>>>>>
> >>>>>> Quantitative Consultant
> >>>>>>
> ----------------------------------------------------------------------
> >>>>>> For information about J forums see
> >> http://www.jsoftware.com/forums.htm
> >>>>>
> ----------------------------------------------------------------------
> >>>>> For information about J forums see
> http://www.jsoftware.com/forums.htm
> >>>>
> >>>>
> >>>> --
> >>>>
> >>>> Devon McCormick, CFA
> >>>>
> >>>> Quantitative Consultant
> >>>> ----------------------------------------------------------------------
> >>>> 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