A paranoid function seems unnecessarily complicated to me. I think it'd be better to provide users with simple tools with which they can build bigger/better tools that suit their needs better than any megalathon-tool that I can provide.

On 01/25/2015 01:48 PM, Matt Welland wrote:
I'm not sure I understand the concern. The user had to take explicit action to enable command logging in their .csirc, something like the following:

(gnu-history-install-file-manager
 (string-append
  (or (getenv "HOME") ".") "/.csi.history"))))

Presumably if they did the research to find this and created or edited the .csirc accordingly they *want* to keep a log of the commands they've entered into csi. I don't see any value of forcing the additional step of touching the file. I'm not aware of any Unix shells or tools with command logging that require manually touching the history file before logging starts working.

For a solution, how about a version "gnu-history-install-file-manager-paranoid" that has the behavior you like or if that is not acceptable how about a version "gnu-history-install-file-manager-lazy" that does the create automatically?

I've set up several people with readline in csirc and get WTF responses when it doesn't work out of the box and I have to remember the strange requirement of touching the file.

Is there some other factor I'm missing? I don't see either a space or a security issue for anyone who explicitly added the enabling code to .csirc

Matt
-=-


On Sun, Jan 25, 2015 at 10:21 AM, John Cowan <[email protected] <mailto:[email protected]>> wrote:

    [email protected] <mailto:[email protected]> scripsit:

    > As a daily user of csi with readline I look forward to using your
    > enhancements.  If it makes sense to do I would like to see the
    > behavior change for a new install, currently the user has to touch
    > the ~/.csi-history (?) file before history will be kept. I'd like it
    > if that became unnecessary.

    That amounts to saying that every instance of csi logs everything
    you do.
    For both space and security reasons, I think it's better if the
    user has
    to take an affirmative action before that happens.

    --
    John Cowan http://www.ccil.org/~cowan
    <http://www.ccil.org/%7Ecowan> [email protected] <mailto:[email protected]>
    Is a chair finely made tragic or comic? Is the portrait of Mona Lisa
    good if I desire to see it? Is the bust of Sir Philip Crampton
    lyrical,
    epical or dramatic?  If a man hacking in fury at a block of wood make
    there an image of a cow, is that image a work of art? If not, why not?
                    --Stephen Dedalus

    _______________________________________________
    Chicken-users mailing list
    [email protected] <mailto:[email protected]>
    https://lists.nongnu.org/mailman/listinfo/chicken-users




_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to