24 Commits

Author SHA1 Message Date
Cole Robinson
dee7cb91a2 serialcon: Some console cosmetic improvements
Just use the default font, and add a small border around the terminal so
text isn't right up against the window decorations.
2011-06-21 14:07:07 -04:00
Cole Robinson
a493789fa7 serialcon: Show user an error message if console opening fails 2011-06-20 19:09:31 -04:00
Cole Robinson
3eae7af22c serialcon: Move popup handling out of details.py
Also simplify serial list handling
2011-06-20 18:51:57 -04:00
Cole Robinson
c705dec03f serialcon: Move 'can we connect' logic to serialcon.py 2011-06-20 16:49:11 -04:00
Cole Robinson
e053f1c94a domain: Simplify get_serial_devs
Just pass around the dev, rather than a broken out list. Will be needed
for future serialcon work
2011-06-20 16:34:28 -04:00
Cole Robinson
adc3e0466f serialcon: Break out PTY connection logic
Refactor things to allow more easily plugging in different connection
logic, like for libvirt console streaming.
2011-06-20 16:34:27 -04:00
Cole Robinson
87ebc2d46a serialcon: Subclass vmmGObject 2011-04-11 17:48:21 -04:00
Cole Robinson
677f73fca7 Run pep8 with check-pylint, fix the fallout 2010-12-10 11:47:07 -05:00
Cole Robinson
0fd57daca1 pylint: Check for unused variables, fix fallout 2010-12-09 11:22:35 -05:00
Cole Robinson
4570afd1dc serialcon: Fix serial reopening when VM reboots 2010-06-23 13:05:09 -04:00
Cole Robinson
4db7c4e48d domain: Send 'oldstatus' in status-changed signal
We can then use this to hook up internal signal handlers to do needed
things on status update (rather than bog down _update_status).
2010-02-27 10:42:43 -05:00
Cole Robinson
a0ac5b3b63 serial: Don't fail when reconnecting to existing char device. 2009-07-28 09:32:18 -04:00
Cole Robinson
b3746d9623 Teach serial console to deal with a changing pty path. 2009-07-14 19:42:16 -04:00
Cole Robinson
4ac507f181 View serial consoles as tabs in the details window. Allow viewing not just the primary console. 2008-10-02 16:17:25 -04:00
Cole Robinson
262228df86 Fix some indentation. 2008-09-22 10:19:19 -04:00
Cole Robinson
0ff43979a6 Force tty opening and closing, not waiting for output to flush. This prevents the app from freezing if the tty is hosed (say if we boot with an improper emulator) 2008-07-24 16:42:43 -04:00
Daniel P. Berrange
b7f90b3377 Use pty.slave_open for Solaris portability (Henry Zhang) 2008-02-03 12:42:21 -05:00
Daniel P. Berrange
847084ab23 Refresh GPL text with latest FSF address & fix spec file license tag 2007-11-20 11:12:20 -05:00
Daniel P. Berrange
64cc1fdee6 Fix handling of backspace key in serial console (bz 217596) 2006-12-04 12:22:45 -05:00
Karel Zak
ddadec4a7e fix problem with never ending gtk.main() 2006-11-03 10:02:02 -05:00
Daniel P. Berrange
61dfeae69f Call 'present' to ensure serial console is raised & focused 2006-11-03 09:51:23 -05:00
Daniel P. Berrange
4327a7dd7d Fix method naming to be consistent with other widgets - this makes auto-close upon domain destroy work 2006-08-18 17:01:00 -04:00
Daniel P. Berrange
c7ca4375a7 Catch & ignore errors when closing serial console 2006-08-18 16:39:41 -04:00
Daniel P. Berrange
9470056682 Added support for connecting to & displaying the serial console for guest VMs using the 'vte' module 2006-08-10 16:47:14 -04:00