> > > > how do you debug your rc.lua? Is there a simple way to log to
> > > > ~/.xsession-errors or some other file? I understand lua's control
> > > > structures, variable assignment, string matching and all that, but I
> > > > don't know what's good practice for debugging.
> > > >
> > >
> > > try this
> > >
> > http://awesome.naquadah.org/wiki/index.php?title=Using_Xephyr#Script_I_use_to_debug_rc.lua
> > .
> >
> > Very nice, I totally missed that page. I didn't know xserver sessions
> > could be nested, that's great! Thanks for the link.
> >
> Yea, that's why I wrote that wiki. I didn't know of this possibility and
> looks like few people do know about it...

Thanks for writing it then ;-) However, I still don't know how to write
to stdout so I can debug my network widget. I tried variations of
'io.stdout:write' and 'print' but the messages never appear. What's the
right syntax for this?

thanks
kba

-- 
To unsubscribe, send mail to [email protected].

Reply via email to