aboutsummaryrefslogtreecommitdiffstats
path: root/pfc.1
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2023-02-11 11:51:06 -0330
committerSam Anthony <sam@samanthony.xyz>2023-02-11 11:51:06 -0330
commit275bea0c626fa3e62aed714225603d51c4141151 (patch)
tree1ba105dae20c5bac1a6d04ee1eccb85000a8b398 /pfc.1
parent56ab1aef1e5a16698b7ba26c44cc69e84f9a1893 (diff)
downloadpfc-275bea0c626fa3e62aed714225603d51c4141151.zip
update man page
Diffstat (limited to 'pfc.1')
-rw-r--r--pfc.116
1 files changed, 11 insertions, 5 deletions
diff --git a/pfc.1 b/pfc.1
index b90cc65..a3a627b 100644
--- a/pfc.1
+++ b/pfc.1
@@ -8,7 +8,7 @@ pfc is an interactive postfix, or reverse Polish notation, calculator.
.SH USAGE
.SS Keyboard commands
.TP
-.B q
+.B Shift-q
Quit.
.TP
.B [0..9]
@@ -23,19 +23,19 @@ Remove a digit from the input buffer.
.B Enter
Push the number in the input buffer to the stack.
.TP
-.B j
+.B Shift-j
Swap the bottom (most recently pushed) item on the stack with the input buffer.
If the input buffer is empty this simply moves the most recently pushed item
back into the input buffer.
.TP
-.B k
+.B Shift-k
The same as
.BR j .
.TP
-.B d
+.B Shift-d
Delete the contents of the input buffer.
.TP
-.B Shift-d
+.B Shift-c
Delete the contents of the input buffer and the stack.
.SS Operators
.TP
@@ -72,3 +72,9 @@ Cosine function (radians).
.TP
.B rtan
Tangent function (radians).
+.TP
+.B deg
+Convert radians to degrees.
+.TP
+.B rad
+Convert degrees to radians.