Read more about the nonblock option in the screen manual. Ample time should be spent adjusting the appearance of irssi to make the client suitable for you. This includes changing the theme, adding or splitting windows, and manipulating the statusbars.
The theme only changes the colors of text and objects in Irssi, as well as some symbols used in the statusbars. The theme used in that screenshot is my own hack of the irssi default themes called fear2. To load a new theme, first download the. See the irssi screenshot above. To do this, first load the script. It is available here: hilightwin.
Next, create the split window. If you did everything correctly, it should be logged to the split window. Note: you may notice that when starting up a fresh Irssi instance after having configured the hilight window, the active window is the hilight window instead of the status window.
If you connect to servers with the hilight window active, your channels may be placed in the top container instead of the bottom container as you would expect. A simple workaround for this is to simply hit Alt-1 to switch to your status window, which is in the bottom container, before you connect. See number 2 in the screenshot above.
This is the default statusbar that you will see in any default irssi setup. However, mine is slightly modified to include a user count of the current channel. This is easily done by loading the usercount. This is my favorite part of my Irssi setup.
The screenshot above displays chanact. As of October 16, , this article explains the setup of awl Advanced Windowlist instead of chanact. This is a fabulous script that grants powerful manipulation of the active window list.
Upon loading, AWL will create new statusbars on its own. AWL is an updated version of the older chanact. AWL has many, many new features developed by Nei. It would be worth your time to read the comments at the top of the script to get a feel for what all you can do with it an entire article could be written on the features of this script and how to use them. Now would be a good time to remove the standard Act statusbar item.
The possible settings and explanations for them are listed at the top of the awl script. The current settings I am using for awl are:. Here is a list of common commands, aliases, and some tips on using them. Linux terminal emulator programs also have this problem.
The terminal emulator rxvt-unicode urxvt , which has a resource option called cutchars read the manpage for urxvt.
Xdefaults :. This topic is covered elsewhere but I mention it here for completeness. There are usually three steps involved with getting UTF-8 support in Irssi:. In Debian and Ubuntu, simply run sudo dpkg-reconfigure locales and select the UTF-8 locales you desire. For other distributions, refer to your distro-specific documentation. Now that the hard part is over, you must enable UTF-8 support in screen.
This is done a variety of ways. The best way is to put. Try pasting some Japanese characters from www. If you get garbage when you type foreign characters, something went wrong with the above three steps.
Try to deduce the problem by running Irssi outside of screen or running other unicode-enabled programs inside screen. Happy Irssi-ing and screening.
You may use man irssi and man screen at a command prompt for more detailed information about both of the programs discussed in this guide.
Irssi Basics Getting Connected The first step is to start irssi. Run from your shell: irssi You should now see Irssi in its default state—disconnected, with some blue bars at the top and bottom. Using the Alt key as Meta In some cases, using Alt as the modifier for window switching does not work. Perl Scripts Most non-standard functionality is added through the use of perl scripts.
I recommend installing the following scripts to start: splitlong. Read the script for instructions for use. Defining networks and servers By now you should have a good start to using Irssi for your needs. Detaching There are certain keystrokes that you can make inside of a screen session to control it. Reattaching You should be at your shell prompt right now, outside of screen. To do this, type: screen -rd The arguments -rd tell screen what you want it to do: reattach and detach before reattaching if necessary.
More Screen Functionality You just learned the basics of screen. C-a a meta Send the command character C-a to window. To illustrate this idea, set the newly contained window as nonsticky and explore the consequences of not having sticky windows. To do this, type:. You should still have only two windows visible: 2 and 5. If window 2 is the active window, use Alt-3 to switch to window 3 in that container. You will then have windows 3 and 5 visible. Next, use Alt-5 to switch to window 5. You will still have the same windows visible, but window 5 will become the active window.
Now, because window 2 was unstuck, use Alt-2 to switch to it. You should notice that window 2 is now in the bottom container. Most sane people would prefer windows to not jump around like this, which is why they can be assigned to specific containers. This will stick window 2 to the bottom container, essentially anchoring it. If you use Alt-3 or Alt-5 now, they will both appear in the top container. Thus, a sticky window will not be replaced in its container by a non-sticky window. The non-sticky window will be displayed in a container with no windows stuck to it.
If, however, there are no containers with no windows stuck to them that is, all containers have at least one window stuck , the requested non-sticky window will become visible in the current container the container with the active window. The windows currently stuck to a container can be easily discovered by typing, in the window in the current container:.
In the screenshot, you can see that window 2, test2, is stuck to the bottom container, and the other 4 windows: 1,3,4,5 are stuck to the top container. In this scenario, the only window that will ever appear in the bottom container is window 2, since all windows are sticky and the only sticky window in the bottom container is window 2.
Irssi cannot do vertical splits, only horizontal splits. That is, windows can only be arranged from top to bottom, never from side to side. Doing so would force a window that is stuck to another container into a new container. A remedy for this is explained below. I believe this is a bug.
This is true even for one container. Closing a sticky window that is the only window stuck to a container will cause that container to disappear. The resulting container will have no sticky windows. You can manage this in a bit same way as with dircproxy, by creating fake connections:. Irssi proxy is a bit different than most proxies, normally proxies create a new connection to IRC server when a new client connects to it, but irssi proxy shares your existing IRC connection s to multiple clients.
Irssi proxy supports sharing multiple server connections in different ports, like you can share network in port and efnet in port For example:.
This method is known to have issues in Mac OS X. Using proxychains-ng is recommended over recompiling irssi. The statusbar type can be either window or root. If the type is window, then a statusbar will be created for each split window, otherwise it will be created only once. Placement can be top or bottom, which refers to the top or bottom of the screen.
Position is a number, the higher the value the lower it will appear in-screen. Visible can be always, active or inactive. To adjust these settings, the following commands are available:. Statusbar items can also be added or removed via command. Note that when loading new statusbar scripts that add items, you will need to specify where you want to show the item and how it is aligned. This can be accomplished using the below commands:.
For statusbar scripts, the item name is usually equivalent to the script name. The documentation of the script ought to tell you if this is not the case. For example, to add mail.
Toggle navigation. Index with some FAQ questions that are answered in the chapter: First steps Basic user interface usage Split windows work in weird way How can I easily switch between windows? But alt-1 etc. Server and channel automation How do I automatically connect to servers at startup? How do I automatically join to channels at startup? How do I automatically send commands to server at connect? Logging Changing keyboard bindings How do I make F1 key do something?
First steps IRC Networks are made of servers, and servers have channels. Meta-1, Meta-2,.. Meta-0 - Jump directly between windows Meta-q..
0コメント