/usr/bin/X11/xterm purist user

From: MOULINE Kamal (mouline@cbi.ma)
Date: Tue Mar 27 2007 - 18:19:51 EST


Hi guru,
I have googled for hours but without any success :

I have encapsulated xterm on on an rsh based script from a Solaris Box
to run locally some cobol applications that are installed on a remote
UNIX server, Runing application is fine, printing from remote to local
is fine, but some application screen have to be printed directly from
the xterm window.
======================================================
rsh -l ${user} $(remotehost) "/usr/bin/X11/xterm -title "AGENCE-BMCE"
-sb -sl 1200 -geo ${COLS}x35 -fg ${FG} -bg ${BG} \
        -cr red -fn ${FONT} -fb ${BFONT} -xrm \
        'XTerm*VT100.translations: #override \n\
        <Key>Insert: string(\001) \n\
        Shift <Key>Up: scroll-back(1,lines) \n\
        Shift <Key>Down: scroll-forw(1,lines) \n\
        Shift <Key>Right: string(0x1b) string("f") \n\
        Shift <Key>Left: string(0x1b) string("b") \n\
        Shift <Key>Delete: string(0x1b) string(0x08) \n\
        Shift <Key>Tab: string(0x1b) string("*") \n\
        <Key>0x1000FF0D: scroll-back(1,page) \n\
        <Key>0x1000FF0E: scroll-forw(1,page) \n\
        <Key>0x1000FF09: string(\010) \n\
        <Key>0x1000FF0A: string(\005) \n\
        <Key>BackSpace: string(0xff) \n\
        <Key>Select: select-start() \n\
        <Key>0x1000FF02: select-end(PRIMARY,CUT_BUFFER0) \n\
        Meta <Key>0x1000FF02: select-end(CLIPBOARD) \n\
        <Key>0x1000FF04: insert-selection(PRIMARY,CUT_BUFFER0) \n\
        Meta <Key>0x1000FF04: insert-selection(CLIPBOARD) \n\
        <Key>F1: string(0x1b) string("OP") \n\
        <Key>F2: string(0x1b) string("OQ") \n\
        <Key>F3: string(0x1b) string("OR") \n\
        <Key>F4: string(0x1b) string("OS") \n\
        <Key>F5: string(0x1b) string("[16~") \n\
        <Key>F11: string(0x1b) string("[23~") \n\
        <Key>F12: string(0x1b) string("[24~") \n\
        <Key>KP_Divide: string(0x1b) string("OP") \n\
        <Key>KP_Multiply: string(0x1b) string("[29~") \n\
        <Key>KP_Subtract: string(0x1b) string("Om") \n\
        <Key>KP_Add: string(0x1b) string("Ol") \n\
        <Key>KP_Decimal: string(".") \n\
        <KeyPress>Num_Lock: string("\033") string("OP") \n\
        <KeyRelease>Num_Lock: string("\033") string("OP") \n\
        <Key>KP_0: string(0) \n\
        <Key>KP_1: string(1) \n\
        <Key>KP_2: string(2) \n\
        <Key>KP_3: string(3) \n\
        <Key>KP_4: string(4) \n\
        <Key>KP_5: string(5) \n\
        <Key>KP_6: string(6) \n\
        <Key>KP_7: string(7) \n\
        <Key>KP_8: string(8) \n\
        <Key>KP_9: string(9) \n\
        <Btn1Down>: select-start() \n\
        <Btn1Motion>: select-extend() \n\
        <Btn1Up>: select-end(PRIMARY,CUT_BUFFER0) \n\
        Button1<Btn2Down>: select-end(CLIPBOARD) \n\
        Button1<Btn2Up>: ignore()' \
        -d $(myHost)"$DISPLAY" -e /u/oldVT/appNew.vt"
======================================================
I have read the How do I print the screen? in "
http://invisible-island.net/xterm/xterm.faq.html#how2_print ", but
without any success to find the popup menu entry to print the window.

Any feedback will be very appreciated.

Cheers,
Kamal
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:49 EDT