home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / misc / 27288 < prev    next >
Encoding:
Text File  |  1992-08-13  |  2.2 KB  |  48 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!psgrain!hippo!ucthpx!physci.uct.ac.za!fearick
  3. From: fearick@physci.uct.ac.za (Roger Fearick)
  4. Subject: Re: Switching OS/2 windows<>fullscreen
  5. Sender: news@ucthpx.uct.ac.za (UCT News Admin.)
  6. Message-ID: <fearick.50.713723054@physci.uct.ac.za>
  7. Date: Thu, 13 Aug 1992 16:24:14 GMT
  8. References: <1992Aug7.185249.4620@hsv3.lsil.com> <1992Aug12.164512.7237@njitgw.njit.edu> <19682@plains.NoDak.edu>
  9. Organization: Physics Department, University of Cape Town
  10. Lines: 36
  11.  
  12. In article <19682@plains.NoDak.edu> phaniraj@plains.NoDak.edu (V. Phaniraj) writes:
  13.  
  14. >Using Microsoft FORTRAN 5.1, all the programs I compile for OS/2
  15. >switch a windowed OS/2 session to a  full-screen one, and then return
  16. >to windowed mode once the application finishes running. I wrote
  17. >a little program that does nothing except shell to %OS2_SHELL,
  18. >and this works as a windowed--> full-screen switching program.
  19. >(requires access to command line though, not triggered by a
  20. >keyboard sequence). It would be interesting to check if this
  21. >session has direct access to the video hardware, which was mentioned
  22. >as one of the differences between windowed and full-screen sessions.
  23. >How would one test this ?
  24.  
  25. The default behaviour of link.exe that you use for MS fortran 5.1 is to mark 
  26. the exe file as NOTWINDOWCOMPAT. This can be changed to WINDOWCOMPAT, e.g by 
  27. an appropriate statement in the .def file (I don't have the docs handy..)
  28. This means that when you start the program the os/2 loader detects that the 
  29. program can only run in a full screen session (with full access to video 
  30. etc....) and starts up ANOTHER session in which to run it. (you original 
  31. windowed session will probably be iconised). So you're not actually 
  32. switching between windowed and full screen sessions. There's a markexe.exe 
  33. program that came with some of the microsoft stuff that will let you turn 
  34. you Fortran app exe file into one that will run in a windowed session.
  35. For info, the 32 bit link386.exe that comes with os/2 defaults to a windowed 
  36. os/2 session.
  37.  
  38.  
  39. >Raj
  40. >-- 
  41.  
  42. Roger.
  43.  
  44.  
  45. Roger Fearick                 *  Internet: fearick@physci.uct.ac.za
  46. Dept. of Physics              *
  47. University of Cape Town       *
  48.