Cyber Asylum
VIM - nechcené posúvanie sa po slovách klávesami šípok
Zažil som doteraz neštandardné správanie sa editoru VIM spusteného v emulátore terminálu XTerm. Už odjakživa sa pohybujem v textových editoroch pomocou kláves šípok a inak tomu nie je u mňa ani vo VIMe. Neštandardné správanie spočívalo v posúvaní sa kurzoru po slovách a nie po znakoch ako by tomu malo byť. Závada spočívala v nastavení, alebo skôr nenastavení keyboardType parametru pre XTerm. Ja som použil hodnotu vt220 k plnej spokojnosti.
 
Forced messages broadcast to all connected resources with Prosody Jabber server: message forced broadcast module
My PC (serving also as NAS, HTPC, music player...) is turned on 24/7. So I'm nonstop logged into my jabber server from this PC. Even when I'm away. I own Nokia N900 and I have purchased celluar data program so I'm logging into jabber via this smartphone when I am away from PC.

XMPP handles multiple connected resources via resource priority routing. So the initial message will be delivered to resource with lower priority number (lower integer value = higher priority where 0 is the highest priority) or to all resources if you have set ignore_presence_priority in config (in case you are using Prosody Jabber server like me). But if you reply to message, client on the other side will be propably replying directly to resource from which you replied until you write or reply from another resource. So messages are delivered only to the one resource and you must manually switch resource by sending message from different one. There is a chance you'll miss some messages with this behaviour (they will be delivered to another resource you used before). Or maybe there is a buggy client on the other side which can't handle resources in standard way.

This could be solved by XEP-0280 unfortunately this feature isn't supported by clients yet. So this is why I decided to ask on Táto adresa je chránená pred robotmi nevyžiadanej pošty. Ak ju chcete vidieť, musíte mať povolený JavaScript. channel.
 

Jaroslav Petráš


asfethan

Narodený v roku 1988

moje profesie
 - programátor
 - GNU/Linux SysAdmin
 - Web developer
 - správca IT

moje záľuby
 - korčulovanie
 - squash
 - spoločenské akcie
 - hudba
 - autá
 - práca s IT

e-mail
   asfethan@cyberasylum.eu

jabber
   asfethan@cyberasylum.eu

Moja plocha


desktop screenshot

 - Debian GNU/Linux OS
 - XMonad
 - GNOME 3
 - gvim
 - xterm
 - dzen2
 - stalonetray
 - sysinfo-dzen2-php

Teamspeak 3 server


ts.niekde.sk
ts.cyberasylum.eu
  • free to use
  • for new permanent channels, informations or abuse reports please use e-mail address below

e-mail
   ts@cyberasylum.eu