bugGNU Octave - Bugs: bug #42584, Save command history at crash

 
 

bug #42584: Save command history at crash

Submitted by:  Anton <ajf>
Submitted on:  Thu 19 Jun 2014 08:26:55 AM UTC  
 
Category: InterpreterSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: 3.8.1Operating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 02 Dec 2014 12:02:43 PM UTC, comment #2:

Better to do it in a manner that writes the history in
all possible cases, particularly for segfault.

Michael Godfrey <godfrey>
Tue 24 Jun 2014 08:10:07 PM UTC, comment #1:

Thanks for your bug report. This sounds like a good idea to me. This should involve calling the command_history::clean_up_and_save function from within the same signal handler routines that save the octave workspace file.

Mike Miller <mtmiller>
Project Member
Thu 19 Jun 2014 08:26:55 AM UTC, original submission:

Hi,

when octave crashes (or more precisely when it does not react anymore and I kill it by pressing ctrl+C) it attempts to save the current workspace in octave-workspace before closing down, which might be useful in some situations. However, what would help me much more would be if it would save the current command history such that I would have it available after a restart. Would be great if that could be saved as well.

Thanks,
ajf

Anton <ajf>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by ajf (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 01 Dec 2014 02:33:40 AM UTCmtmillerDependencies-=>bugs #43729 is dependent
    Tue 24 Jun 2014 08:10:07 PM UTCmtmillerCategoryNone=>Interpreter
      Severity3 - Normal=>1 - Wish
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup