One more comment about this: Eric, I have gotten used to your approach of displaying a link in JHS for opening J code to edit. It was a simple matter to tweak JOD to do:
ed ;:'addloadscript mls' c:/documents and settings/jdbaker/j701-user/temp/addloadscript.ijs<http://127.0.0.1:65001/jijs?mid=open&path=c:/documents%20and%20settings/jdbaker/j701-user/temp/addloadscript.ijs> One click brings up the script (in this case containing two words) in the JHS editor. The fact that the link persists in the log is VERY handy. I have been using both the JGTK and JHS environments for testing but I am spending more and more time in JHS. I've had to fall back on 13!:x debugging but for old J farts like myself that's not a big deal. The amount of memory consumed by jsconsole.exe is typically a tiny fraction of what Chome/IE/Safari consume and it is typically less than j.exe 6.02 as well. You have managed to turn web browsers into handy array processing programming environments - well done. jdb On Sun, Jan 30, 2011 at 10:47 AM, John Baker <[email protected]> wrote: > open works like a charm in gtk - thanks everyone. Eventually somebody will > figure out how to open browser edit tabs in JHS. > > jdb > > > On Fri, Jan 28, 2011 at 9:34 PM, chris burke <[email protected]> wrote: > >> The "open" verb already does this, but could be extended to include >> the optional line number. >> >> On Sat, Jan 29, 2011 at 9:08 AM, bill lam <[email protected]> wrote: >> > something like this. >> > >> > ed=: 3 : 0 >> > l=. locEdit_jgtkide_ >> > edit_opentab_show__l y >> > 1 >> > ) >> > >> > ed 'c:/the/script/to/edit.ijs' >> > >> > you can also specify an optional line number. >> > >> > ed 'c:/the/script/to/edit.ijs';10;0 >> > >> > Птн, 28 Янв 2011, John Baker писал(а): >> >> I am in the process of updating JOD for j701. One of most useful JOD >> verbs >> >> is "ed" which fetches a >> >> a word, (or many words), from JOD databases, formats them as a script, >> and >> >> then opens that script for editing in what was a wd (.ijs) window. >> >> >> >> How do you open a script for editing in JGTK from the terminal session? >> I >> >> see the command on the >> >> JGTK menu so it must be buried in there somewhere. I would like >> something >> >> like: >> >> >> >> editverb 'c:/the/script/to/edit.ijs' >> >> >> >> or >> >> >> >> editverb 'some big long character list that just happens to be a j >> script' >> >> >> >> Extra points for doing exactly the same thing in the JHS environment - >> >> opening a new browser tab with an >> >> arbitrary script for editing. >> >> >> >> >> >> jdb >> >> >> >> -- >> >> John D. Baker >> >> [email protected] >> >> ---------------------------------------------------------------------- >> >> For information about J forums see http://www.jsoftware.com/forums.htm >> > >> > -- >> > regards, >> > ==================================================== >> > GPG key 1024D/4434BAB3 2008-08-24 >> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > > > > -- > John D. Baker > [email protected] > -- John D. Baker [email protected] ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
