qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: qemu curses driver


From: andrzej zaborowski
Subject: Re: [Qemu-devel] Re: qemu curses driver
Date: Mon, 12 Dec 2005 23:53:02 +0100

Hi there,

On 12/12/05, Johannes Schindelin <address@hidden> wrote:
> > - fixed the terminal resize event handling, now it should work
> > regardless of the curses library implementation,
>
> Unfortunately, it does not work here. ATM I am using a cygwin rxvt, and
> run qemu via SSH. I don't know if rxvt can resize, or if I have to allow
> it... Ideas?

I have never tried Cygwin, but the terminal resizing relies entirely
on signals, which Ms Windows doesn't have but I suppose Cygwin should
emulate signals somehow. Also I think SSH passes the WINCH signal
correctly (Cygwin uses OpenSSH, right?). I now installed mrxvt and
rxvt and indeed the terminal starts up with 80x24 characters by
default, but the window is resizable and QEMU reacts correctly to
resizing (good thing is that everything seems to work even much faster
than in xterm or gnome-terminal - what I don't like is that the cursor
is in one colour only and thus invisible on some backgrounds). It also
works over "ssh localhost" on my Linux.
So I guess one of the elements between your terminal emulator and qemu
is failing to pass the signal further, because there may be quite some
elements working there:
- The terminal emulator (that initially should emit the signal),
- The shell in that terminal (that is the direct child process of the rxvt),
- The SSH client (direct child process of the shell),
- The SSH server (that should receive the signal over the network),
- The shell that is the direct child process of the server-side SSH,
- Finally QEMU that is a child process of the remote shell.
Can you check if for example Midnight Commander (mc) ran in the same
configuration (outside QEMU) resizes correctly?
Is the current behaviour such that when you make the terminal window
bigger than 80x24 while QEMU is running, the virtual machine's screen
stays at only 80x24 characters and stays in the top-left corner of the
terminal?

> > - some keyboard input details,
>
> I usually test QEmu with a floppy image of Injector Linux. When I
> want to delete a word, I use Escape+d or Escape+BackSpace. I still do not
> get the desired result.

O.o
Again I don't know why this might not work. Again can you check how MC
would cope with it? Make sure that the TERM shell variable is set to
"rxvt" or the correct value. I find MC very useful for this kind of
testing (not only for this, ofcourse), with its "Learn keys" option.
Do other programs running in your rxvt react to Escape+d and
Escape+BackSpace?

> I like it very much. It makes it especially easy to copy text from the
> guest. I am very much in favor of inclusion. Now let's see what our BDFL
> says ;-)
Thanks for positive opinion! :)
greetings,
--
balrog 2oo5

Dear Outlook users: Please remove me from your address books
http://www.newsforge.com/article.pl?sid=03/08/21/143258




reply via email to

[Prev in Thread] Current Thread [Next in Thread]