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
Can't disable notebook mode #6405
Comments
Howdy! From my understanding, you would like the prompt to be your CWD, rather than In[N]? |
AyeAye sir! Yes. That's exactly. |
I am having the same problem, latest version on Mac 11.1. Though the "About" for Kui does not show version anywhere that I can see. I don't think it is just the command prompt, it is a mode problem. In this mode, none of my commands are being interpreted as k8s commands. No special Kui processing. |
Hi @tom342178, thanks for the comment. I just tried the latest Kui on macOS 11.1.0 (you can try the When you say "none of my commands are being interpreted as k8s commands" would you be able to provide some specific examples? e.g. is it that |
@roeniss ok great, thanks for the feedback! |
It looks like Kui is not recognizing the completion of the ssh command and therefore never provides a Kui prompt for the next command, even though I am able to interact with the remote host. I thought it might be related to the password request from the ssh command so I tried to ssh to a local device that uses token and it never returns a new Kui prompt, just the remote system prompt. I have not used Kui for a few months and the old version never had this problem. |
I'm sorry but I didn't know how get my prompt not to be notebook style. @starpit I don't want to press you but Isn't it possible on latest build? thanks :) |
@tom342178 Thanks for the clarification. I'm not sure how this ever could have worked. If I understand correctly, you are ssh'ing into a remote host. On that host, the |
This introduces a nascent `kuiconfig set/unset/reset` command structure. Fixes kubernetes-sigs#6405
This introduces a nascent `kuiconfig set/unset/reset` command structure. To set your prompt to be the current working directory, try: ``` kuiconfig set prompt CWD ``` Fixes kubernetes-sigs#6405
This introduces a nascent `kuiconfig set/unset/reset` command structure. To set your prompt to be the current working directory, try: ``` kuiconfig set prompt CWD ``` Fixes kubernetes-sigs#6405
This introduces a nascent `kuiconfig set/unset/reset` command structure. To set your prompt to be the current working directory, try: ``` kuiconfig set prompt CWD ``` Fixes kubernetes-sigs#6405
@roeniss Thanks for the suggestion. We have a PR that would expose a way to configure this, via command. We have delayed this level of configuration mostly because we haven't had the time to design the UI around it. But the command structure should be good to go, and should be released once 9.3.4 is out. Once that happens, the command would be
Where "CWD" has special meaning. But you may also use any fixed unicode prompt, e.g.
(note the double backslash, since one needs to escape kui's command line parser) |
This introduces a nascent `kuiconfig set/unset/reset` command structure. To set your prompt to be the current working directory, try: ``` kuiconfig set prompt CWD ``` Fixes kubernetes-sigs#6405
This introduces a nascent `kuiconfig set/unset/reset` command structure. To set your prompt to be the current working directory, try: ``` kuiconfig set prompt CWD ``` Fixes kubernetes-sigs#6405
This introduces a nascent `kuiconfig set/unset/reset` command structure. To set your prompt to be the current working directory, try: ``` kuiconfig set prompt CWD ``` Fixes #6405
This introduces a nascent `kuiconfig set/unset/reset` command structure. To set your prompt to be the current working directory, try: ``` kuiconfig set prompt CWD ``` Fixes kubernetes-sigs#6405
This introduces a nascent `kuiconfig set/unset/reset` command structure. To set your prompt to be the current working directory, try: ``` kuiconfig set prompt CWD ``` Fixes #6405
9.3.4 is out 🛸 |
Describe the bug
From this status, I can not make the same page with the readme screenshot :
as seen as above, my kui screen looks like work in "notebook mode" (I mean, look at that "In[1]") by default, and I want to use it as "terminal mode" (as same as the second screenshot : "kui >")
Probably this is not a bug rather I missed my way, but there's not much resources that I can look up so I came here. If this bothers you, really sorry about that.
System
The text was updated successfully, but these errors were encountered: