-
Notifications
You must be signed in to change notification settings - Fork 7.5k
shell: "select" command suddenly gone #10769
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
Comments
@carlescufi @nashif @pfalcon
I am not 100% against but at least I would like to have fair discussion about that. New shell is widely announced hence I expect users are aware about possible changes and losing backward compatibility. |
So, unlike some other things (e.g. #10766) I also not 100% "want it back". I'm just taking a role of an end user (and I am such regarding the use of the shell), and trying to understand how it happened that new, improved shell was designed in a way to not support previous shell features. And then to collect feedback from other people whether they miss it. If I'm the only one, well, I guess I can re-learn. |
IMHO we do not need select command, personally I never used it earlier anyway. |
But people apparently did, see e.g. 0b8fde3 . Quoting the commit message:
|
This is no regression, when you completely change how the subsystem works, to the better, it happens. I have not seen anyone complaining about this being missing or being broken because of that. Very nice to be speaking for the "users", but I did not hear any users complaining about that. This will will need to be documented in the release notes and should be enough IMO. Let's move on. If there is a real bug here, please open one with specific details. |
Fyi, during hackathon @jarz-nordic was playing around making select command which goes one step into command tree. The trick there was that when you are switching to commands 'branch' you don't have |
@nashif: This ticket is open for community discussion. Please don't close it single-headedly, unless you want to make (repeated) precedents of how tickets are handled in the Zephyr project. Obviously, you won't "hear" complaints, if there's a motion to shut up any such discussion. Otherwise, thanks for your opinion. I fully agree that this matter should be finalized until 1.14 release, so it's useful to keep it open until then. |
I do hope that nobody spends implementation effort on this ticket until it's proven as required. I also do hope that it remains a place of discussion, and ultimately, an exercise of change control for all of us. |
@pfalcon then please remove the "Regression" from the title. This is not a regression. |
I still need to find the button that supports multi-headed closing. |
@pfalcon : I am working on
|
@jarz-nordic
@jarz-nordic: Thanks for bringing this up. I actually wanted to post my impressions of "3 months without select". In short, I still miss it, even if mostly subconsciously. If I don't use the shell for 3-4, next session I either start with automatically typing "select", or with typing "iface", "ping", etc., and getting error. Now after posting that, my intention was to close this ticket, because it didn't generate much interest, and as I told a few times, while I consider such matters to be a topic for discussion, I don't consider that someone should spend effort on such obviously subjective matters only because I want. So, please think again if it's good investment of your time. If you implement it, I will use and will appreciate it. The way I would image it to be implement is to store All in all, the above is pretty trivial, and you would certainly know better. But surely let's make it KISS.
I like this. All other points also makes sense. Thanks. |
@pfalcon : I am quite close to PR so please expect it shortly. |
According to comments in #13425 this issue can be closed. |
Following up on the quick discussion on IRC.
So, a user which used both old and new shell would immediately notice the lack of "select" command in the new one. On IRC, I was told that it's not needed, and one can access all commands directly. I don't what was meant by that, but my interpretation is obvious - it would mean that knowing that there's "stats" command in "net" shell module, I can type "stats" and it would get executed.
Of course, it cannot work like that, because there could be "bt stats", etc. commands. So, I proceeded to check, and of course, "stats" doesn't work:
Instead, I need to type:
Of course, it's alleviated by completion, but:
Of course, with possibility no.3 provided, users enjoyed it. And of course, they noticed the regression with the new shell, and submit tickets asking what's up.
The text was updated successfully, but these errors were encountered: