(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



vmware bochs osr5 under linux


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From: Bela Lubkin <belal@caldera.com>
Subject: Re: OSR5 under bochs, Re: INT13 function FAh during boot?
Date: Tue, 21 May 2002 01:06:54 GMT

Carl Sopchak wrote:

> I think I figured out where the problem is.  Bochs is pretty slow, and
> it takes a while for OSR5 to boot up.  So, while it's doing that, I
> frequently switch to another X window and do other stuff.  It so
> happens that I almost always use <alt><tab> to switch windows.  This
> is caught by X, but is also passed on to OSR5.  That is, at least the
> MAKE codes are passed on, but the BREAK codes are NOT.  Therefore,
> OSR5 THINKS the <alt> key is pressed (since it got the make but not
> the break), even though it is not (when the bochs X window regains
> focus).  If I just press and release the <alt> key (after returning to
> the bochs window), things start working normally again.  (That's also
> why I had a hard time duplicating the problem on Friday:  I wasn't
> switching between X windows.)



Oh, I should have suggested hitting and releasing Alt.  Actually I have
a little brain macro that I use for such problems on all OSes
(frequently helpful on Windows 98, for instance): I hit and release, one
at a time: left-ctrl, left-alt, left-shift, right-ctrl, right-alt,
right-shift; put mouse cursor in a safe place, then left-mouse,
middle-mouse, right-mouse; then hit and release twice each: numlock,
capslock, scrolllock.  This fixes a _lot_ of problems with a lot of
OSes.

In your specific case, I would think that OSR5 would see a BREAK code
for Alt when you Alt-Tab back to it.  If Bochs sends it the MAKE code on
the way out and doesn't send it the BREAK on the way back in, that looks
like a Bochs bug.

Of course if you Alt-Tab _away_ from Bochs, then use a mouse click to
reactivate it, I'm not really sure what Bochs could do about it.  In
that case you probably legitimately should have to hit and release Alt
to notify the hosted OS that you are no longer pressing Alt.

> I'll have to think through how this could get fixed (or if it's
> something that will have to be lived with).  It's kinda related to the
> <alt><ctrl><Fn> switching between multiscreens in OSR5 and
> pseudo-terminals (same as multiscreens) in Linux.  I would guess one
> possible solution is to totally intercept all keyboard input before X
> acts upon it (possible???) while bochs is the window in focus.  Then,
> you'd have to use the mouse to change X window focus.  I'm not too
> sure I like that...  Hummmm...

You probably don't want to completely change Bochs' input architecture
to deal with this...

> I've also been working on the font size issue.  Some changes to bochs
> in this reguard has been committed to the CVS tree, which I'll have to
> look at.  But this should be solved soon...
> 
> Thanks again,



Sure,

>Bela<
 



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar


ad


/Bofcusm/1608.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.



More:
       - OSR5
       - Bofcusm
       - Bela
       - Virtualization


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress