[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] No bug, but a question
From: |
Julien Claassen |
Subject: |
[Bug-readline] No bug, but a question |
Date: |
Mon, 14 Jul 2008 15:37:39 +0200 (CEST) |
Hello!
First: I hope this reaches you. If so I'm not subscribed to the
mailing-list, if that's important.
I want to implement a match-generator, that returns directory names only. I
tried to use
rl_filename_completion_function
embedded in a function of type
rl_compentry_func_t.
There I tried to filter out matches, that contained a slash at the end. But
all matches didn't contain a slash there. I set
rl_filename_completion_desired
to 1, because I read something about directories getting a slash attached
with this variable set. Still no luck.
What can I do? Do you probably have a function doing exactly that, for I
think it's not too uncommon. Bash at least can do it.
Kindest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
- [Bug-readline] No bug, but a question,
Julien Claassen <=