Mercurial > addons > slrn-macros > slrn-terminal-title-macro
annotate README @ 1:b5ca94cc74ae default tip
Change license to GPL-2.0+
author | Guido Berhoerster <guido+slrn@berhoerster.name> |
---|---|
date | Sat, 25 Jul 2015 17:12:50 +0200 |
parents | 1964c513723a |
children |
rev | line source |
---|---|
0
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
1 slrn Terminal Title Macro |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
2 ========================= |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
3 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
4 The slrn terminal title macro displays user-defined information in the |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
5 terminal title if supported by the terminal. |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
6 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
7 Usage |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
8 ----- |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
9 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
10 The slrn terminal title macro can be used by including it in the .slrnrc user |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
11 initialization file via the `interpret` command, e.g. provided that the file |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
12 terminal-title.sl is located in one of the directories specified by the |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
13 macro_directory configuration variable: |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
14 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
15 interpret "terminal-title.sl" |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
16 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
17 The terminal title macro can be configured through the following slang |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
18 variables: |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
19 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
20 TerminalTitle->article_title_format |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
21 : The string displayed in the terminal title in article mode. The string |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
22 may contain certain substitution identifiers in order to insert |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
23 information from slrn at runtime. |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
24 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
25 TerminalTitle->group_title_format |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
26 : The string displayed in the terminal title in group mode. The string |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
27 may contain certain substitution identifiers in order to insert |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
28 information from slrn at runtime. |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
29 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
30 Substitution identifiers always start with a "%" sign. The following |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
31 substitution identifiers can be referenced from |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
32 TerminalTitle->article_title_format and TerminalTitle->group_title_format: |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
33 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
34 v |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
35 : The slrn version. |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
36 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
37 s |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
38 : The name of the current news server. |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
39 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
40 n |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
41 : The name of the current newsgroup. |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
42 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
43 Contact |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
44 ------- |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
45 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
46 Please send any feedback, translations or bug reports via email to |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
47 <guido+weechat@berhoerster.name>. |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
48 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
49 Bug Reports |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
50 ----------- |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
51 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
52 When sending bug reports, please always mention the exact version of the |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
53 macro with which the issue occurs as well as the version of slrn, slang and |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
54 the operating system you are using and make sure that you provide sufficient |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
55 information to reproduce the issue and include any input, output, any error |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
56 messages and slang stack traces. |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
57 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
58 License |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
59 ------- |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
60 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
61 Except otherwise noted, all files are Copyright (C) 2009 Guido Berhoerster and |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
62 distributed under the following license terms: |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
63 |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
64 Copyright (C) 2009 Guido Berhoerster <guido+slrn@berhoerster.name> |
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
65 |
1
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
66 This program is free software; you can redistribute it and/or |
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
67 modify it under the terms of the GNU General Public License |
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
68 as published by the Free Software Foundation; either version 2 |
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
69 of the License, or (at your option) any later version. |
0
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
70 |
1
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
71 This program is distributed in the hope that it will be useful, |
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
72 but WITHOUT ANY WARRANTY; without even the implied warranty of |
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
73 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
74 GNU General Public License for more details. |
0
1964c513723a
Initial revision
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
diff
changeset
|
75 |
1
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
76 You should have received a copy of the GNU General Public License |
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
77 along with this program; if not, write to the Free Software |
b5ca94cc74ae
Change license to GPL-2.0+
Guido Berhoerster <guido+slrn@berhoerster.name>
parents:
0
diff
changeset
|
78 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |