[Scummvm-devel] OSystem::displayLogFile()

Alex Bevilacqua alexbevi at gmail.com
Fri Jun 3 17:22:34 CEST 2011


Couldn't you do something along the lines of:

xterm -e less $PATH_TO_SCUMMVM_LOG

I'm assuming both commands are available (by default) on all *NIX distros. I
was going to recommend a GUI message + xclip, but xclip isn't installed by
default :P

On Fri, Jun 3, 2011 at 11:08 AM, Thierry Crozat <criezy at scummvm.org> wrote:

> On 3 June 2011 15:21, Max Horn <max at quendi.de> wrote:
> >
> > Am 03.06.2011 um 15:06 schrieb Willem Jan Palenstijn:
> >
> >> On Fri, Jun 03, 2011 at 01:36:48PM +0200, Max Horn wrote:
> >>> I made a preliminary implementation of OSystem::displayLogFile(), for
> Mac OS
> >>> X only. I hope others will add at least implementations for Windows and
> >>> Linux. I hope the doxygen docs are clear enough for that, but if in
> doubt,
> >>> ask.
> >>
> >> I don't have much experience with these desktop things on Linux, but
> could we
> >> use xdg-open for this on Linux? I hope most modern distributions support
> that.
> >
> > Sounds plausible to me. Just go ahead and implement it (or get somebody
> else to do it, but it should be only a few lines anyway). Ideally, of
> course, also with some code that detects if xdg-open is available first.
> This way, fallbacks could be implemented.
> >
> > What about *BSD* systems? Do they also have xdg-open, or something
> similar?
> >
> For info xdg-open is not installed by default on my Linux distro at
> work (CentOS) although there is a xdg-utils package to install it. I
> have gnome-open and kfmclient (for gnome and kde respectively). I
> can't comment on wether most recent distro have it or not by default,
> but apparently not all of them do, so having a fallback would be good.
>
> Thierry
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20110603/72951ae7/attachment.html>


More information about the Scummvm-devel mailing list