Bug 176905 - no memory of commands used kept
Summary: no memory of commands used kept
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-04 18:47 UTC by dmoyne
Modified: 2008-12-08 18:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dmoyne 2008-12-04 18:47:36 UTC
Version:           2.1 (using 4.1.3 (KDE 4.1.3), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-10-generic

For some reasons Konsole does not keep memory of command lines used though memory history size is set to 1000 lines not even in the same KDE sessions !
It has been like this since I installed Intrepid but it was the same on KDE4 konsole used on Hardy for a while.
Regards.
Comment 1 FiNeX 2008-12-06 12:35:51 UTC
Do you mean the bash history? The konsole history size is not the bash history and it is not remembered between sessions.
Comment 2 dmoyne 2008-12-07 21:06:04 UTC
I mean  when you open a konsole with KDE you are supposed to be able to use commands that have been memorized (by default 1000 lines) by using up arrow key ! ; what else can it be as George would say ! ; that during a session and between session ; this is supposed to parametrized with a menu option history -> option -> choice between none | in number of lines | no limit

This was working on KDE 3 and is not on KDE 4 on Hardy or Intrepid.
Regards.
Comment 3 Robert Knight 2008-12-08 12:24:21 UTC
Hello,

The scrollback size as specified through the menu in Konsole is not about the number of commands which are remembered when you press the Up/Down arrow - it is about the number of lines of history which you can scroll through using the scroll-bar on the side of the display.  The size of your 'command history' is a property of the shell (the program which draws the prompt), which is probably 'bash'. 

Comment 4 dmoyne 2008-12-08 15:46:34 UTC
Robert to finish off this can you tell me where this is set ti get commands memorized.
Thanks.
Comment 5 dmoyne 2008-12-08 18:46:00 UTC
sorry for my questions actually on bash related to system variables that are supposed to be set for bash and that actally were set by default ; as apparently this problem appears to concern other people I have a little bit investigated why it did not work : I found that my file ".bash_history" was root.root and of course could not be of any use for me as user as could ne be opened and overwritten ; I have changed this in root mode to fix it and I did much more in affecting all that is in my $HOME with my_login.my_group ; a few other things have changed : for example I have music now when KDE opens  ; some errors messages when opening some apps in a konsole have disappeared ; it looks like the origin of this problem may be linked to some action done in sudo mode but I am not sure because otherwise I do not see what can change properties of some of my files from my_login.my_group to root.root.
Regards.