Summary: | dolphin terminal improperly saves bash history | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | whatmeurgent <whatmeurgent> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | a.samirh78, adaptee, whatmeurgent |
Priority: | NOR | ||
Version: | 2.6.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
whatmeurgent
2011-03-07 19:17:48 UTC
When and how to update ~/.bash_history is determined by bash, not by neither konsole nor dolphin. By default, bash will not update ~/.bash_history until it exits . My recommendation is use 'shopt -s histappend' and put 'history -a; history -n' into $PROMPT_COMMAND, so that the ~/.bash_history is updated after each command, and the history is synchronized across all running bash. You may have misundertood what F4 does in step 7. It only hides the terminal widget, instead of 'exiting terminal'. That bash is still running, so of course ~/.bash_history is not updated. I will close this as INVALID . I object to your clsoing the bug - If I did misunderstand what F4 is doing, then it may need to be more clearly presented. Even once we agree what F4 is actually doing, there remains the questions SHOULD it be doing that. Specifically, I have two objections. First, if it closes a console window in a windowing GUI, a user can be expected to think that it is closed. Second, How then should a dolphin user actually close the console session, without having to close dolphin. Sounds a bit much to have to ask a user to close dolphin, and then re-enter dolphin, just to clean up a console executed under dolphin. --- On Thu, 8/4/11, Jekyll Wu <adaptee@gmail.com> wrote: > From: Jekyll Wu <adaptee@gmail.com> > Subject: [Bug 267902] dolphin terminal improperly saves bash history > To: whatmeurgent@yahoo.com > Date: Thursday, August 4, 2011, 9:46 AM > https://bugs.kde.org/show_bug.cgi?id=267902 > > > Jekyll Wu <adaptee@gmail.com> > changed: > > What > |Removed > |Added > ---------------------------------------------------------------------------- > > Status|UNCONFIRMED > |RESOLVED > Resolution| > > |INVALID > > > > > --- Comment #2 from Jekyll Wu <adaptee gmail > com> 2011-08-04 13:46:31 --- > You may have misundertood what F4 does in step 7. It only > hides the terminal > widget, instead of 'exiting terminal'. That bash is still > running, so of course > ~/.bash_history is not updated. > > I will close this as INVALID . > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are a voter for the bug. > You are on the CC list for the bug. > You reported the bug. > I object to your clsoing the bug - If I did misunderstand what F4 is doing, then it may need to be more clearly presented. Even once we agree what F4 is actually doing, there remains the questions SHOULD it be doing that. Specifically, I have two objections. First, if it closes a console window in a windowing GUI, a user can be expected to think that it is closed. Second, How then should a dolphin user actually close the console session, without having to close dolphin. Sounds a bit much to have to ask a user to close dolphin, and then re-enter dolphin, just to clean up a console executed under dolphin. --- On Thu, 8/4/11, Jekyll Wu <adaptee@gmail.com> wrote: > From: Jekyll Wu <adaptee@gmail.com> > Subject: [Bug 267902] dolphin terminal improperly saves bash history > To: whatmeurgent@yahoo.com > Date: Thursday, August 4, 2011, 9:46 AM > https://bugs.kde.org/show_bug.cgi?id=267902 > > > Jekyll Wu <adaptee@gmail.com> > changed: > > What > |Removed > |Added > ---------------------------------------------------------------------------- > > Status|UNCONFIRMED > |RESOLVED > Resolution| > > |INVALID > > > > > --- Comment #2 from Jekyll Wu <adaptee gmail > com> 2011-08-04 13:46:31 --- > You may have misundertood what F4 does in step 7. It only > hides the terminal > widget, instead of 'exiting terminal'. That bash is still > running, so of course > ~/.bash_history is not updated. > > I will close this as INVALID . > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are a voter for the bug. > You are on the CC list for the bug. > You reported the bug. > (In reply to comment #4) > About the first objection: I have no idea. Maybe you are right. And the second objection: you can always tell that shell to exit by pressing 'Ctrl+D' as in any normal terminal emulator, without closing your dolphin. Anyway, you (as reporter) should be able to reopen this report. But I think your objection/confusion can only be solved in the dolphin side. |