User Tools

Site Tools


user:kreed11:portfolio:projects:irssimods:twosplit

Project: Irsii Twosplit, Unstick, and Normal

A project for CSCS1730 by Kelly Reed during the Fall of 2011.

This project was begun on 9/1/08 and is anticipated to take an hour.

Objectives

Create aliases that allow me to view multiple irc channels at once and return to normal.

Prerequisites

In order to successfully accomplish/perform this project, the listed resources/experiences need to be consulted/achieved:

Scope

To help myself and others monitor irc more efficentally

Attributes

State and justify the attributes you'd like to receive upon successful approval and completion of this project.

  • scripting : cramming irssi commands to create a new command
  • multitasking : ability to monitor multiple irssi channels
  • commands : understanding irssi commands and how they can work together

Procedure

The actual steps taken to accomplish the project. Include images, code snippets, command-line excerpts; whatever is useful for intuitively communicating important information for accomplishing the project.

Code

in irssi with multiple channels open

 
/alias twosplit window 1;clear;window show 2;window size 35;window 2;window stick

from left to right:

  • '/alias twosplit' creates a new alias of “twosplit”
  • 'Window 1' moves irssi focus to screen 1
  • 'clear' clears the screen screen to prevent a “not enough space” error
  • 'window show 2' places window 2 above window 1
  • 'window size 35' resizes window 2 to about half of the screen
  • 'window 2' chooses which screen you want to sticky, stickied channel is always displayed, non stickied channel switches channels with ALT+x
  • 'window stick' sticks the current window (see above)
/alias unstick window goto 1;window stick off;window goto 2;window stick off;window 
          goto 3;window stick off;window goto 4;window stick off;window goto 5;window 
          stick off;window goto 6;window stick off;window goto 7;window stick off;window 
          goto 8;window stick off;window goto 9;window stick off;window goto 10;window 
          stick off;window goto 11;window stick off;window goto 12;window stick 
          off;window goto 13;window stick off

long story short, this unsticks all windows… no real modification can happen here…

/alias normal unstick;window hide;window hide

this uses the unstick to return the irssi display to default

after entering the aliases use these commands to toggle between normal and twosplit modes.

/twosplit

enables twosplit mode

/normal

returns to normal mode

Reflection

Awesomeness…

References

In performing this project, the following resources were referenced:

PS

? ? ?= i don't know what your looking for please provide guidance.

user/kreed11/portfolio/projects/irssimods/twosplit.txt · Last modified: 2011/09/15 20:59 by kreed11