man - no more whoami, mdb (get installed from commands)
This commit is contained in:
parent
dc2194efa7
commit
34dd221af7
|
@ -11,7 +11,7 @@ MAN= acd.1 anm.1 ar.1 ash.1 asize.1 at.1 banner.1 basename.1 \
|
|||
install.1 isodir.1 isoinfo.1 isoread.1 join.1 kill.1 \
|
||||
last.1 leave.1 loadfont.1 loadkeys.1 logger.1 login.1 \
|
||||
look.1 lp.1 ls.1 lspci.1 M.1 mail.1 \
|
||||
mdb.1 mesg.1 mixer.1 mkdep.1 mkdir.1 mkfifo.1 mkfs.1 \
|
||||
mesg.1 mixer.1 mkdep.1 mkdir.1 mkfifo.1 mkfs.1 \
|
||||
mkproto.1 modem.1 mount.1 mt.1 nice.1 nm.1 nohup.1 od.1 \
|
||||
ossinfo.1 ossmix.1 ossplay.1 ossrecord.1 osstest.1 passwd.1 \
|
||||
paste.1 ping.1 playwave.1 postmort.1 pr.1 prep.1 \
|
||||
|
@ -23,7 +23,7 @@ MAN= acd.1 anm.1 ar.1 ash.1 asize.1 at.1 banner.1 basename.1 \
|
|||
term.1 termcap.1 tget.1 time.1 top.1 tr.1 true.1 \
|
||||
truncate.1 tsort.1 tty.1 umount.1 uname.1 unexpand.1 uniq.1 \
|
||||
urlget.1 uud.1 uue.1 vol.1 wc.1 whereis.1 which.1 \
|
||||
who.1 whoami.1 write.1 xargs.1 yap.1 yes.1 linkfarm.1 pkg_view.1
|
||||
who.1 write.1 xargs.1 yap.1 yes.1 linkfarm.1 pkg_view.1
|
||||
|
||||
|
||||
.include <bsd.man.mk>
|
||||
|
|
154
man/man1/mdb.1
154
man/man1/mdb.1
|
@ -1,154 +0,0 @@
|
|||
.TH MDB 1
|
||||
.SH NAME
|
||||
mdb \- MINIX 3 debugger
|
||||
.SH SYNOPSIS
|
||||
.B mdb
|
||||
.RB [ \-fc ]
|
||||
.I file
|
||||
.br
|
||||
.B mdb
|
||||
.BR [-L|-l]log\-file
|
||||
.I exec-file
|
||||
.RI [ core\-file ]
|
||||
.RI [ @command\-file ]
|
||||
.SH DESCRIPTION
|
||||
.de SP
|
||||
.if t .sp 0.4
|
||||
.if n .sp
|
||||
..
|
||||
.B mdb
|
||||
is the MINIX 3 debugger.
|
||||
.SH OPTIONS
|
||||
Its command line options are:
|
||||
.TP
|
||||
.B \-f
|
||||
Just examine the specified file.
|
||||
.TP
|
||||
.B \-c
|
||||
Examine 'core' file. No exec-file will be supplied.
|
||||
.TP
|
||||
.B \-Llog\-file
|
||||
Log to file only
|
||||
.TP
|
||||
.B \-llog\-file
|
||||
Log to file.
|
||||
.SP
|
||||
.IR exec\-file
|
||||
Unless the -c option has been specified, the exec-file is required.
|
||||
.SP
|
||||
.IR core\-file
|
||||
The core-file is optional.
|
||||
.SP
|
||||
If the core-file is supplied,
|
||||
.B mdb
|
||||
assumes that the user wishes to examine the core file.
|
||||
Otherwise
|
||||
.B mdb
|
||||
assumes that the user will run the exec-file and trace it.
|
||||
.SP
|
||||
.IR @command\-file
|
||||
.B mdb
|
||||
executes command from command-file.
|
||||
.SH OVERVIEW
|
||||
.br
|
||||
.B mdb
|
||||
commands are of the form:
|
||||
.I [ expression ]
|
||||
.I command
|
||||
.SP
|
||||
.I expression
|
||||
can be of the form:
|
||||
.IP
|
||||
.I address
|
||||
which defaults to text segment
|
||||
.IP
|
||||
address
|
||||
.I overriden
|
||||
by
|
||||
.I T:
|
||||
for Text segment
|
||||
or
|
||||
.I D:
|
||||
for Data segment
|
||||
or
|
||||
.I S:
|
||||
for Stack segment
|
||||
.IP
|
||||
.I symbol
|
||||
where
|
||||
.B mdb
|
||||
does a lookup for the symbol first as a
|
||||
.I text
|
||||
symbol and then as a
|
||||
.I data
|
||||
symbol.
|
||||
.SP
|
||||
.TP
|
||||
.I command
|
||||
.SP
|
||||
The help command is ?.
|
||||
.SP
|
||||
For detailed help on a command type:
|
||||
.I command ?.
|
||||
.SP
|
||||
A semi-colon can be used to separate commands on a line.
|
||||
.SP
|
||||
.SH MDB COMMANDS
|
||||
.SP
|
||||
! Shell escape
|
||||
.SP
|
||||
# Set Variable or register
|
||||
.SP
|
||||
Tt Current call / Backtrace all
|
||||
.SP
|
||||
/nsf Display for n size s with format f
|
||||
.SP
|
||||
Xx [n] Disasm / & display reg for n instructions
|
||||
.SP
|
||||
Rr a Run / with arguments a
|
||||
.SP
|
||||
Cc [n] Continue with current signal / no signal n times
|
||||
.SP
|
||||
Ii [n] Single step with / no signal for n instructions
|
||||
.SP
|
||||
Mm t n Trace until / Stop when modified t type for n instructions
|
||||
.SP
|
||||
k Kill
|
||||
.SP
|
||||
Bb Display / Set Break-pt
|
||||
.SP
|
||||
Dd Delete all / one break-points
|
||||
.SP
|
||||
P Toggle Pagging
|
||||
.SP
|
||||
Ll name Log to file name / and to standard output
|
||||
.SP
|
||||
Vv Toggle debug flag / Version info
|
||||
.SP
|
||||
V Version info
|
||||
.SP
|
||||
e [t] List symbols for type t
|
||||
.SP
|
||||
y Print segment mappings
|
||||
.SP
|
||||
s [n] Dump stack for n words
|
||||
.SP
|
||||
z [a] Trace syscalls with address a
|
||||
.SP
|
||||
? Help - short help
|
||||
.SP
|
||||
@ file Execute commands from file
|
||||
.SP
|
||||
Qq Quit / and kill traced process
|
||||
.SP
|
||||
.SH "SEE ALSO"
|
||||
.SP
|
||||
trace(2).
|
||||
.SH DIAGNOSTICS
|
||||
|
||||
.SH NOTES
|
||||
|
||||
.SH BUGS
|
||||
|
||||
.SH AUTHOR
|
||||
Philip Murton and others
|
|
@ -1,26 +0,0 @@
|
|||
.TH WHOAMI 1
|
||||
.SH NAME
|
||||
whoami \- print current user name
|
||||
.SH SYNOPSIS
|
||||
\fBwhoami\fR
|
||||
.br
|
||||
.de FL
|
||||
.TP
|
||||
\\fB\\$1\\fR
|
||||
\\$2
|
||||
..
|
||||
.de EX
|
||||
.TP 20
|
||||
\\fB\\$1\\fR
|
||||
# \\$2
|
||||
..
|
||||
.SH EXAMPLES
|
||||
.EX "whoami" "Print user name"
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
In case you forget who you are logged in as, \fIwhoami\fR will tell you. If
|
||||
you use \fIsu\fR to become somebody else,
|
||||
\fIwhoami\fR will give the current effective user.
|
||||
.SH "SEE ALSO"
|
||||
.BR id (1),
|
||||
.BR who (1).
|
Loading…
Reference in a new issue