On Sat, Jun 11, 2011 at 3:57 PM, Uri Moszkowicz <[email protected]> wrote:
> Would you like a copy of my .syntax file for inclusion? Mostly I was having
> trouble with C-B since it was previously assigned to "back one page" and
> navigating text is pretty basic. C-N creates a new terminal. I guess I could
> have changed the letters but I preferred the old style anyway.
What is the .syntax file ?
> Also, I'm not getting any output in the clewn_console window from the
> program. I'm going to stare at it some more and see if I can figure it out.
>
You must redirect the program output to a terminal using the following
gdb command BEFORE starting the program:
:Cset inferior-tty /dev/pts/nn
With the latest pyclewn version from the repository you can run (on
unix) in order to launch an xterm:
:Cshell setsid xterm -e inferior_tty.py &
"inferior_tty.py" prints the name of the pseudo terminal to be used by
gdb and the two gdb commands needed to configure properly gdb with
this terminal. Copy and paste these two commands in vim command line:
:Cset inferior-tty /dev/pts/nn
:Cset environment TERM = xterm
The difference with the current pyclewn version is that you can
interrupt the program with ^C in the xterm, you can input user data to
the program from the xterm and you can debug a curses based program
such as vim that will run in the xterm.
--
Xavier
Les Chemins de Lokoti: http://lokoti.alwaysdata.net
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general