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

Reply via email to