helpThe GNU Bourne-Again SHell - Support: sr #109000, Make a consistent multi-session...

 
 

sr #109000: Make a consistent multi-session history file

Submitter:  None
Submitted:  Wed 23 Mar 2016 07:55:37 AM UTC
Votes:  100  
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  Postponed
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Wed 23 Mar 2016 07:55:37 AM UTC, original submission:  

As of now the history file is not handled consistently among multiple concurrent sessions.
This means, for example, that using two bashes on two different windows on the same system (with the same user) will lead to inconsistent history file. Not all commands from the multiple bashes will be recorder.
There are a few workaround but all rely on external tools that won't honor the other history file related settings: $HIST* variables and shopts.
A builtin solution would.
I would warn against a solution involving multiple history file (one per session) even if in some cases this can make sense.

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 pdecat (Voted in favor of this item)
  • -email is unavailable- added by chet (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 100 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 logged-in users can vote.

     

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-12 pdecat Carbon-Copy- Added pdecat
    2016-04-09 chet StatusNone Postponed

    Back to the top


    Powered by Savane 3.9