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

Adding man command #64

Open
dtruong33 opened this issue Sep 10, 2024 · 2 comments
Open

Adding man command #64

dtruong33 opened this issue Sep 10, 2024 · 2 comments

Comments

@dtruong33
Copy link

Proposal: Adding the man command to xv6

Scope:

  • The command itself
  • Man page library for commonly used commands and functions
  • Display and formatting for the pages
  • Functionality for scrolling and searching within the man pages

Implementation: The man command would first take in the user’s command line argument to find the requested man page. It would look for and read that page within the library. It displays the page and waits for further commands.

Files added

  • Man.c: main implementation, including finding, reading, displaying, searching, etc
  • Man: directory to store and retrieve the man pages
  • Makefile: modify to recognize added files
@malensek
Copy link
Contributor

I think this is a good idea. Last semester, we created a 'docs' directory with markdown files for commands, so perhaps you could read from those. The terminal functionality we have is quite limited so you may need to work around the limitations for this.

@geoweb999
Copy link

I can code review this. For ps, I added a markdown file to docs in support of this.

@malensek malensek mentioned this issue Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants