User Tools

Site Tools


packages:psi

This is an old revision of the document!


Psi

Links:

There are several things that got patched and are not included in the official builds (some of them may be only avaliable on the DEVEL branch):

  • status indicator (small ,,i layered over the contacts' roster icon) showing if a contact set a status text * the “Online” default status text is removed * status history * nicechats (allows setting arbitrary colors for the chat dialog) * rich roster * custom os patch * ad-hoc commands * embedding LaTeX formulas in chat windows ===== Status history ===== Taken from the patch announcement on the psi-devel mailing list: <file>with this patch: - statusdlg - alt+up/down recent status history - config.xml - option to set history length and flag 'store presets' (should preset statuses be stored in 'recent' list) :o) J/S. </file> ===== Rich roster ===== Also taken from the patch announcement on the psi-devel mailing list: <file>Subject: [Psi-devel] [patch] roster item custom display From: Jacek Tomasiak groups@skazi.prv.pl To: psi-devel psi-devel@lists.sourceforge.net Date: Thu, 18 Mar 2004 13:44:58 +0100 patch for flyspray task #157 http://psi.affinix.com/flyspray/index.php?do=details&id=157 1. class RichListViewItem - general RichText(“html”) support for list views. It is optimized for non-flicker display, but it's obvious that rendering RichText is more time consuming that normal DrawText. Multiline items are handled in “natural way” by <br> tags, it seems to be the most flexible solution. Text is “auto wrapped” to roster width by default. To avoid this use <nobr></nobr> tags (doesn't add “…” for long strings :o( ) 2. changes in contactview: * custom “templates” are attached to contacts like custom iconsets, with regex matched against jid * at this moment available features are: - html formatting (you can change font, color, size… of selected contacts) - additional tags (“!” versions start newline if result of tag not empty, this way you won't have empty lines in roster, to force line break use simple <br> tag): – <text>, <!text> - name of contact (default) – <jid>, <!jid> - bare jid – <status_msg>, <!status_msg> - text status message (if present) (need to add some trimming maybe) – more to come… suggestions please (priority, resource, status as text (“online”, “away”, etc.), client version, auth state) * template interpretation can be extended easily by reimplementing expandTemplate() virtual function (done in contactview) * emoticons are supported, just like in tooltip 3. configuration is done in config.xml at this point. Template strings have to be escaped (xml!) (I don't want to mess with current optionsdlg layout, waiting for decisions from the core-team :oD) EXAMPLE: … <templates> <!– agents/transports/servers → “NAME (service)”, service is in green –> <item regExp=“^[^@]*$” template=“&lt;nobr>&lt;TEXT> (&lt;font color=&quot;green&quot;>service&lt;/font>)&lt;/nobr>” /> <!– selected contacts → “NAME[<br>STATUS MESSAGE]”, second line in -1 white font –> <item regExp=“justin|mblsha|skazi” template=“&lt;nobr>&lt;TEXT>&lt;/nobr>&lt;font size=&quot;-1&quot; color=&quot;white&quot;>&lt;!STATUS_MSG>&lt;/font>” /> </templates> … some screenshots can be found at: http://skazi.jogger.pl any comments are welcome enjoy +SkaZi – | PZDR Jacek aka SkaZi
    | mail: skazi@skazi.prv.pl “Oset nie ma zadnego /O `—-. | jabber: skazi@chrome.pl pozytku z tego, ze * (_.-. )\ | GG# 1699141 ICQ# 111926958 sie na nim siedzi…” *|* rs X </file> <file>Subject: Re: [Psi-devel] [patch] roster item custom display From: Jacek Tomasiak groups@skazi.prv.pl To: Jacek Tomasiak psi-devel@lists.sourceforge.net Date: Fri, 19 Mar 2004 20:48:22 +0100 update, some fixes, new fields: * subscription status * resource name * priority * client version (todo: trimming) (for max priority resource) J/S – | PZDR Jacek aka SkaZi
    | mail: skazi@skazi.prv.pl “Oset nie ma zadnego /O `—-. | jabber: skazi@chrome.pl pozytku z tego, ze * (_.-. )\ | GG# 1699141 ICQ# 111926958 sie na nim siedzi…” *|* rs X </file> ===== Custom OS ===== This patch allows you to set your own operating system string without recompiling Psi or modifying system files. To change the OS string reported to other users create a file called
    ~/.psi/custom-os'' with the desired string in the first (and only) line. For example:
PLD Linux 2.6.10-0.37 w/ reiser4 fs

TODO

  • make the instructions more user friendly

CategoryPackages

packages/psi.1106594290.txt.gz · Last modified: 2005-01-24 20:18 by jpc