Where is the source code for jqt? Thanks,
-- Raul On Mon, Jun 29, 2015 at 11:48 PM, bill lam <[email protected]> wrote: > Since jqt is event driven, but j engine can have different modes, it is > quite troublesome to get all right. Currently there is another issue with j > suspension mode and async event callback, so that I think 1!:1 will have a > lower priority. Certainly you are welcome to submit patches to jqt. > On Jun 30, 2015 11:31 AM, "Raul Miller" <[email protected]> wrote: > >> I suppose one potential workaround for this input mutilation would be >> to have (1!:1 literal) implement the intended behavior of monadic >> (prompt). >> >> Another potential approach would be to define another right argument >> for (1!:1) which reads from jqt session, without trimming the line. >> >> A perhaps better approach would be to somehow mark the "end" of the >> jqt buffer being manipulated and have (1!:1) return everything after >> that "end". (For example, mark every character in the buffer with a >> qualifier and when the Enter key event happens return everything after >> the last qualified character.) This would make the behavior of copy >> and paste more natural. >> >> I do not know if any of these would require undue complexity in the >> implementation. >> >> Thanks, >> >> -- >> Raul >> >> >> >> On Mon, Jun 29, 2015 at 11:11 PM, bill lam <[email protected]> wrote: >> > Apparently, leading blanks are removed from input line under >> > jqt, the intention is to remove the leading 3 space prompt, but >> > it cannot distinguish the input mode so that 1!:1 is also >> > affected. This is a bug, a quick fix (kludge) is to modifiy >> > misc/prompt, the addon has been updated. Thanks for reporting >> > this bug. >> > >> > Пн, 29 июн 2015, Raul Miller написал(а): >> >> Yes. >> >> >> >> Thanks, >> >> >> >> -- >> >> Raul >> >> >> >> >> >> On Mon, Jun 29, 2015 at 1:37 AM, bill lam <[email protected]> wrote: >> >> > is the issue related to jqt? >> >> > On Jun 29, 2015 1:19 PM, "Raul Miller" <[email protected]> wrote: >> >> > >> >> >> That does not work. >> >> >> >> >> >> It displays properly, but for some reason jqt also trims the leading >> >> >> spaces from the result of 1!:1]1 >> >> >> >> >> >> So it still does not function properly. >> >> >> >> >> >> I do not know the full set of input mangling rules used by 1!:1 in >> >> >> jqt, but I believe a mechanism which does not mangle the input should >> >> >> be used. >> >> >> >> >> >> Thanks, >> >> >> >> >> >> -- >> >> >> Raul >> >> >> >> >> >> On Mon, Jun 29, 2015 at 12:01 AM, bill lam <[email protected]> >> wrote: >> >> >> > require'general/misc/prompt' >> >> >> > prompt >> >> >> > 3 : 0 >> >> >> > '' prompt y >> >> >> > : >> >> >> > if. IFQT do. >> >> >> > wd 'sm prompt ',y,x >> >> >> > inp=. 1!:1 ] 1 >> >> >> > len=. #y >> >> >> > (len * y -: len {. inp) }. inp >> >> >> > else. >> >> >> > y 1!:2 (IFWIN+.IFJHS+.IFIOS) { 4 2 >> >> >> > 1!:1 ] 1 >> >> >> > end. >> >> >> > ) >> >> >> > >> >> >> > I suspect the line should be >> >> >> > wd 'sm prompt *',y,x >> >> >> > >> >> >> > can you test and fix it in the svn repos? Thanks. >> >> >> > >> >> >> > Вс, 28 июн 2015, Raul Miller написал(а): >> >> >> >> Under jqt: >> >> >> >> $prompt ' example: ' >> >> >> >> example: abc >> >> >> >> 0 >> >> >> >> >> >> >> >> In other words: leading spaces in the right argument to prompt >> prevent >> >> >> >> it from working properly under jqt. >> >> >> >> >> >> >> >> FYI, >> >> >> >> >> >> >> >> -- >> >> >> >> Raul >> >> >> >> >> ---------------------------------------------------------------------- >> >> >> >> 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 >> >> >> > gpg --keyserver subkeys.pgp.net --armor --export 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 >> >> > ---------------------------------------------------------------------- >> >> > For information about J forums see >> http://www.jsoftware.com/forums.htm >> >> ---------------------------------------------------------------------- >> >> 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 >> > gpg --keyserver subkeys.pgp.net --armor --export 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 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
