[Top][All Lists]

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

[Octave-bug-tracker] [bug #49275] history_append: new boolean option to

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49275] history_append: new boolean option to mimic bash "histappend" option
Date: Wed, 5 Oct 2016 18:27:37 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0


                 Summary: history_append: new boolean option to mimic bash
"histappend" option
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Wed 05 Oct 2016 11:27:34 AM PDT
                Category: Octave Function
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Postponed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



In bug #49214, it was discussed that Octave has "history -w" and "history -a"
commands to overwrite and append to the history file from a running session.
But when Octave exits, it only attempts to overwrite the history file using
the equivalent of "history -w" at exit.

The bash shell includes a boolean option "histappend" that switches between
overwriting and appending to the shell history when a bash session exits. It
might be a helpful feature to users familiar with this approach to be able to
choose whether their Octave history is overwritten or appended when Octave

For Windows users, this would allow the history file to be marked with the
NTFS "hidden" attribute, because appending to a hidden file is allowed but
overwriting an existing hidden file fails.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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