configshell issue with ipv6 portals
by Andy Grover
Hi Christophe,
If you have time, I could use some help with Configshell's parsing.
We bracket iscsi ipv6 portals, so after creating one, it will show up in
targetcli like
o- portals
o- [::]:3260
But, if I type "cd [<tab>" it doesn't autocomplete. I have traced this
down to pyparsing not thinking '[' is a path. I then tried to fix this
by adding \[\] to both parts of the pathstd Regex (shell.py line 118)
like so:
pathstd = Regex('([A-Za-z0-9:_.\[\]]|-)*' + '/' +
'([A-Za-z0-9:_./\[\]]|-)*') | '..' | '.'
but that didn't seem to work.
Would you mind taking a look, or do you have any pointers?
Much thanks -- Andy
8 years, 5 months
urwid trouble in configshell
by Andy Grover
Hi all, wondering if anyone's having the same issue I am. The fancy
Urwid-based path picker (type 'cd' by itself in targetcli) doesn't seem
to be working like it used to. It's leaving my console messed up -- the
enter key is not going to the next line.
Anyone else seeing this?
To be honest I think this is kind of a silly feature, but just left it.
But now that it's broken I might just remove it unless a solution
presents itself very soon.
Regards -- Andy
8 years, 5 months