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 :
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 :
%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 :
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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
- 0.0 - ?
- Initial release.
-
0.1 - ?
- 0.2 - July 2008
Plans
- Insert numbers after the links then accept them as parameter to display the given page.
- Add a separate command which parameter completion to cycle through the previous page’s links.
- Implement apropos and whatis functionality.
Download
You can find the related files on GitHub in my Irssi-script repository’s man directory :