[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] .apl.history
From: |
David B. Lamkins |
Subject: |
Re: [Bug-apl] .apl.history |
Date: |
Wed, 02 Jul 2014 12:08:40 -0700 |
While I agree that $HOME/.apl-history is more generally useful, I can
also make a case for having the history file's location be relative to
the working directory:
Assume that you're a consultant or contractor working on APL projects
for a number of clients. You cd to the directory for a client's project,
start up APL, and do your work for that client. The history file remains
specific to that client/directory, which is probably what you'd prefer
in that situation.
Here's my proposal...
Have the installer and the Makefile's install target do the following:
1. Confirm that $HOME exists.
2. Install $HOME/.gnu-apl/preferences from the template.
3. Edit the user's preference file to set READLINE_HISTORY_PATH using
the absolute path to $HOME.
This should address Blake's concern about keeping the installation
process simple, provide what (I think) is the more useful general case
while not precluding other choices, and have a reasonable fallback on
platforms that don't set $HOME.
- Re: [Bug-apl] .apl.history, (continued)
- Re: [Bug-apl] .apl.history, Blake McBride, 2014/07/02
- Re: [Bug-apl] .apl.history, Elias Mårtenson, 2014/07/02
- Re: [Bug-apl] .apl.history, Blake McBride, 2014/07/02
- Re: [Bug-apl] .apl.history, Elias Mårtenson, 2014/07/02
- Re: [Bug-apl] .apl.history, Blake McBride, 2014/07/02
- Re: [Bug-apl] .apl.history, Elias Mårtenson, 2014/07/02
- Re: [Bug-apl] .apl.history, Blake McBride, 2014/07/02
- Re: [Bug-apl] .apl.history, Elias Mårtenson, 2014/07/02
- Re: [Bug-apl] .apl.history, Blake McBride, 2014/07/02
- Re: [Bug-apl] .apl.history, Elias Mårtenson, 2014/07/02
- Re: [Bug-apl] .apl.history,
David B. Lamkins <=
- Re: [Bug-apl] .apl.history, Juergen Sauermann, 2014/07/04
- Re: [Bug-apl] .apl.history, Juergen Sauermann, 2014/07/02
- Re: [Bug-apl] .apl.history, Blake McBride, 2014/07/02