Add simple example showing the use of the flags: p, t, v
Details
Details
- Reviewers
yuripv - Group Reviewers
manpages - Commits
- rS368556: lock(1): Add EXAMPLES section
- mandoc -Tlint clean
- igor clean
- aspell happy
- man ./lock.1 renders the page properly
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 35338 Build 32266: arc lint + arc unit
Event Timeline
| usr.bin/lock/lock.1 | ||
|---|---|---|
| 77 | I would reword this sentence in "5 minutes and disabling switching of virtual terminals". | |
| usr.bin/lock/lock.1 | ||
|---|---|---|
| 77 | Oh, it is actually a "for" meaning, that in 5 minutes it will be unlocked even if the password was not typed in: $ date && lock -t 1 -p Thu Dec 10 22:03:41 CET 2020 lock: fernape using pts/13 on XXXX. timeout in 1 minute. time now is Thu Dec 10 22:03:41 CET 2020 Password:lock: timeout $ date Thu Dec 10 22:04:47 CET 2020 | |
| usr.bin/lock/lock.1 | ||
|---|---|---|
| 77 | Ok, I misunderstood :-) Since I don't want to repeat "and", what about I commit this one? Lock the terminal for 5 minutes, disable switching virtual terminals and use the user's login password to unlock: | |
| usr.bin/lock/lock.1 | ||
|---|---|---|
| 77 | May be "require" instead of "use"? | |
| usr.bin/lock/lock.1 | ||
|---|---|---|
| 77 |
Sounds better. Thanks! | |