Bug 376035 - The embedded terminal emulator of Krusader could be improved to be like the one of Kate, Dolphin, etc.
Summary: The embedded terminal emulator of Krusader could be improved to be like the o...
Status: RESOLVED WORKSFORME
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-05 10:11 UTC by Toni Asensi Esteve
Modified: 2018-05-06 00:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Asensi Esteve 2017-02-05 10:11:11 UTC
Hi!

Using Kubuntu 16.04 and the embedded terminal emulator of Krusader: if the user presses the up arrow key then he can see the previous commands even if they start with a space (for example, the numerous ` cd [directory]` that fill the command history). However, the problem isn't seen if Konsole is utilized, or if the embedded terminal emulator of Dolphin is used, or if the embedded terminal emulator of Kate is utilized (in those places: if a command starts with a space then it isn't saved in the command history, as it was expected there).

If `man bash` is executed then it's seen that the HISTCONTROL variable can be used to control that behaviour.

If `echo $HISTCONTROL` is executed inside Konsole, or if the terminal emulator of Kate, then it writes:
    ignoreboth
but if it's executed inside the embedded terminal emulator of Krusader... it writes nothing.

Executing
    $ grep HISTCONTROL -R
then it's written
    [...]
    .bashrc:HISTCONTROL=ignoreboth

Maybe the embedded terminal emulator of Krusader should obey what the user says in the .bashrc file?

To avoid the aforementioned problem, the embedded terminal emulator of Krusader could behave like Konsole or the embedded terminal emulator of Dolphin or Kate, for example.
Comment 1 Toni Asensi Esteve 2017-02-05 14:54:44 UTC
I rebooted the machine and it isn't happening now there. It looks like something similar happened in the past:
   https://groups.google.com/d/msg/krusader-users/jrD94YIo6aE/p72JJav-degJ
but using a former version of Krusader.

If it happens again, I will be able to reopen this bug report. Thanks!