Topic: irssi, logging a chat w/o logging enabled
Yea, sorry, couldn't find a better title.
This is probably the shortest howto in this forum so here it goes.
Last night I had a conversation with someone. I usually IRC from a remote box so I don't log anything because, well, I'm paranoid.
Thing is that when I woke up this morning I really wanted to have the conversation saved on my drive. So, if you're lazy like me and don't feel like scrolling back, copying and pasting as you go, here's what I did:
First, you enable logging on the window you want to save the buffer from.
/window log on
And then you use /lastlog to scroll the entire contents of the buffer from give window.
Note that if the buffer is bigger than 1000 lines you'll need to use /lastlog with the '-force' option like so:
Now that we've first enabled logging on this window, all the output from the lastlog command will be saved to a file stored by default in your homedir.
Hope someone finds this guide useful some day.
P.S.: Obviously this won't work if the window you want to use this guide on has been closed.