#162 fbrun history is broken

future
closed-accepted
None
5
2015-01-25
2012-02-15
No

Patch in Debian

http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=fbrun-bug636632.patch;att=1;bug=636632

Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636632

Package: fluxbox
Version: 1.3.1~dfsg1-2

The history management of fbrun is broken. The most obvious symptom is that
after starting something with it, the next time fbrun is started the cursor up
button doesn't reproduce that command. While one could argue that this is
still subjective, there is another thing that isn't.

The part that is more of a proof is the smashed content of the history file.
For that try the following:
0. remove ~/.fluxbox/fbrun_history (or back it up)
1. run fbrun and enter "xterm" as command
2. run fbrun and enter "sed" as command
3. run fbrun and enter "grep" as command
4. run fbrun and enter "xterm" as command
5. run fbrun and enter "xterm" as command

Don't use the history for entering xterm the second and third time, type them
manually! The contents of fbrun_history on my machine are now:

| sexterm
|
| xterm

I've been looking around the sources a bit, and I'll try to provide a patch. I
have already found one error and one thing that at least makes no sense to me.

Cheers!

Uli

Discussion

  • Mathias Gumz

    Mathias Gumz - 2015-01-02
    • status: open --> closed-accepted
    • assigned_to: Mathias Gumz
    • Group: --> Unstable_(example)
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks