From d346fbe1a9c6615c88dfacc420f0256b5a751440 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 16 May 2002 00:34:37 +0000 Subject: Better !channel support - window items now have "visual_name" and channels and queries also have "name". Normally they're identical but with !channels the visible_name contains the short !channel name, while name contains full !ABCDEchannel name. The visible_name should be used whenever displaying the channel name, or as printtext()'s target. So, this breaks a few scripts in !channels, they need to be modified to use $channel->{visible_name} instead. Also /LAYOUT SAVE should finally work properly with !channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2797 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- irssi.conf | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'irssi.conf') diff --git a/irssi.conf b/irssi.conf index 15a29b14..837a6058 100644 --- a/irssi.conf +++ b/irssi.conf @@ -10,8 +10,16 @@ servers = ( { address = "irc.openprojects.net"; chatnet = "OPN"; port = "6667"; }, { address = "irc.gnome.org"; chatnet = "GIMPNet"; port = "6667"; }, { address = "irc.ptlink.net"; chatnet = "PTlink"; port = "6667"; }, - { address = "irc.sorcery.net"; chatnet = "SorceryNet"; port = "6667"; }, - { address = "irc.hashmark.net"; chatnet = "Hashmark"; port = "6667"; }, + { + address = "irc.sorcery.net"; + chatnet = "SorceryNet"; + port = "6667"; + }, + { + address = "irc.hashmark.net"; + chatnet = "Hashmark"; + port = "6667"; + }, { address = "irc.ptnet.org"; chatnet = "PTnet"; port = "6667"; }, { address = "silc.pspt.fi"; chatnet = "SILC"; port = "706"; } ); @@ -25,7 +33,7 @@ chatnets = { max_whois = "4"; max_query_chans = "5"; }; - EFNet = { + EFNet = { type = "IRC"; max_kicks = "4"; max_modes = "4"; @@ -39,7 +47,7 @@ chatnets = { max_msgs = "3"; max_whois = "30"; }; - DALnet = { + DALnet = { type = "IRC"; max_kicks = "4"; max_modes = "6"; @@ -160,9 +168,9 @@ statusbar = { # treated specially .. window is printed with non-empty windows, # window_empty is printed with empty windows - window = "{sb $winref:$T{sbmode $M}}"; + window = "{sb $winref:$itemname{sbmode $M}}"; window_empty = "{sb $winref{sbservertag $tag}}"; - prompt = "{prompt $[.15]T}"; + prompt = "{prompt $[.15]itemname}"; prompt_empty = "{prompt $winname}"; topic = " $topic"; topic_empty = " Irssi v$J - http://irssi.org/help/"; @@ -251,3 +259,10 @@ statusbar = { }; }; }; +settings = { + core = { + real_name = "Timo Sirainen"; + user_name = "cras"; + nick = "cras"; + }; +}; -- cgit v1.2.3