Sponsored Content
Full Discussion: Process migration
Top Forums UNIX for Advanced & Expert Users Process migration Post 89188 by krhamidou on Friday 11th of November 2005 09:24:19 AM
Old 11-11-2005
this might be possible but the binary translator would be a huge piece of spaggheti-code. Imagine that you would have to write a binary translator from 386 to RISC :

- you would first have to change the byte order because 386 uses big-endian and RISC
little endian
- after you would have to translate all code from intel machine code to risc machine
code
- finally you would have to modify your translator to cope with your operating system's idiosyncrasies...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Migration

Is it possible to migrate a UNIX program and use it in a NetWare or Windows 2000 network? I have a client that must have one of those two operating systems for the new program that they want. However, they've been using an older UNIX program for about 7 years and they want to be able to refer to... (7 Replies)
Discussion started by: refram
7 Replies

2. UNIX for Advanced & Expert Users

migration

hi, is there any tool that i can use to update my scripts (SH scripts) form Unix to linux. please mention any useful websites. thanx in advance (2 Replies)
Discussion started by: omran
2 Replies

3. UNIX for Advanced & Expert Users

Migration

Hi all, Would appreciate advise on my situation. Currently server A is in production. Server A takes in data from Server X, does some processing and send to server Y. We are going to develop a different system in server B, something like an enhanced version of A. Server A will be retired once... (2 Replies)
Discussion started by: new2ss
2 Replies

4. UNIX for Dummies Questions & Answers

process migration

how can i migrate a running process in unix to another node for load balancing? (3 Replies)
Discussion started by: aisalihu
3 Replies

5. UNIX for Advanced & Expert Users

process migration

how can i migrate a running process in unix to another node? (1 Reply)
Discussion started by: aisalihu
1 Replies

6. Shell Programming and Scripting

Migration unit testing process

Hi, We are doing migration from DB2 to Teradata. There are couple of things involving in the project. Please see below following order Autosys-Jil script Profile script Category1 Teradata script Data stage job script Tera data script Export files script.. Like that we have 10000... (1 Reply)
Discussion started by: onesuri
1 Replies

7. UNIX for Advanced & Expert Users

Migration of users

We are about to get a new server and I need to prepare for migration to the new one. This will be my first migration so I'm sure I will be learning alot. My current server is running CentOS 4.x and I want to move to a sever running Centos 5.x , thought it would make things easier. The old... (1 Reply)
Discussion started by: mcraul
1 Replies

8. Red Hat

Doubt about process migration

Hello experts, My doubt is, shall we move process from one node to another node..? This will be need when the cpu running on max load. Thanks. (1 Reply)
Discussion started by: srigias
1 Replies

9. AIX

Lpar migration

We have a 2 node oracle rac cluster one node is in frame 1 and other is in frame 2 Now,because of some hardware failure(processor card and cable) in frame 1 we will failover database services from lpar in frame 1 to lpar(oracle rac cluster node2) in frame2 and the entire replacement of hardware... (9 Replies)
Discussion started by: admin_db
9 Replies

10. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies
XtTranslateKey()														  XtTranslateKey()

Name
  XtTranslateKey - the default keycode-to-keysym translator.

Synopsis
  void XtTranslateKey(display, keycode, modifiers,
  modifiers_return, keysym_return)
	 Display *display;
	 KeyCode keycode;
	 Modifiers modifiers;
	 Modifiers *modifiers_return;
	 KeySym *keysym_return;

Inputs
  display   Specifies the display that the keycode is from.

  keycode   Specifies the keycode to translate.

  modifiers Specifies the modifiers to be applied to the keycode.

Outputs
  modifiers_return
	    Returns the modifiers examined by the key translator.

  keysym_return
	    Returns the resulting keysym.

Description
  XtTranslateKey() is the default XtKeyProc used by the Translation Manager.  It takes a keycode and returns the corresponding keysym, recog-
  nizing Shift, Lock, and group modifiers.  It handles all the keysyms defined by the X Protocol.

  XtTranslateKey() is provided for two main reasons: so that new translators with expanded functionality can call it to get default  keycode-
  to-keysym translations in addition to whatever they add, and so that the default translator can be reinstalled.

  See XtKeyProc(2) for more information on the behavior of this and all key translator procedures.

Usage
  The  Translation  Manager  invokes the currently registered key translator procedure to convert incoming keycodes to keysyms.  Only clients
  that need to work with non-standard keysyms should need to register alternate key translator procedures.

  XtTranslateKey() can be invoked directly, or the currently registered key translator can be invoked by calling XtTranslateKeycode().	A new
  translator  can  be registered by calling XtSetKeyTranslator().  There is no way to remove a translator; to reinstall the default behavior,
  call XtSetKeyTranslator() with XtTranslateKey() as the proc argument.

Structures
  The KeyCode and KeySym types are defined as follows:

     typedef unsigned char KeyCode;
     typedef XID KeySym;

  The Modifiers type and its legal values are defined as follows:

     typedef unsigned int Modifiers;
     #define ShiftMask	      (1<<0)
     #define LockMask	      (1<<1)
     #define ControlMask      (1<<2)
     #define Mod1Mask	      (1<<3)
     #define Mod2Mask	      (1<<4)
     #define Mod3Mask	      (1<<5)
     #define Mod4Mask	      (1<<6)
     #define Mod5Mask	      (1<<7)

See Also
  XtRegisterCaseConverter(1), XtSetKeyTranslator(1), XtTranslateKeycode(1),
  XtKeyProc(2).

Xt - Keyboard Handling														  XtTranslateKey()
All times are GMT -4. The time now is 12:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy