On Mon, Mar 28, 2011 at 12:57 PM, Timothy Madden wrote: > > Also can you please let me know (and write in the help file) how can I > create a pseudo-tty for use with gbd in pyclewn ? > Because I always seem to get 'operation not permitted' error and although I > can see output in the chosen console, input is still directed to the shell > that I have run tty command in (to get the tty name), even if that is > suspended. >
The latest patch in mercurial repository fixes this error message from gdb. A pseudo-tty can be used now both when starting pyclewn from a terminal and when starting pyclewn from within vim. The new relevant NEWS entry says: > On unix, when starting pyclewn from a terminal and using gvim, > pyclewn creates a pseudo terminal that is the the controlling > terminal of the program to debug. Programs debugged by gdb, > including those based on curses and termios such as vim, run in > this terminal. A ``<Ctl-C>`` typed in the terminal interrupts the > debuggee. > When pyclewn is started from vim with the ``:Pyclewn`` command, > there is no terminal associated with pyclewn. Use instead the > ``inferior_tty.py`` script installed with pyclewn to get the same > functionality. This script creates a pseudo terminal to be used as > the controlling terminal of the process debugged by gdb. -- Xavier Les Chemins de Lokoti: http://lokoti.alwaysdata.net ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Pyclewn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyclewn-general
