I've found what appears to be a fix.  It works for ICA and ICA>RDP  Haven't 
tested it yet on only RDP or the terminals we use (only got chance to have a 
real look at it during the last 30mins of work and only found the fix in the 
last few mins).

static keystroke_to_msg keyup2msg[] =
/*  KeyState    Win32 VirtKey    5250 key     ctx ext  */
   { 0,          VK_CONTROL,      K_RESET    , 0, 0 },
   { 0,          VK_CONTROL,      K_FIELDEXIT, 0, 1 },
   { VK_MENU,    VK_SNAPSHOT,     K_SYSREQ,    1, 0 },
   { VK_MENU,    VK_SNAPSHOT,     K_SYSREQ,    1, 1 },
   { 0,          VK_SNAPSHOT,     K_PRINT,     1, 0 },
   { -1, -1 },

Anyway it would appear via RDP/ICA ext needs setting to 1 to pick up the 
key-combo.  I'll try got a proper test in to monday just to see if it mess 
anything up and if it can be used on RDP only and at the console.

-----Original Message-----
From: Naylor Robert
Sent: Thu 3/9/2006 12:16 PM
To: 'linux5250@xxxxxxxxxxxx'
Subject: Win32, Alt-Sysreq & Terminal Servers
Just noticed a problem - alt-sys request doesn't seem to do anything when using 
tn5250 via a terminal servers (both RDP and ICA).  On the same terminal at the 
console this works.
Nothing appears in the trace file when the keys are pressed.   The same key 
combinations works fine for teemtalk (another 5250 emulator).
Any hints?  While I'm very rusty at c coding (nor did I ever get to the level 
required for this sort of project), but I have patched the code for destructive 
backspaces using the patch from the mailing list, so I can re-compile the code 
if needed.
 (I've tested the normal version to make sure the changes this didn't cause the 
I've tried the unix_sysreq option and this works, however this is not an 
acceptable work around according to the Projects team.  Its either get this 
working or buy some very expensive site licenses :S

This is an e-mail from The Mid Yorkshire Hospitals NHS Trust (the Trust). This 
message and any files transmitted with it are confidential. If you are not the 
intended recipient any reading, printing, storage, disclosure, copying or any 
other action taken in respect of the e-mail is prohibited and may be unlawful.
If you have received this message in error, please notify the sender 
immediately by using the reply function and then delete what you have received. 
The Trust accepts no responsibility for any changes made to this message after 
it has been sent by the original author. The views or opinions contained herein 
do not necessarily represent the views of the Trust. This e-mail or any of its 
attachments may contain data that falls within the scope of the Data Protection 
Acts. You must ensure that any handling or processing of such data by you is 
fully compliant with the terms and provisions of the Data Protection Act 1984 
and 1998.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.