Win XP HyperTerminal CTRL BREAK

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
rabjac
Posts: 2
Joined: 11. Jan 2011, 10:30
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris, Linux, Windows

Win XP HyperTerminal CTRL BREAK

Post by rabjac »

I have just created a new Windows XP (64bit) VM in order to run Hyperterminal to setup an Oracle ST2540 external RAID array. The problem I have is I need to "Send <BREAK> for Service Interface", however I don't know what the key combination on a Macbook keyboard is. I've tried ctrl-c, but that doesn't give what I need. Can anyone help please?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Win XP HyperTerminal CTRL BREAK

Post by loukingjr »

not sure if this is right but...
viewtopic.php?f=8&t=45872
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
rabjac
Posts: 2
Joined: 11. Jan 2011, 10:30
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris, Linux, Windows

Re: Win XP HyperTerminal CTRL BREAK

Post by rabjac »

Thanks for the reply, but already stated I tried this in the original post.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Win XP HyperTerminal CTRL BREAK

Post by loukingjr »

rabjac wrote:Thanks for the reply, but already stated I tried this in the original post.
I had just got up. sorry :) try holding the fn key along with control-c.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Win XP HyperTerminal CTRL BREAK

Post by socratis »

Try to see if the scancode for Ctrl-Break works (0xe046). See http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html (random Google search) for a list of scancodes. Then with your VM running, issue the command

VBoxManage controlvm "<YourVMName>" keyboardputscancode e046

Haven't tried it, but it's worth it a shot...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Win XP HyperTerminal CTRL BREAK

Post by loukingjr »

here's the problem. the extended keyboard for Macs is mapped differently than the wireless keyboard which is different than the MacBook keyboard which are all different than the Windows keyboard. There are some programs that you can run in XP that will remap the keyboard. I know there is an onscreen keyboard for windows 7 and there may be one for XP. I know it's not ideal but you could just click on the break key on that. if you install Windows in BootCamp Apple provides drivers that among other things makes Windows recognize the Mac keyboard but i don't know if they will work in a guest.

you can try something like this... Input Remapper
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Win XP HyperTerminal CTRL BREAK

Post by socratis »

loukingjr wrote:you can try something like this... Input Remapper
That most probably wouldn't work.
a) It got its last update on 2007-07-29 - Version 1.0.04.
b) It works under Windows, not a Mac (unless you're thinking of installing it in the VM. Nah)
c) It doesn't mention Break as a mappable key.
You might take a look in KeyRemap4MacBook. It could do what you want and more, but it's not a VirtualBox-based solution.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Win XP HyperTerminal CTRL BREAK

Post by loukingjr »

socratis wrote:
loukingjr wrote:you can try something like this... Input Remapper
That most probably wouldn't work.
a) It got its last update on 2007-07-29 - Version 1.0.04.
b) It works under Windows, not a Mac (unless you're thinking of installing it in the VM. Nah)
c) It doesn't mention Break as a mappable key.
You might take a look in KeyRemap4MacBook. It could do what you want and more, but it's not a VirtualBox-based solution.
well a couple things.

if you actually looked at the link you would see that.

1. the last update was 2008-5-31. we are talking about Windows XP. there has been no radical change to XP to think it wouldn't work.
2. you would also see it was meant to be run in XP not on the Mac. So of course it would be installed in the VM
3. if doesn't mention every key does that mean none of those work?
4. did you try it before you decided to argue against it?

as far as KeyRemap4MacBook, why would anyone remap their Mac keyboard just to remap one key for a guest?

please at least test something before you argue against it.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Win XP HyperTerminal CTRL BREAK

Post by mpack »

Let's get this straight: is this "Send break" request something you see over the HyperTerminal text connection? If yes then <break> can't refer to the break key on a PC keyboard, because that has no ASCII code. I would expect it to refer to Ctrl+C (ASCII code 3).

And another thing... HyperTerminal is just a dumb (maybe one of the dumbest) ANSI/tty serial terminal programs. Are you saying there is no direct equivalent on a Mac?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Win XP HyperTerminal CTRL BREAK

Post by loukingjr »

mpack wrote: And another thing... HyperTerminal is just a dumb (maybe one of the dumbest) ANSI/tty serial terminal programs. Are you saying there is no direct equivalent on a Mac?
I have no idea if there is an equivalent program if you are asking me. However, there aren't many "dumb" programs for the Mac in general because it is difficult to write for.

I just checked the HyperTerminal web site and apparently they are working o a version for OSX.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Win XP HyperTerminal CTRL BREAK

Post by mpack »

Darwin/OS-X is a Unix derivative like Linux, yes? If so then it inherited a text terminal along with all the other stuff that underlies the shell. Possibly it's the same one you use for other terminal work, but with some startup argument that selects the comms interface.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Win XP HyperTerminal CTRL BREAK

Post by loukingjr »

mpack wrote:Darwin/OS-X is a Unix derivative like Linux, yes? If so then it inherited a text terminal along with all the other stuff that underlies the shell. Possibly it's the same one you use for other terminal work, but with some startup argument that selects the comms interface.
OSX is a mix of Darwin, BSD and Unix so yes, it's a derivative of Unix and does have a terminal. Personally I think all terminals are "dumb" and I don't care to work in any on any platform. Sometimes it's just an evil necessity.
Last edited by loukingjr on 1. May 2014, 12:58, edited 1 time in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Win XP HyperTerminal CTRL BREAK

Post by loukingjr »

I forgot to mention an interesting tidbit. Host+C is supposed to switch the guest into scaled mode, which it does. However, so does Control+C. At least in the Mac version of VirtualBox on OSX 10.9.2.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply