Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli will hang in match_complete with CLICON_CLI_TAB_MODE equal 4 #196

Closed
nowaits opened this issue Mar 26, 2021 · 2 comments
Closed

cli will hang in match_complete with CLICON_CLI_TAB_MODE equal 4 #196

nowaits opened this issue Mar 26, 2021 · 2 comments
Labels

Comments

@nowaits
Copy link
Contributor

nowaits commented Mar 26, 2021

add CLICON_CLI_TAB_MODE 4 to config.xml as blow:

<clixon-config xmlns="http://clicon.org/config">
  <CLICON_CLI_TAB_MODE>4</CLICON_CLI_TAB_MODE>
</clixon-config>

in cli, first input e, and then , cli will stuck in match_complete and never break

root@localhost.localdomain />e 
@olofhagsand
Copy link
Member

The TAB flags are not tested by regressions, only 0.
If they are available they should be tested. But since they are not they seem to have stopped working, at least flag 4.
So either they should be tested or they should be removed.
Do you think TAB = 4 is useful? do you need it in the application?

/* Steps to complete
 * 0: complete single step. 1: complete all steps at once
 */
#define CLIGEN_TABMODE_STEPS    0x04

olofhagsand added a commit to clicon/cligen that referenced this issue Apr 14, 2021
@olofhagsand
Copy link
Member

Fixed please verify

@nowaits nowaits closed this as completed Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants