Is it possible to scroll log window?
Moderator: Moderator
Re: Is it possible to scroll log window?
Yep, but only with a scrollwheel on a mouse.
Re: Is it possible to scroll log window?
Can not be redefined in key bindings?
Re: Is it possible to scroll log window?
People like me who do not have a scroll-mouse are SOL there.
Actually, what I do is edit src/main.c and make sure buffering is set to line mode, not the default block mode. And capture the log (stdout) to a file. And then if I need to look back at what the hell just happened, I can look in the file.
Works for in-game chat, too. With line-mode buffering and a stdout log file, you can use tail -f | grep to get the chat output in a separate window.
Actually, what I do is edit src/main.c and make sure buffering is set to line mode, not the default block mode. And capture the log (stdout) to a file. And then if I need to look back at what the hell just happened, I can look in the file.
Works for in-game chat, too. With line-mode buffering and a stdout log file, you can use tail -f | grep to get the chat output in a separate window.
Re: Is it possible to scroll log window?
greycat, can you please post the lines you edited, or the diff? I tried to collect the outputs in a named-pipe, but the I think buffering is performed in a annoying manner. Thanks.greycat wrote: Actually, what I do is edit src/main.c and make sure buffering is set to line mode, not the default block mode.
Re: Is it possible to scroll log window?
Next beta adds a command line parameters to enabled line buffering
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Is it possible to scroll log window?
Something like this, but it may not apply cleanly, because I had to add the comments back in manually to generate the diff....
A better diff might be "uncomment the setvbuf line". 
Code: Select all
--- src/main.c.orig 2011-03-10 13:42:06.000000000 -0500
+++ src/main.c 2011-03-10 13:41:58.000000000 -0500
@@ -803,7 +803,7 @@
init_gen_rand(time(NULL));
// Change to line buffering
-// setvbuf(stdout, (char *) NULL, _IOLBF, 0);
+ setvbuf(stdout, (char *) NULL, _IOLBF, 0);
// Parse arguments
int i;

Re: Is it possible to scroll log window?
Thanks, darkgod and greycat.