From: Bauduin Raphael Date: 2005-01-30T20:50:48+09:00 Subject: Re: [ANN] Logtails 0.4 : the time saving release Richard Dale wrote: > Bauduin Raphael wrote: > > >>Hi, >> >>Logtails 0.4 has arrived ( http://rubyforge.org/frs/?group_id=500 ), and >>it now contains all functionalities I need and wanted to put in. The >>most important addition of this release is that it is now possible to >>save sessions. When you save the session to a file (YAML format), you >>can reopen it later and have all your tails and their respective tabs >>restored, including the regexps you specified for the tabs. This is >>really time saving! When you have tabs already open, and you restore a >>session, the tabs saved in the session are added to the already existing >>tabs. >> >>Sessions don't save the output displayed though. But you can manually >>save each tab's content to a (local) file. >> >>The interface to open a remote tab is now the same as the one used for >>local tails. You can even browse the remote filesystem to choose the >>file to watch (all thanks to KDE's kio slaves). >> >>There's also an indicator for when a tab's content has changed, and you >>can insert blank line to the tail's output, just as you can when you >>press enter in a terminal running tail -f. >> >>Here's the changelog: >> >>-Save and reload sessions >>-Local and remote tails are started through the same interface >>-Open a file by browsing the file system (local and remote) >>-Insert blank lines in the active tab by pressing enter >>-Insert a blank line in all tabs with CTRL+ENTER >>-Save the tab's content to a file >>-Tab label of remote files don't show the whole path >>-Star prepended to the tab label when changes occur. Star removed when >>tab is activited >> >>The only things I plan to add are: >>- splitting, so you can display several tails side by side >>- fixes and cleanups >> >>links: >>summary page: http://rubyforge.org/projects/logtails/ >>download page: http://rubyforge.org/frs/?group_id=500 > > Good to see the app progressing rapidly - 4 releases with lots of extra > functionality added in a short time - it must be RAD. And I hope you can > tell people at FOSDEM about your experiences.. Not sure I'll have much time, but it's clearly real fun to program with Ruby+Korundum. I've obtained the useful too I aimed for in short time, although I didn't know QT/KDE and Logtails is a low priority side project, something I code for a change. Adding highlighting was done in 15 minutes (including 10 minutes to read documentation :-) , and session saving+restoring was done in 1 hour. > > Maybe I can carry on tweaking the KDevelop based 'long winded release' > version that has the full KDE build system and so on, as it's a good > example app. For instance, KDE has its own mechanism for saving and > restoring session details and configuration settings, which you could use > instead of yaml. Good idea. I implemented sessions with yaml because it was easy, but also because KDE's documentation is not that friendly when you are new to the API.... Having that implemented in Logtails could be a good example. Raph > > -- Richard