Unified · Split
| @@ -0,0 +1,91 @@ | |||
| 1 | XMPP(1) General Commands Manual XMPP(1) | ||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | NAME | ||
| 6 | xmpp - XMPP client | ||
| 7 | |||
| 8 | SYNOPSIS | ||
| 9 | xmpp [ -n nick ] [ -r resource ] [ -p ] [ -h ] [ -y ] jid | jid@server | ||
| 10 | |||
| 11 | DESCRIPTION | ||
| 12 | xmpp is a simple XMPP client. | ||
| 13 | |||
| 14 | It supports multi-user chat (MUC). Server-side bookmarks are used to | ||
| 15 | join specific MUCs automatically on connect. TLS is required, SCRAM- | ||
| 16 | SHA-1, DIGEST-MD5 and PLAIN authentication methods are supported. The | ||
| 17 | latter is enabled using -y option. Thumbprints of trusted servers are | ||
| 18 | expected to be in /sys/lib/tls/xmpp, see thumbprint(6). | ||
| 19 | |||
| 20 | -p enables "joined"/"left" messages, which are disabled by default. | ||
| 21 | |||
| 22 | -h allows MUCs to send out "discussion history". | ||
| 23 | |||
| 24 | The command language understood by xmpp is as follows: | ||
| 25 | /j [jid[/nick] [passwd]] | ||
| 26 | join MUC | ||
| 27 | /p [target] | ||
| 28 | part MUC | ||
| 29 | /q data | ||
| 30 | send raw data to the server | ||
| 31 | /t target | ||
| 32 | cycle through matching targets | ||
| 33 | /w [target] | ||
| 34 | get list of active nicks in the MUC | ||
| 35 | /W [target] | ||
| 36 | get list of all nicks in the MUC | ||
| 37 | /b | ||
| 38 | list bookmarked MUCs | ||
| 39 | /b+ | ||
| 40 | bookmark current MUC | ||
| 41 | /b- | ||
| 42 | remove current MUC from bookmarks | ||
| 43 | /a target affiliation | ||
| 44 | set affiliation (for a target in MUC) | ||
| 45 | /a [room] | ||
| 46 | get affiliations for a room (current one if no args given) | ||
| 47 | /me ... | ||
| 48 | "/me"-style message | ||
| 49 | /m | ||
| 50 | start multiline message (end with a dot on a single line) | ||
| 51 | /n nick | ||
| 52 | set nick for current MUC | ||
| 53 | /r | ||
| 54 | show roster (list online contacts) | ||
| 55 | /R | ||
| 56 | show roster (show offline and jids) | ||
| 57 | /r+ (jid|target) [name] | ||
| 58 | subscribe/approve, add to roster | ||
| 59 | /r- target | ||
| 60 | unsubscribe/decline, remove from roster | ||
| 61 | /s [room] | ||
| 62 | show current subject | ||
| 63 | /S [room] | ||
| 64 | start new subject (end with a dot on a single line) | ||
| 65 | |||
| 66 | Affiliations are: none, owner, admin, member, outcast. | ||
| 67 | |||
| 68 | The target can be specified as follows: | ||
| 69 | room@domain a specific room | ||
| 70 | room@domain/nick private chat (MUC) | ||
| 71 | Wernher private chat (roster, name) | ||
| 72 | wernher@paperclip.gov private chat (roster, jid) | ||
| 73 | |||
| 74 | Assuming you previously joined a MUC pravda@cc.cpsu.su, you can quickly | ||
| 75 | switch to private chat with kgbvax as follows: | ||
| 76 | /t pravda/kgbvax | ||
| 77 | /t pr/kgb | ||
| 78 | /t p/k | ||
| 79 | |||
| 80 | SOURCE | ||
| 81 | https://github.com/ftrvxmtrx/xmpp | ||
| 82 | |||
| 83 | BUGS | ||
| 84 | Of course. | ||
| 85 | |||
| 86 | NOTES | ||
| 87 | XMPP sucks. XML sucks. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | XMPP(1) | ||
| @@ -46,83 +46,83 @@ is as follows: · 45 unmodified lines | |||
| 46 | .EX | 46 | .EX |
| 47 | /j [jid[/nick] [passwd]] | 47 | /j [jid[/nick] [passwd]] |
| 48 | .EE | 48 | .EE |
| 49 | join MUC | 49 | join MUC |
| 50 | .EX | 50 | .EX |
| 51 | /p [target] | 51 | /p [target] |
| 52 | .EE | 52 | .EE |
| 53 | part MUC | 53 | part MUC |
| 54 | .EX | 54 | .EX |
| 55 | /q data | 55 | /q data |
| 56 | .EE | 56 | .EE |
| 57 | send raw data to the server | 57 | send raw data to the server |
| 58 | .EX | 58 | .EX |
| 59 | /t target | 59 | /t target |
| 60 | .EE | 60 | .EE |
| 61 | cycle through matching targets | 61 | cycle through matching targets |
| 62 | .EX | 62 | .EX |
| 63 | /w [target] | 63 | /w [target] |
| 64 | .EE | 64 | .EE |
| 65 | get list of active nicks in the MUC | 65 | get list of active nicks in the MUC |
| 66 | .EX | 66 | .EX |
| 67 | /W [target] | 67 | /W [target] |
| 68 | get list of all nicks in the MUC | ||
| 69 | .EE | 68 | .EE |
| 69 | get list of all nicks in the MUC | ||
| 70 | .EX | 70 | .EX |
| 71 | /b | 71 | /b |
| 72 | .EE | 72 | .EE |
| 73 | list bookmarked MUCs | 73 | list bookmarked MUCs |
| 74 | .EX | 74 | .EX |
| 75 | /b+ | 75 | /b+ |
| 76 | .EE | 76 | .EE |
| 77 | bookmark current MUC | 77 | bookmark current MUC |
| 78 | .EX | 78 | .EX |
| 79 | /b- | 79 | /b- |
| 80 | .EE | 80 | .EE |
| 81 | remove current MUC from bookmarks | 81 | remove current MUC from bookmarks |
| 82 | .EX | 82 | .EX |
| 83 | /a target affiliation | 83 | /a target affiliation |
| 84 | .EE | 84 | .EE |
| 85 | set affiliation (for a target in MUC) | 85 | set affiliation (for a target in MUC) |
| 86 | .EX | 86 | .EX |
| 87 | /a [room] | 87 | /a [room] |
| 88 | .EE | 88 | .EE |
| 89 | get affiliations for a room (current one if no args given) | 89 | get affiliations for a room (current one if no args given) |
| 90 | .EX | 90 | .EX |
| 91 | /me ... | 91 | /me ... |
| 92 | .EE | 92 | .EE |
| 93 | "/me"-style message | 93 | "/me"-style message |
| 94 | .EX | 94 | .EX |
| 95 | /m | 95 | /m |
| 96 | .EE | 96 | .EE |
| 97 | start multiline message (end with a dot on a single line) | 97 | start multiline message (end with a dot on a single line) |
| 98 | .EX | 98 | .EX |
| 99 | /n nick | 99 | /n nick |
| 100 | .EE | 100 | .EE |
| 101 | set nick for current MUC | 101 | set nick for current MUC |
| 102 | .EX | 102 | .EX |
| 103 | /r | 103 | /r |
| 104 | .EE | 104 | .EE |
| 105 | show roster (list online contacts) | 105 | show roster (list online contacts) |
| 106 | .EX | 106 | .EX |
| 107 | /R | 107 | /R |
| 108 | .EE | 108 | .EE |
| 109 | show roster (show offline and jids) | 109 | show roster (show offline and jids) |
| 110 | .EX | 110 | .EX |
| 111 | /r+ (jid|target) [name] | 111 | /r+ (jid|target) [name] |
| 112 | .EE | 112 | .EE |
| 113 | subscribe/approve, add to roster | 113 | subscribe/approve, add to roster |
| 114 | .EX | 114 | .EX |
| 115 | /r- target | 115 | /r- target |
| 116 | .EE | 116 | .EE |
| 117 | unsubscribe/decline, remove from roster | 117 | unsubscribe/decline, remove from roster |
| 118 | .EX | 118 | .EX |
| 119 | /s [room] | 119 | /s [room] |
| 120 | .EE | 120 | .EE |
| 121 | show current subject | 121 | show current subject |
| 122 | .EX | 122 | .EX |
| 123 | /S [room] | 123 | /S [room] |
| 124 | .EE | 124 | .EE |
| 125 | start new subject (end with a dot on a single line) | 125 | start new subject (end with a dot on a single line) |
| 126 | .PP | 126 | .PP |
| 127 | Affiliations are: none, owner, admin, member, outcast. | 127 | Affiliations are: none, owner, admin, member, outcast. |
| 128 | .PP | 128 | .PP |
| @@ -144,7 +144,6 @@ as follows: · 15 unmodified lines | |||
| 144 | /t pr/kgb | 144 | /t pr/kgb |
| 145 | /t p/k | 145 | /t p/k |
| 146 | .EE | 146 | .EE |
| 147 | .PP | ||
| 148 | .SH SOURCE | 147 | .SH SOURCE |
| 149 | https://github.com/ftrvxmtrx/xmpp | 148 | https://github.com/ftrvxmtrx/xmpp |
| 150 | .SH BUGS | 149 | .SH BUGS |