2017-11-19 09:58:06

by manday

[permalink] [raw]
Subject: [BlueZ] bluetoothctl Tab-Completion

Hello,

I would like to point out that the helpful "Tab-Completion" feature in
bluetoothctl (with readline support, I suppose) misbehaves for the
"pair" command, where it suggests either "on" or "off" as argument,
but not a device.

Also, I have noticed that sometimes Tab-Completion drops dead
alltogether, though I couldn't see a reproducible pattern.

Cedric (not subscribed)


-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!


2017-11-20 09:07:43

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [BlueZ] bluetoothctl Tab-Completion

Hi Cedric,

On Sun, Nov 19, 2017 at 11:58 AM, <[email protected]> wrote:
> Hello,
>
> I would like to point out that the helpful "Tab-Completion" feature in
> bluetoothctl (with readline support, I suppose) misbehaves for the "pair"
> command, where it suggests either "on" or "off" as argument, but not a
> device.
>
> Also, I have noticed that sometimes Tab-Completion drops dead alltogether,
> though I couldn't see a reproducible pattern.

Have you tried with latest upstream, I did fix a few things related to
tab-completion, previously it would not ignore leading spaces but now
that should work. I will check what is going one with pair, perhaps
the wrong completion callback is being used.