-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Implement MORE command and fix for LS #1556
Conversation
Thanks for implementing this @Wengier I'm not going to do an in depth review of this yet, because I feel that the It looks like to me that the file reading, and pipe/redirection reading could be split out into their own functions, unless you can find a way to add more commonality between the two code paths. I realize that |
@Wengier Will there be a similar PR for the |
@MasterO2 LESS is never a standard DOS command (unlike MORE). So I wonder if it should be added as a builtin command (if it is added, many more non-standard commands may be added too). |
@shermp Thanks for the feedback. I will clean up the command further. |
If adding There might be a nearly endless treadmill to re-implement any other GNU shell commands as well, right after LESS. Even if an army of volunteer developers materialized to perform this work - who is going to review and maintain those applications? I certainly won't be pouring my own hours into reviewing that work (even if it existed) - it would grind my own progress to a halt and harm Staging's pursuit of its in-scope tasks. @MasterO2 are there free options you can add that satisfy your need for something like LESS? |
@kcgen I already use the |
@MasterO2 LESS command is never a standard DOS command, and I think few people would use it in DOS. There are also better alternatives for viewing text in DOS. |
If someone wants to use LESS they can install it themselves from FreeDOS repo. Its not part of FreeDOS Base package group but part of Unix-like package group: DOS is DOS and Unix is Unix. |
Just wanted to say I agree with the approach guys, and look forward to the next iteration! |
Any progress on this one, @Wengier? |
@MasterO2 I also have other PRs to work on; will get back to this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The state of this PR is pending addressing the comments mentioned here:
(No rush; just talking another pass through all the open PRs.)
As this PR has been idle for some time, I'm going to park it off the main page, however the PR and the work is very welcome, when the time is right to keep progressing it. We can open and carry on then. Thank you @Wengier ! |
This adds MORE command so that commands like
MORE FILE.TXT
,MORE < FILE.TXT
andDIR | MORE
will work. Also added fix for LS command so that one file is shown on one line when piping to MORE command (or when /1 option is used) as well as help message for MORE command.