|
The way it's supposed to work is that the display size that is first, takes priority. That is if *DS4 is specified before *DS3 on the DSPSIZ keyword, it supposed to recognize it. There is a DSPMOD keyword as well, perhaps somebody else has got that to work. What I do is call a C program that looks at the job control block and reads the "I'm in 132 mode" setting. I wrote this a while ago, but since then, IBM has shipped an API in the DSM library that does the same thing. It works the same way (I know, because I gave the author of DSM a code snippet.) I don't recall the name of that API, but once you know the current display mode, you can open a display file that has the proper mode listed first in the DSPSIZ keyword. I know this means two displays files, but that's how I get my stuff to work. Is there another way that works today, people? I hope so, let me know. Bob Cozzi On Friday, June 13, 1997 5:46 PM, Matthias Oertli [SMTP:oertlim@s054.aone.net.au] wrote: > We have an attention key handling program that pops up a > window listing all active group jobs to choose from. > This work well as long as the display is in 80x24 mode. > If it is in 132 column mode the attention key handler forces > the display back into 80 column mode which cleares the > screen behind the window. If we exit the attention key handler > the screen switches back to 132 column mode. > I would like to be able to pop the attention key handler up in > 132 column mode but don't know how to detect it and how > to set up the display file to be able to handle both. > A pointers? > > Matthias > > ------------------------------------------------------------------------ ---------------------------------------------------- > Matthias Oertli, Sydney, Australia <oertlim@s055.aone.net.au> Bob Cozzi Bob@rpgdev.net http://www.rpgdev.net * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.