https://bugs.kde.org/show_bug.cgi?id=376035

            Bug ID: 376035
           Summary: The embedded terminal emulator of Krusader could be
                    improved to be like the one of Kate, Dolphin, etc.
           Product: krusader
           Version: Git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@fork.pl
          Reporter: toni.ase...@kdemail.net
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to