Re: [Qemu-devel] handling SIGWINCH with qemu -nographic

2007-10-19 Thread Rob Landley
On Monday 15 October 2007 8:15:29 pm Jeff Carr wrote: > Has anyone looked into finding a way to pass SIGWINCH through to the > guest? I started looking at linux-user/signal.c. > > For those that might not be familiar with SIGWINCH, supporting it > would allow qemu -nographic to tell when the termin

Re: [Qemu-devel] handling SIGWINCH with qemu -nographic

2007-10-19 Thread Rob Landley
On Tuesday 16 October 2007 3:51:29 pm Stefan Weil wrote: > Jeff Carr schrieb: > > On 10/15/07 19:32, Paul Brook wrote: > >> qemu emulates a real machine. Signals are an operating system > >> concept, so your > >> question makes no sense. Configure your guest OS exactly the same way > >> you > >> wo

Re: [Qemu-devel] handling SIGWINCH with qemu -nographic

2007-10-16 Thread Paul Brook
> I think your question is quite reasonable. Imagine a Linux host > running X Windows and a terminal like xterm or kconsole. > Then run a program like "top" or "less" in this terminal. > When a user changes the size of the console window, top, less > and other console applications get notified of t

Re: [Qemu-devel] handling SIGWINCH with qemu -nographic

2007-10-16 Thread Stefan Weil
Jeff Carr schrieb: > On 10/15/07 19:32, Paul Brook wrote: > >> qemu emulates a real machine. Signals are an operating system >> concept, so your >> question makes no sense. Configure your guest OS exactly the same way >> you >> would a real machine with a serial console. > > OK. I thought there mig

Re: [Qemu-devel] handling SIGWINCH with qemu -nographic

2007-10-16 Thread Jeff Carr
On 10/15/07 19:32, Paul Brook wrote: > qemu emulates a real machine. Signals are an operating system concept, so your > question makes no sense. Configure your guest OS exactly the same way you > would a real machine with a serial console. OK. I thought there might be a way. > The linux-user c

Re: [Qemu-devel] handling SIGWINCH with qemu -nographic

2007-10-16 Thread Stuart Brady
On Mon, Oct 15, 2007 at 06:15:29PM -0700, Jeff Carr wrote: > For those that might not be familiar with SIGWINCH, supporting it > would allow qemu -nographic to tell when the terminal is a different > size than 80x24. That would need support on the remote side (the getty) as well as on the termina

Re: [Qemu-devel] handling SIGWINCH with qemu -nographic

2007-10-15 Thread Paul Brook
On Tuesday 16 October 2007, Jeff Carr wrote: > Has anyone looked into finding a way to pass SIGWINCH through to the > guest? I started looking at linux-user/signal.c. > > For those that might not be familiar with SIGWINCH, supporting it > would allow qemu -nographic to tell when the terminal is a d

[Qemu-devel] handling SIGWINCH with qemu -nographic

2007-10-15 Thread Jeff Carr
Has anyone looked into finding a way to pass SIGWINCH through to the guest? I started looking at linux-user/signal.c. For those that might not be familiar with SIGWINCH, supporting it would allow qemu -nographic to tell when the terminal is a different size than 80x24.