Re: [Bug-apl] Tilde expansion support in READLINE_HISTORY_PATH

2019-07-04 Thread Alexey Dokuchaev
On 7/4/19, Dr. Jürgen Sauermann wrote: > The need for ~ (or $HOME for that matter) puts additional requirements on > the platform which harms portability. I have always tried to minimize the > number of environment variables used by GNU APL, in order to maximize > usability. Forgot to respond to

Re: [Bug-apl] Tilde expansion support in READLINE_HISTORY_PATH

2019-07-04 Thread Dr . Jürgen Sauermann
Hi Alexey, I see. Will consider it. Best Regards, Jürgen On 7/4/19 3:34 PM, Alexey Dokuchaev wrote: On 7/4/19, Dr. Jürgen Sauermann wrote: The effect of the patch seems to be to change the default value

Re: [Bug-apl] Tilde expansion support in READLINE_HISTORY_PATH

2019-07-04 Thread Alexey Dokuchaev
On 7/4/19, Dr. Jürgen Sauermann wrote: > The effect of the patch seems to be to change the default value of the > directory where an APL history is stored. Well, the main part of these changes is support for tilde expansion, which is useful even preferences are left untouched. (OK, the comment l

Re: [Bug-apl] Tilde expansion support in READLINE_HISTORY_PATH

2019-07-04 Thread Dr . Jürgen Sauermann
Hi Alexey, thank you for submitting the patch. The effect of the patch seems to be to change the default value of the directory where an APL history is stored. The question is then if a reasonable default value should be the user's home directory

[Bug-apl] Tilde expansion support in READLINE_HISTORY_PATH

2019-07-04 Thread Alexey Dokuchaev
Hi there APLers! I found it too annoying that APL creates .apl.history file in whatever is current directory and spams my filesystem, so I've patched it to create this file in user's $HOME directory by default. Maybe you'll find it useful as well. ./danfe --- gnu-apl.d/preferences.in.orig 2019-0