Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-06-11 Thread Peter Maydell
On 11 May 2015 at 07:53, Gerd Hoffmann wrote: > On So, 2015-05-10 at 23:51 +0100, Peter Maydell wrote: >> So looking at the code in ui/console.c that implements our >> virtual consoles, the scrolling is hooked up to the keycodes >> QEMU_KEY_CTRL_{UP,DOWN,PAGEUP,PAGEDOWN}. These only seem >> to be

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-05-10 Thread Gerd Hoffmann
On So, 2015-05-10 at 23:51 +0100, Peter Maydell wrote: > On 10 May 2015 at 23:34, Peter Maydell wrote: > > I've now tested again with my not-just-the-laptop setup, and: > > > > * in the guest OS (I tested with a Linux guest), PageUp/Down > >work OK and work the same whether I use an external

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-05-10 Thread Peter Maydell
On 10 May 2015 at 23:34, Peter Maydell wrote: > I've now tested again with my not-just-the-laptop setup, and: > > * in the guest OS (I tested with a Linux guest), PageUp/Down >work OK and work the same whether I use an external USB >keyboard with a physical PgUp/Down key or the MacBook Ai

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-05-10 Thread Peter Maydell
On 16 March 2015 at 14:45, Programmingkid wrote: > On Mar 16, 2015, at 10:43 AM, Peter Maydell wrote: >> On 16 March 2015 at 14:38, Programmingkid wrote: >>> On Mar 16, 2015, at 10:00 AM, Peter Maydell wrote: On 16 March 2015 at 13:48, Daniel P. Berrange wrote: > The docs[1] still refer

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 10:59 AM, Peter Maydell wrote: > On 16 March 2015 at 14:52, Paolo Bonzini wrote: >> >> >> On 16/03/2015 15:49, Programmingkid wrote: >>> Sorry but the GTK interface doesn't work on Mac OS X. We are all hoping >>> this will change in the future. >> >> What's the problem?

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 10:52 AM, Paolo Bonzini wrote: > > > On 16/03/2015 15:49, Programmingkid wrote: >> >> On Mar 16, 2015, at 10:47 AM, Paolo Bonzini wrote: >> >>> >>> >>> On 16/03/2015 15:45, Programmingkid wrote: >> Are you saying you are able to scroll up and down in QEMU's monitor >

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Peter Maydell
On 16 March 2015 at 14:52, Paolo Bonzini wrote: > > > On 16/03/2015 15:49, Programmingkid wrote: >> Sorry but the GTK interface doesn't work on Mac OS X. We are all hoping this >> will change in the future. > > What's the problem? Was the bug reported? Well known and longstanding -- the Cocoa U

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Paolo Bonzini
On 16/03/2015 15:49, Programmingkid wrote: > > On Mar 16, 2015, at 10:47 AM, Paolo Bonzini wrote: > >> >> >> On 16/03/2015 15:45, Programmingkid wrote: > Are you saying you are able to scroll up and down in QEMU's monitor > using your MacBook Air's keyboard? I haven't attempte

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 10:47 AM, Paolo Bonzini wrote: > > > On 16/03/2015 15:45, Programmingkid wrote: Are you saying you are able to scroll up and down in QEMU's monitor using your MacBook Air's keyboard? >>> >>> I haven't attempted to use the monitor. I'm just saying that >>> on my OS

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Paolo Bonzini
On 16/03/2015 15:45, Programmingkid wrote: > > > Are you saying you are able to scroll up and down in QEMU's monitor > > > using your MacBook Air's keyboard? > > > > I haven't attempted to use the monitor. I'm just saying that > > on my OSX it does turn those keys into pageup/down. > > Please t

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 10:43 AM, Peter Maydell wrote: > On 16 March 2015 at 14:38, Programmingkid wrote: >> >> On Mar 16, 2015, at 10:00 AM, Peter Maydell wrote: >> >>> On 16 March 2015 at 13:48, Daniel P. Berrange wrote: The docs[1] still refer to fn+up/down as the way to achieve page up/d

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Peter Maydell
On 16 March 2015 at 14:38, Programmingkid wrote: > > On Mar 16, 2015, at 10:00 AM, Peter Maydell wrote: > >> On 16 March 2015 at 13:48, Daniel P. Berrange wrote: >>> The docs[1] still refer to fn+up/down as the way to achieve page up/down, >>> so perhaps your install has simply lost the shortcut

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 10:00 AM, Peter Maydell wrote: > On 16 March 2015 at 13:48, Daniel P. Berrange wrote: >> The docs[1] still refer to fn+up/down as the way to achieve page up/down, >> so perhaps your install has simply lost the shortcut mappings ? > > Works for me on a 2011 MacBook Air runnin

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 9:48 AM, Daniel P. Berrange wrote: > On Fri, Mar 13, 2015 at 04:43:54PM -0400, Programmingkid wrote: >> >> On Mar 13, 2015, at 1:31 PM, Paolo Bonzini wrote: >> >>> >>> >>> On 13/03/2015 15:48, Programmingkid wrote: On Mar 13, 2015, at 5:51 AM, Peter Maydell wrot

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Peter Maydell
On 16 March 2015 at 13:48, Daniel P. Berrange wrote: > The docs[1] still refer to fn+up/down as the way to achieve page up/down, > so perhaps your install has simply lost the shortcut mappings ? Works for me on a 2011 MacBook Air running Mavericks, anyway. (Terminal is not necessarily the best ap

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Daniel P. Berrange
On Fri, Mar 13, 2015 at 04:43:54PM -0400, Programmingkid wrote: > > On Mar 13, 2015, at 1:31 PM, Paolo Bonzini wrote: > > > > > > > On 13/03/2015 15:48, Programmingkid wrote: > >> > >> On Mar 13, 2015, at 5:51 AM, Peter Maydell wrote: > >> > >>> On 13 March 2015 at 04:35, Programmingkid > >

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 8:19 AM, Paolo Bonzini wrote: > > > On 13/03/2015 21:43, Programmingkid wrote: >>> How do you do that in a terminal? >> >> I'm not sure what exactly you're asking. I will say past Apple laptop >> did have the ability to page up or down by using the function key + >> the up

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 9:36 AM, Paolo Bonzini wrote: > > > On 16/03/2015 14:35, Programmingkid wrote: >> On Mar 16, 2015, at 8:19 AM, Paolo Bonzini wrote: >>> On 13/03/2015 21:43, Programmingkid wrote: > How do you do that in a terminal? I'm not sure what exactly you're asking. I wi

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Paolo Bonzini
On 16/03/2015 14:35, Programmingkid wrote: > On Mar 16, 2015, at 8:19 AM, Paolo Bonzini wrote: >> On 13/03/2015 21:43, Programmingkid wrote: How do you do that in a terminal? >>> >>> I'm not sure what exactly you're asking. I will say past Apple laptop >>> did have the ability to page up or

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Paolo Bonzini
On 13/03/2015 21:43, Programmingkid wrote: >> How do you do that in a terminal? > > I'm not sure what exactly you're asking. I will say past Apple laptop > did have the ability to page up or down by using the function key + > the up or down arrow keys. It looks like Apple removed that ability. >

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-13 Thread Programmingkid
On Mar 13, 2015, at 1:31 PM, Paolo Bonzini wrote: > > > On 13/03/2015 15:48, Programmingkid wrote: >> >> On Mar 13, 2015, at 5:51 AM, Peter Maydell wrote: >> >>> On 13 March 2015 at 04:35, Programmingkid wrote: Laptop users usually have keyboards that are missing the page up and page >

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-13 Thread Paolo Bonzini
On 13/03/2015 15:48, Programmingkid wrote: > > On Mar 13, 2015, at 5:51 AM, Peter Maydell wrote: > >> On 13 March 2015 at 04:35, Programmingkid wrote: >>> Laptop users usually have keyboards that are missing the page up and page >>> down keys. This means they cannot scroll in the monitor. Thi

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-13 Thread Programmingkid
On Mar 13, 2015, at 5:51 AM, Peter Maydell wrote: > On 13 March 2015 at 04:35, Programmingkid wrote: >> Laptop users usually have keyboards that are missing the page up and page >> down keys. This means they cannot scroll in the monitor. This patch gives >> laptop users the ability to scroll i

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-13 Thread Peter Maydell
On 13 March 2015 at 04:35, Programmingkid wrote: > Laptop users usually have keyboards that are missing the page up and page > down keys. This means they cannot scroll in the monitor. This patch gives > laptop users the ability to scroll in the monitor by having the user push the > Control + Up

[Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-12 Thread Programmingkid
Laptop users usually have keyboards that are missing the page up and page down keys. This means they cannot scroll in the monitor. This patch gives laptop users the ability to scroll in the monitor by having the user push the Control + Up/Down arrow keys to scroll one line at a time. Use ALT/Opt