Re: history in konsole tabs: where?

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

 



Dexter Filmore wrote:
> On Saturday 06 October 2007 17:50:24 Kevin Krammer wrote:
>> On Saturday 06 October 2007, Dexter Filmore wrote:
>>> Where does Konsole store the history for multiple tabs?
>>> I can find the first tab's history in ~/.bash_history and even in other
>>> tabs $HISTFILE is set to that but commands in other tabs don't seem to go
>>> there, yet "history" displays them accurately.
>> It is up to the shell when it writes or reads its history file.
>>
>> E.g bash usually doesn't read it during its lifetime, zsh reads it when you
>> press enter without a command
> 
> That wasn't my point.
> I need to know where *konsole* stores the history for each tab.

"It is up to the shell when it writes or reads its history file."

Konsole does not have command history. (It has scrollback, but I don't 
think that is what you are talking about?)

> 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.

Wrong. Each *bash instance* has its own history that may be stored in 
ram until the shell exits, at which point that history is written to 
~/.bash_history. AFAIK this behavior can be changed, but it still has 
nothing to do with Konsole, which is just* a terminal emulator.

(* meaning, Konsole does not have some "magic connection" to the shell 
being run in a tab.)

-- 
Matthew
If a signature
is not read by anyone,
does it make a sound?

___________________________________________________
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