如何为新的irssi连接设置默认的昵称?


17

尝试连接到irssi中的irc服务器时,出现以下错误:

root错误的昵称:保留用于服务

建立连接之前,我不知道如何更改昵称。我目前已连接到一台服务器,在该服务器上我有适当的昵称,但是当尝试使用连接到另一台服务器(connect irc.foo.com应打开另一连接)时,它正在尝试使用昵称root

如何更改这个昵称?


2
我认为从根目录运行IRSSI不是一个好主意。
2011年

Answers:


28

您可以使用irssi的-n选项来指定昵称

irssi -n test123

或者您可以转到自己的底部,$HOME/.irssi/config然后在“设置”部分中更改昵称


8

您可以使用以下命令:irssi -n nickname1234

并在连接后更改默认昵称

/ SET default_nick =,默认为user_name

/ SET Alternative_nick =,默认为_

/ SET user_name =,默认为您的登录名

/ SET实名=,默认情况下取自/ etc / passwd

祝你好运


0

在终端中回到家,并进入.irssi光盘,使文件config.txt

粘贴以下

servers = (
  {
    address = "irc.freenode.net";
    chatnet = "freenode";
    port = "6667";
    use_ssl = "no";
    ssl_verify = "no";
    autoconnect = "yes";
  }
);

chatnets = {
  Freenode = {
    type = "IRC";
    autosendcmd = "/msg nickserv identify yourname yourpass";
  };
};

channels = (
  { name = "#test-channel"; chatnet = "Freenode"; autojoin = "Yes"; }
  { name = "#private-test-channel"; chatnet = "Freenode"; password = "yourpass"; autojoin = "Yes"; }
);

settings = {
  core = { real_name = "real name"; user_name = "user name"; nick = "yourusername"; };
  "fe-text" = { actlist_sort = "refnum"; term_force_colors = "yes"; scrollback_time = "7day "; };
  "fe-common/core" = { theme = "default"; };
};

没有理由不使用TLS,复制粘贴设置而不了解它们通常是一个坏主意。我将编辑答案
Yarek T
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.