www.virtualacorn.co.uk/forum

For support and advice on VirtualAcorn products
Forums now closed. This is an HTML only record of the content.
HTML version of Forum generated Thursday 24th May 2018

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: The danger of F12
PostPosted: Fri May 29, 2009 1:58 pm 
Offline

Joined: Thu Nov 28, 2002 7:08 pm
Posts: 69
Location: Cambridge
How many times do you have to use Backspace? Now how many times have you accidentally missed Backspace and hit F12?
On real Acorn (or Iyonix) hardware hitting F12 isn't a problem, you can easily get back to the desktop from the * prompt. However, with VRPC, hitting F12 is catastrophic. There appears to be no way to recover except for killing the process and rebooting (with potentially a lot of work lost).
Why is this? I there any way to recover from F12 (where the cursor blinks in the bottom left corner but won't respond to anything)?


Top
 Profile  
 
 Post subject: Re: The danger of F12
PostPosted: Fri May 29, 2009 2:27 pm 
Offline

Joined: Wed Oct 24, 2007 6:29 pm
Posts: 124
Location: West Lancashire
On my copies of VRPC (SE and SA), F12 does exactly the same as my 'real' RiscOS computers (i.e. suspends the desktop and gives a command prompt at the bottom of the screen)

All that needs to be done to exit from the command prompt is to press the return key. The desktop then resumes where it left off.

Incidently, my main application disables the F12 key (and the rest) for the reason you say.

_________________
John


Top
 Profile  
 
 Post subject: Re: The danger of F12
PostPosted: Fri May 29, 2009 6:13 pm 
Offline

Joined: Thu Nov 28, 2002 7:08 pm
Posts: 69
Location: Cambridge
Yes, I know what SHOULD happen, but the reason for my post was because it doesn't happen. In fact I cannot find any key or combination of keys that gets back to the desktop. I thought that if anyone else has the same problem maybe we might find a solution. As you suggest, the first thing to do may be to disable F12 although I don't want to disable Ctrl-F12 as I use that a lot.


Top
 Profile  
 
 Post subject: Re: The danger of F12
PostPosted: Fri May 29, 2009 10:42 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
It seems that you are having some extrordinary problems. As Soundgrounder says pressing F12 is exactly the same as on a "real" RiscPC (or any other RISC OS machine). You may have something else running under Windows (including a keyboard driver) that's doing something nasty when F12 is pressed.


Top
 Profile  
 
 Post subject: Re: The danger of F12
PostPosted: Sat May 30, 2009 11:02 am 
Offline

Joined: Thu Nov 28, 2002 7:08 pm
Posts: 69
Location: Cambridge
Yes, I agree something extraordinary is happening. F12 works normally on my VRPC-SE. It only seems to be a problem on -SA (but of course it may not be the cause of the problem).
Given that a forced exit and reboot is necessary and the fact that F12 must be being handled at a pretty low level it seems unlikely I'm going to find the root cause so I intend to disable F12. However, I thought that would be easy but its not. I have various key mapping modules as well as the OS calls but I can't get anything to trap F12. Every redefinition method I know or have tried seems to be at a higher level in the key handling chain than is needed to stop RISC OS going into command line mode. Has anyone any suggestions?
(I don't have time to experiment with writing a utility to claim the KeyV vector and hack at that level - I thought something must exist already).


Top
 Profile  
 
 Post subject: Re: The danger of F12
PostPosted: Sat May 30, 2009 9:26 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
I suggest that instead of trying to patch the problem under RISC OS, you should try and find out what is really happening. Something running under Windows is probably claiming the F12 key and causing the problem.


Top
 Profile  
 
 
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

   
Forums originally Powered by phpBB © 2007 phpBB Group. Contents © 3QD Developments Ltd 2018 version no. 1.07