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

tab completion trouble with 7.3 #64

Closed
JonathanStade opened this issue Aug 2, 2012 · 1 comment
Closed

tab completion trouble with 7.3 #64

JonathanStade opened this issue Aug 2, 2012 · 1 comment
Assignees
Labels

Comments

@JonathanStade
Copy link

If I type '/etc/init.d/msm all [tab] ' (note space has to be there after the all) I get

[root@aredhel profile.d]# /etc/init.d/msm all Could not find id for server name "all".
logout

username@aredhel ~]$

thus dropping me out of my root shell. It seems to sometimes leave the unpriv'd user shell in a state that requires a reset. to see the text i'm typing (as if ctrl-s had been executed). I think it may be returning ctrl characters including ctrl-s and ctrl-d, with the ctrl-d of course causing the logout. I seriously could not figure how this is happening after digging through the tab completion file, but maybe I'll spot something tomorrow when it's not 2am.

@ghost ghost assigned marcuswhybrow Aug 2, 2012
@marcuswhybrow
Copy link

Thanks @JonathanStade,

The problem is that, as you know, all is a special keyword and not a actual server name. The tab completion is assuming that all is a server name and attempting to get it's ID. This fails and in my experience any failure in the tab completion code give the result seen here.

I'm pretty sure I can fix it simply.

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