You might already have what you want. That is,

   sp'' NB. equivalent to ctrl+,

This takes advantage of how sp utilities track recent files and how
the project file SPFILE is carried over sessions. If you have set a
project file with spinit;...; then in that session and in future
sessions running sp'' will load the project file.

In the current release SPFILE and SPXFILE are defined in _jsp_ however
I have found I reference them so frequently that the next release
defines them in _z_.

On Sat, Dec 19, 2015 at 8:58 PM, Jose Mario Quintana
<jose.mario.quint...@gmail.com> wrote:
> Eric, I just realized that I might be able to make my Kindle/J relationship
> more pleasurable by writing a couple of menus with some items calling some
> of the Simple Project (SP) utilities following the example shown in the IDE
> help section.
>
> I was glad to notice that while crtl+. is used to advance, the sentence
> spx'' accomplishes the same thing.  However, there is no SP verb associated
> to ctrl+, could you provide one as well?  That is, assuming that it makes
> sense, it is not too late, and you do not mind.
>
> On Fri, Dec 18, 2015 at 1:16 PM, Eric Iverson <eric.b.iver...@gmail.com>
> wrote:
>
>> I have looked into cut/copy/paste by adding J page menu commands.
>> Turns out it is not easy and beyond the scope of what I can take on
>> right now.
>>
>> Years ago browsers didn't allow cut/copy/paste at all as this was
>> considered a possible way to breach security. This was relaxed so that
>> those keyboard shortcuts were hardwired in browsers to have the
>> desired actions. However there was no general way for them to be
>> triggered by javascript (which is what we need to get what you want).
>> There is a probably acceptable workaround that involves not using the
>> real clipboard but using a shared memory area withing the browser. But
>> this is much more javascript programming work than just linking a menu
>> item to a simple javascript command.
>>
>> On Fri, Dec 18, 2015 at 12:18 PM, Jose Mario Quintana
>> <jose.mario.quint...@gmail.com> wrote:
>> > If you do not mind, can you also look at the possibility of adding Run
>> > Select (Ctrl-E)?
>> >
>> > One can just drag one's finger (or a pointer device) to select the text
>> but
>> > apparently there is no support for coping and pasting (one can delete the
>> > highlighted text by pressing backspace though).  There is an unofficial
>> > full keyboard available when running on the Linux/BusyBox shell and
>> > therefore it is available for the Jconsole but it is not for JHS.
>> >
>> > (I know I am abusing the Kindle but I really like playing with J for
>> hours,
>> > if not days, without the need of a nearby power outlet, or even
>> > indefinitely, with a pocket-size solar battery (e.g., the BoxWave Solar
>> > Power Bank).)
>> >
>> >
>> >
>> > On Thu, Dec 17, 2015 at 7:33 PM, Eric Iverson <eric.b.iver...@gmail.com>
>> > wrote:
>> >
>> >> I am working on a minor new release of JHS right now (improvements to
>> >> simple project managed execution) so the timing might be fortuitous.
>> >> If it is trivial to add menu commands for cut/copy/paste, I will do
>> >> so.
>> >>
>> >> But first, I wonder how you do the hard part, which is selecting text?
>> >> If you can select text, do you not somehow have the option to copy? On
>> >> iOS devices  (touch screen) you get copy/cut/paste options right on
>> >> the touch screen and that would seem to be most convenient.
>> >>
>> >> On Thu, Dec 17, 2015 at 7:09 PM, Jose Mario Quintana
>> >> <jose.mario.quint...@gmail.com> wrote:
>> >> > Yes Eric, you are right.  I meant to say editing windows opened with
>> >> jfile
>> >> > or a ijs editing window; even highlighting text on the jijx window
>> using
>> >> > the watered-down version of SkipStone is an issue but I could switch
>> to
>> >> > using Midori instead.
>> >> >
>> >> > The Kindle Touch default (on screen) keyboard is very limited because
>> the
>> >> > Kindle is meant to be used for reading books and documents, shopping
>> on
>> >> > Amazon and other simple interactive stuff (a full keyboard is
>> available
>> >> > when running the jconsole but I prefer JHS).
>> >> >
>> >> > Thanks for the feedback.
>> >> >
>> >> >
>> >> >
>> >> > On Wed, Dec 16, 2015 at 4:38 PM, Eric Iverson <
>> eric.b.iver...@gmail.com>
>> >> > wrote:
>> >> >
>> >> >> Providing menu commands that did copy/cut/paste is definitely
>> possible
>> >> >> and would fit easily in the existing framework.
>> >> >>
>> >> >> I assume you want these actions on the jijx and jijs windows as they
>> >> >> make less (or at least different sense) in the jfile window.
>> >> >>
>> >> >> I am surprised this ability isn't already provided as it is so
>> >> fundamental.
>> >> >>
>> >> >> On Wed, Dec 16, 2015 at 3:08 PM, Jose Mario Quintana
>> >> >> <jose.mario.quint...@gmail.com> wrote:
>> >> >> > I was unaware of the Firefox requirement.  I have been using lately
>> >> JHS
>> >> >> > with Chrome and Edge within the Windows 10 environment and, above
>> all,
>> >> >> with
>> >> >> > (a version of)  SkipStone within a BusyBox environment on a
>> jailbroken
>> >> >> > Kindle Touch (after some tweaking with the socket interface).  I
>> have
>> >> no
>> >> >> > previous experience with JHS but all seem to run fairly well (only
>> the
>> >> >> Jal
>> >> >> > updating facility has issues with the Kindle which might not be
>> >> >> surprising).
>> >> >> >
>> >> >> > Regarding the latter and out of curiosity; is it possible, in
>> >> principle,
>> >> >> to
>> >> >> > program via J/JavaScript (I know next to nothing about JavaScript)
>> two
>> >> >> > additional actions for the jfile window to be able to copy a
>> >> highlighted
>> >> >> > text from one window and paste it into another.  The reason I am
>> >> asking
>> >> >> is
>> >> >> > that the default on screen Kindle keyboard lacks the Crtl and Alt
>> >> keys (I
>> >> >> > have found a workaround but it is a long detour).
>> >> >> >
>> >> >> >
>> >> >> > On Sun, Dec 13, 2015 at 1:28 PM, Joe Bogner <joebog...@gmail.com>
>> >> wrote:
>> >> >> >
>> >> >> >> Glad to hear. Coincidentally, I am working on upgrading a 8.1
>> tablet
>> >> >> today
>> >> >> >> to Windows 10. Download is at 45%.
>> >> >> >> On Dec 13, 2015 12:46 PM, "Eric Iverson" <
>> eric.b.iver...@gmail.com>
>> >> >> wrote:
>> >> >> >>
>> >> >> >> > I stuck with win7 as my experiences with win8.x were not good.
>> I am
>> >> >> >> > now playing with win10 and am pleased. The new edge browser
>> works
>> >> well
>> >> >> >> > with JHS and is a pleasant surprise after IE misery. Still
>> prefer
>> >> >> >> > firefox, but with edge it is no longer an absolute necessity to
>> >> >> >> > install a non IE browser.
>> >> >> >> >
>> >> ----------------------------------------------------------------------
>> >> >> >> > 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
>> ----------------------------------------------------------------------
>> 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