bugGNU Octave - Bugs: bug #60761, Invoking Octave with -f also loses...

 
 

bug #60761: Invoking Octave with -f also loses command history

Submitter:  None
Submitted:  Wed 09 Jun 2021 11:59:33 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Wont Fix Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 11 Jun 2021 04:42:01 AM UTC, comment #2: 

Hmm, I don't see that behavior with either Octave 6.2.0 or the current development version.   I still see history entries immediately after starting Octave with --norc.

John W. Eaton <jwe>
Group administrator
Thu 10 Jun 2021 09:16:02 PM UTC, comment #1: 

The --norc option is designed to run Octave in a very clean way without interference from any settings files, including the user's history file.

If you want access to an existing history file then you can just read in those commands with the command "history -r FILENAME".  See also the documentation for history_file().

Complete example:


octave -f
history -r FILENAME



Rik <rik5>
Group administrator
Wed 09 Jun 2021 11:59:33 PM UTC, original submission:  

GNU Octave Version: 7.0.0 (hg id: 710c2cb73c2d)

Invoking Octave with -f or --norc also loses command history.

Desired state: -f should only skip the RC files but still read command history. Is this reasonable or will it break anything?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-10 rik5 CategoryNone Interpreter
        Item GroupNone Feature Request
        StatusNone Wont Fix
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code