Fehérke's GitHub Site == glue between Fehérke's GitHub hosted projects

Man

The Irssi manual is practically plain text. After using it a lot you really wish to have some text attributes too. So I added them. And while Irssi is capable to display text attributes, I just wrote a script to spit a file on the screen.

The manual’s content is copyright (c) 2000, Timo Sirainen. I tried to keep the original format as much as possible while made it suitable to display it one chapter/section per page.

Usage

Excerpt from the /man help command’s output :

sample output

Syntax :
  man topic

Parameters :
  topic  - topic to display ( 56 available )

The “manual page” files have to be located in the directory pointed by the man_path setting and have .txt extension. You can put there any file with possible Irssish formatting, for example :

reminder.txt

%U Things to do %U
%_IM%_ feherke %rASALI%n ( as soon as logs in )

%U IDs to remember %U
%_feherke%_ - the one who wrote the man script

Then the /man reminder command will display it like this :

sample output

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - man reminder
 Things to do 
IM feherke ASALI ( as soon as logs in )

 IDs to remember 
feherke - the one who wrote the man script

Configuration

Use the /set command to configure this script. The settings are queried when using them, so changes will be visible automatically on next use.

Setting Type Description Default
man_path string location of the manual files .irssi/scripts/man

Versions

Plans

Download

You can find the related files on GitHub in my Irssi-script repository’s man directory :