Re: GnomeVFS & standard streams



On Tue, Oct 29, 2002 at 10:46:22PM -0600, GrandMasterLee wrote:
> On Tue, 2002-10-29 at 08:38, Giovanni Corriga wrote:
> > 
> > In the application that i'm writing, I'm using GnomeVFS for file 
> > handling. Now I have to access the standard streams (standard input, 
> > output, error), and I'd like to have a consistent interface for those, 
> > too. Since I didn't find  anything similar in the current API, I'm going 
> > to write a new method based on the file: method.
> > 
> > I was thinking of a console: method, which gives access to the standard 
> > streams via the 3 URIs:
> >
> This idea sounds good in two directions. 
> 
> 1. They could be used to watch/view logs, files, streams, etc.
> 2. They could be used as hooks for scripts or other programs to provide
> a "generic" back-end interface to the gnome-vfs layer and then provide
> actions based on output. Sort of a pipe, but in the vfs layer, to cause
> some automated X console action to occurr.
>  
> > console://stdin
> > console://stdout
> > console://stderr

Interesting.  The only utility in this would be that you could be
reading/writing to either gnome-vfs or the std hooks.  I supose if
you wanted to allow gnome-vfs handles to command line utils it would
be useful.  Go for it.

While you're at it
    syslog://ident
might also be generally useful



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]