#25 [double] tab in setkey -c shows files in directory


[Inspired by
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=303573 ]

If setkey is compiled with readline support, is invoked
with -c option, and its input contains tab characters
[I needed two of them in the row, original report
stated that single \t is sufficient], then file(?)
completion function starts and list of files is shown.
Setkey's commands do not take filenames as arguments,
therefore such behaviour at best confuses users, at
worst can reveal filesystem data, if setkey would be
used in some web services without proper checking of
arguments. I think that readline should be told do not
do file completion in setkey program.

I don't know readline's programming. And, if memory
serves me right, Ludvik added support for readline to
setkey. Therefore I have assigned this bug to him. If
somebody other knows how to fix that and has time to
spare – you are wellcome!


  • Michal Ludvig

    Michal Ludvig - 2005-04-10

    Logged In: YES

    I'll look at it. Thanks for the report I haven't noticed
    that so far...

  • Aidas Kasparas

    Aidas Kasparas - 2005-07-16

    Logged In: YES

    Commited to CVS (HEAD and 0.6)

  • Aidas Kasparas

    Aidas Kasparas - 2005-07-16
    • assigned_to: ludvigm --> monas
    • status: open --> closed

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

No, thanks