#ifdef XXE
#else

(4)Setup for X mode.

(4A) KDE.

    .For konsole,Settings->Configure shortcuts allow shortcut key
     customization.
     You can remove Shift+Insert from function Paste.
     But keytab setup required to utilize key combination more.
     See (8)-(j) xe.keytab

(4A) GNOME.

    .Under X,xmodmap command is used to re-map keycode and functions.
     But no string can not be set for a key-hit.
     Terminal emulator such as xterm/kterm generate strings alternatively.
     But it is not suficiant for xe,you need to add key and modifier key
     (Shift/Ctrl/Alt) combination as Xresource definition.
     Merge sample xelnxres.xxx file(xxx:distributionID) to Xresource
     using xrdb command.
     Application name in the X-resource file is "xe" to avoid
     intervention with other appl on xterm/kterm.
     So,it is required to notify to terminal emulator.
     ex) "kterm -name xe -e xe"
         -name is application name and -e is command name.
         xe of "-name xe" is corresonding to xe in X-resource file.

           xe*cursorColor: blue
           xe*vt100.Translations:  #override \n\
               Shift<Key>F1:   string(0x1b)    string("~54001")\n\
               :
               :
     Starting shell is like as following.
        xrdb -merge /g/src/xe/xelnxres.xxx
        kterm -name xe -e xe $1 $2 $3
     ==>See sample sell xegt/xekt/xext in (6).

     To setup environment wothout intervention,following is another
     method.
     Create copy of command file kterm. ex)cp kterm ktermxe.
     Prepare X-resource file with appliaction name is of copied file.
     Start xe on the copied kterm command name.
     Copied filename should have original command name string in the name,
     because xe determins terminal emulator from command name of the
     parent process.

     If intervention is not a problem,you can specify
     application class name in the resource file.
     ex) KTerm*vt100.Translations ...
     KTerm is class name,so all application under kterm is effected.
     In this case X-environment for xe may be setup as following.
     Add following line to $HOME/.bashrc.

        if [ -f /local/etc/xelnxres.xxx ]; then
            xrdb -merge /local/etc/xelnxres.xxx
        fi

     "xekbchk -sfnm" write default string which is accepted by xe.
     Those are shared with other application.
     See (9)-(b) for xe default.

     These are not for gnome-terminal which dose not chk X resource.
     F1 is assigned for help as default,set disable it on the menue
     Edit-->keybindings.
     And disable assignment of F10 to menu short cut.
     Shift+F10 is intercepted by gnome-terminal of FedoraCore4.
     This may not be remapped because it seems to me that is GTK default.
     And gnome-terminal depends on vte.
     vte fixes some key combinatione,such as Shift+Insert to paste clipboard-PRINMARY.
     Shift+PgUp/PgDn/Home/End are also fixed.(see vte.c of vte SRPM)
     To work around these use xmodmap reasignment.

#endif
1