This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
terminal:profanity [2021/05/26 03:09] nanodano |
terminal:profanity [2021/05/30 21:22] (current) nanodano |
||
---|---|---|---|
Line 4: | Line 4: | ||
Refer to the official user guide for more details: [[https:// | Refer to the official user guide for more details: [[https:// | ||
+ | |||
+ | ===== Video course ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <iframe width=" | ||
+ | </ | ||
+ | </ | ||
===== Installation ===== | ===== Installation ===== | ||
Line 60: | Line 68: | ||
< | < | ||
- | /account set nobody@devdungeon.com eval_password pass xmpp/nobody | + | /account set nobody@devdungeon.com eval_password |
</ | </ | ||
Line 186: | Line 194: | ||
[connection] | [connection] | ||
+ | defaccount=you@devdungeon.com | ||
account=you@devdungeon.com | account=you@devdungeon.com | ||
Line 197: | Line 206: | ||
nanodano=/ | nanodano=/ | ||
devdungeon=/ | devdungeon=/ | ||
+ | |||
+ | [logging] | ||
+ | chlog=true | ||
+ | grlog=true | ||
+ | maxsize=1048580 | ||
+ | rotate=true | ||
+ | shared=true | ||
[otr] | [otr] | ||
warn=true | warn=true | ||
- | log=redact | + | log=on |
- | policy=opportunistic | + | policy=manual |
+ | |||
+ | [presence] | ||
+ | autoaway.mode=away | ||
+ | autoaway.time=15 | ||
+ | autoaway.message=Away from computer | ||
+ | autoaway.check=true | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== PGP Encryption ===== | ||
+ | |||
+ | You need a private key for yourself and the public key of your recipient. If you need someone to send a message to, you can send me a message using my public key. You can get my public key from [[https:// | ||
+ | |||
+ | <code bash> | ||
+ | # Download/ | ||
+ | curl -O https:// | ||
+ | |||
+ | #or | ||
+ | |||
+ | # Fetch nanodano@devdungeon.com public key from a keyserver | ||
+ | gpg --keyserver pgp.mit.edu --recv A6D4E83A1866995E | ||
+ | gpg --keyserver hkps.pool.sks-keyservers.net --recv A6D4E83A1866995E | ||
+ | </ | ||
+ | |||
+ | In Profanity, configure which PGP key should be associated with your XMPP account and set the public key for your recipient: | ||
+ | |||
+ | < | ||
+ | # List keys in your store | ||
+ | /pgp keys | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # Set your private PGP key to your account | ||
+ | /account set < | ||
+ | # For example: | ||
+ | /account set me@devdungeon.com pgpkeyid AAAABBBBCCCCDDDD | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # Set recipient account public key | ||
+ | /pgp setkey nanodano@devdungeon.com A6D4E83A1866995E | ||
+ | </ | ||
+ | |||
+ | Start and end PGP-encrypted conversations with: | ||
+ | |||
+ | < | ||
+ | /pgp start nanodano@devdungeon.com | ||
+ | /pgp end | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== vi keybinds ===== | ||
+ | |||
+ | Profanity uses readline so it supports tab completion and all the same keybinds a shell does like CTRL-P and CTRL-W. You can also set it to use vi keybinds. Update your `~/ | ||
+ | |||
+ | |||
+ | <code | input.rc> | ||
+ | set editing-mode vi | ||
+ | </ | ||
+ |