I very much agree with this. The J way of doing this is unintuitive and (according to me) the most irritable cosmetic aspect in J. If you space up, edit, and enter, then the displayed “history” is not an accurate. To maintain an accurate history one must space up, enter, edit, enter. This is clumsy. I recall raising this issue in a post quite a few years ago but to no avail. It would be easy to avoid the clumsiness and I urge J developers to make a change. Other than that, J is great. Thanks for all the development efforts.
> On 26 Jan 2015, at 9:09 am, Tobia Conforto <[email protected]> wrote: > > The steps to recall and edit a line from the history in jqt are not very > intuitive. The simplest sequence I could find is: 1. move to the line you > wish to edit; 2. press enter to copy it to the bottom; 3. edit it; 4. press > enter to execute it. > > This is different from both regular CLI terminals (press ↑ or ^P to recall > previous lines, edit, press enter to execute) and other "editable" CLI > interfaces, such as Dyalog. > > In Dyalog you 1. move to the line you wish to edit; 2. edit it in place; 3. > when you press enter to execute it, the original line is reverted to its > original value, the new line is pasted at the bottom and executed. > > Personally I much prefer the "read-only history + one editable line" > philosophy of regular terminals, but Dyalog's way of doing it is IMHO a > good compromise. It "looks" like it's allowing to edit the history, but > when you press enter, the old history is restored. > > In jqt there's one more keypress and you risk corrupting your history if > you are not very careful. Am I missing some key shortcuts or settings? > > Tobia > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
