bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Alexey Dokuchaev
Subject: Re: [Bug-apl] Tilde expansion support in READLINE_HISTORY_PATH
Date: Thu, 4 Jul 2019 23:10:22 +0800

On 7/4/19, Dr. Jürgen Sauermann <mail@jürgen-sauermann.de> 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 this (quoted) part.  I appreciate and truly value
the strive for portability, but in this regard the proposed patch does
not change the status quo, since you already call for getenv("HOME")
in the UserPreferences::open_user_file() method.  And that's OK since
HOME is a very popular variable (sorry, cannot check right now what
POSIX says about it).  The patch does handle the situation, I hope
correctly, if it's not defined for some reason.

./danfe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]