Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

emulate a 4410 SAT from linux 1

Status
Not open for further replies.

jaymzter

Vendor
Jul 8, 2002
441
US
I do most of my work from Linux, so it's helpful to be able to connect to Definity/S8x00 boxes and use xterm to administer them. I hope this helps somebody, it took forever to get right. If using Linux (or Unix) paste the below into your .Xdefaults file:
Code:
*VT100.BctLabel1: :    F1       F2       F3      F4        F5       F6       F7      F8        F9      SF1      SF2      SF3
*VT100.BctLabel2: :  PrevPg   PrvFld   NxtFld   NxtPg    Submit   BacTab   Cancel   Help     NxtFrm   Refrsh   ClrFld   Update
*VT100.Translations: #override ~Shift <Key>F1:        string("\033OP") \n ~Shift <Key>F2:        string("\033OQ") \n ~Shift <Key>F3:        string("\033OR") \n ~Shift <Key>F4:        string("\033OS") \n ~Shift <Key>F5:        string("\033OT") \n ~Shift <Key>F6:        string("\033Or") \n ~Shift <Key>F7:        string("\033OV") \n ~Shift <Key>F8:        string("\033OW") \n
Since it's not displayed correctly, note must be made that the first two VT* lines are each one long line, IOW, labels are all on the same line as the VT* lines. To do the same using Eterm (another terminal program I like), put the following in your ~/.Eterm/user.cfg:

begin actions
bind 0xffbe to echo '\033OP'
bind 0xffbf to echo '\033OQ'
bind 0xffc0 to echo '\033OR'
bind 0xffc1 to echo '\033OS'
bind 0xffc2 to echo '\033OT'
bind 0xffc3 to echo '\033Or'
bind 0xffc4 to echo '\033OV'
bind 0xffc5 to echo '\033OW'
end actions

If you use Solaris, you can setup dtterm like so:

*dtTerm*Translations: #override~Shift <Key>F9: string("\033OP") \n ~Shift <Key>F2: string("\033OQ") \n ~Shift <Key>F3: string("\033OR") \n ~Shift <Key>F4: string("\033OS") \n ~Shift <Key>F5: string("\033OT") \n ~Shift <Key>F6: string("\033Or") \n ~Shift <Key>F7: string("\033OV") \n ~Shift <Key>F8: string("\033OW") \n\
~Shift <Key>Help: string("\033OP") \n
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top