|
2 | 2 | .\" First parameter, NAME, should be all caps |
3 | 3 | .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection |
4 | 4 | .\" other parameters are allowed: see man(7), man(1) |
5 | | -.TH BPYTHON 1 "August 13, 2008" |
| 5 | +.TH BPYTHON 1 "September 21, 2009" |
6 | 6 | .\" Please adjust this date whenever revising the manpage. |
7 | 7 | .\" |
8 | 8 | .\" Some roff macros, for reference: |
|
19 | 19 | bpython \- a fancy curses interface to the Python interactive interpreter |
20 | 20 | .SH SYNOPSIS |
21 | 21 | .B bpython |
22 | | -.I ini file |
| 22 | +[\fIoptions\fR] [\fIfile\fR [\fIargs\fR]] |
23 | 23 | .SH DESCRIPTION |
24 | 24 | The idea is to provide the user with all the features |
25 | 25 | in\-line, much like modern IDEs, but in a simple, |
@@ -51,53 +51,55 @@ This posts the current buffer to a pastebin (paste.pocoo.org) or writes it to a |
51 | 51 | Unlike other curses apps, bpython dumps the screen data to stdout when you quit, so you see what you've done in the buffer of your terminal. |
52 | 52 | .RE |
53 | 53 |
|
| 54 | +.SH OPTIONS |
| 55 | +The long and short forms of options, shown here as alternatives, are |
| 56 | +equivalent. If bpython sees an argument it does not know, execution falls |
| 57 | +back to the regular Python interpreter. |
| 58 | +.IP "\fB\-c\fR \fIconfig\fR" 4 |
| 59 | +.PD 0 |
| 60 | +.IP "\fB\-\-config=\fR\fIconfig\fR" 4 |
| 61 | +.PD |
| 62 | +Use \fIconfig\fR instead of default config file. |
| 63 | +.IP "\fB\-h\fR" 4 |
| 64 | +.PD 0 |
| 65 | +.IP "\fB\-\-help\fR" 4 |
| 66 | +.PD |
| 67 | +Show the help message and exit. |
| 68 | +.IP "\fB\-i\fR" 4 |
| 69 | +.PD 0 |
| 70 | +.IP "\fB\-\-interactive\fR" 4 |
| 71 | +.PD |
| 72 | +Drop to bpython shell after running \fIfile\fR instead of exiting. |
| 73 | +.IP "\fB\-q\fR" 4 |
| 74 | +.PD 0 |
| 75 | +.IP "\fB\-\-quiet\fR" 4 |
| 76 | +.PD |
| 77 | +Do not flush the output to stdout. |
| 78 | +.IP "\fB\-V\fR" 4 |
| 79 | +.PD 0 |
| 80 | +.IP "\fB\-\-version\fR" 4 |
| 81 | +.PD |
| 82 | +Print bpython's version and exit. |
| 83 | + |
54 | 84 | .SH KEYS |
55 | | -.B <C\-d> |
56 | | -Exit |
57 | | -.RS |
58 | | -Exits the interpreter, like normal interactive Python. |
59 | | -.RE |
60 | | -.B <C\-r> |
61 | | -Rewind |
62 | | -.RS |
63 | | -Rewinds and "undoes" the last statement, read |
64 | | -.B DESCRIPTION |
65 | | -for more info. |
66 | | -.RE |
67 | | -.B <F2> |
68 | | -Save |
69 | | -.RS |
70 | | -Saves the current buffer to a file. |
71 | | -.RE |
72 | | -.B <F8> |
73 | | -Pastebin |
74 | | -.RS |
75 | | -Posts the current buffer to |
76 | | -.B http://paste.pocoo.org/ |
77 | | -(will probably become configurable), and displays the URL. |
78 | | -.RE |
79 | | -.B <Tab> |
80 | | -Autocomplete |
81 | | -.RS |
82 | | -If there's an unambigious completion of the expression, fill it in. |
83 | | -.RE |
| 85 | +bpython's keys are fully configurable. See |
| 86 | +http://docs.bpython-interpreter.org/configuration.html#keyboard |
84 | 87 |
|
85 | 88 | .SH FILES |
86 | | -~/.bpython.ini |
| 89 | +~/.bpython/config |
87 | 90 | .RS |
88 | | -Your bpython config. See sample.ini (in /usr/share/docs/bpython/examples on Debian) for various options you can use, or read |
89 | | -.BR bpython.ini (5) |
| 91 | +Your bpython config. See sample-config (in /usr/share/docs/bpython/examples on Debian) for various options you can use, or read |
| 92 | +.BR bpython-config (5) |
90 | 93 | . |
91 | 94 | .RE |
92 | 95 |
|
| 96 | +.SH KNOWN BUGS |
| 97 | +See http://bitbucket.org/bobf/bpython/issues/ for a list of known issues. |
| 98 | + |
93 | 99 | .SH SEE ALSO |
94 | | -.BR bpython.ini (5), |
| 100 | +.BR bpython-config (5), |
95 | 101 | .BR python (1). |
96 | 102 |
|
97 | | -.SH KNOWN BUGS |
98 | | -Triple quoted strings over multiple lines work, but they're not highlighted |
99 | | -properly. |
100 | | - |
101 | 103 | .SH AUTHOR |
102 | 104 | bpython was written by Robert Anthony Farrell <robertanthonyfarrel@gmail.com> and his bunch of loyal followers. |
103 | 105 | .PP |
|
0 commit comments