Re: history in konsole tabs: where?

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

 



On Thursday 11 October 2007 10:52 am, Dexter Filmore wrote:
> On Saturday 06 October 2007 17:50:24 Kevin Krammer wrote:
> > It is up to the shell when it writes or reads its history file.
> That wasn't my point.
> I need to know where *konsole* stores the history for each tab.
> It has to be doing that since each tab has its own history but the commands 
> from the tabs do not show up in the file ~/.bash_history.

Based on the last time I experimented with this (sometime within the last 
year), I am fairly certain Kevin was steering you in the right direction.

If you have several different konsole tabs open (for the same user), you will 
find that as long as konsole is open, each tab may have a different history 
of commands.  When you close those tabs, each time you close a tab, its 
history is written to the ~/.bash_history file *overwriting* what was 
previously there.

(Aside: afaik, the history is not saved to the file at any other time.)

When you open a new tab, you will find that it has the history from the 
~/.bash_history file--if you open more than one tab, they will all have the 
same history (until you start to do things in those tabs).

What I didn't say, is that, afaict, each konsole tab keeps a separate history 
in RAM, but there is only one file copy.

IIRC, that's what I found the last time I experimented with this.

Randy Kramer

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux