hook@cheddar.cc.ubc.ca (Chris Hook) (01/03/90)
I'm having trouble determining how to set up an xterm command line option. What I wish to do is to be able to toggle (or, rather, set) the Application Cursor Mode for an xterm from the invoking command line, rather than from the xterm built in menu (i.e., the Ctrl-middle button one). I need to do this to get a connection to an IBM mainframe to process my arrow keys correctly (using the tn3270 package). Currently, I set the options as (using a sparcstation 1): xterm -sf -e tn3270 which gets all my keypad keys working (of course, following a bit of work on the tn3270 key map file), mainly by using the -sf option. BUT, once tn3270 is invoked, the Application Cursor Mode gets turned on (without my intervention). I must then turn it off using the xterm menu, or else the cursor keys come off as garbage. For myself, I can live with this (maybe), but I have a number of users who insist on needing this cursoring ability, without have to remember all the separate xterm menu things (tn3270 presents no such problem in the suntools environment). So, I guess the question is, is there some way to have some sort of sticky setting for the Application Cursor Mode so that other programs CANNOT turn it on? thanks, Chris Hook