home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / dec / 4159 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.9 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!news.sei.cmu.edu!drycas.club.cc.cmu.edu!perry
  2. From: perry@drycas.club.cc.cmu.edu
  3. Newsgroups: comp.sys.dec
  4. Subject: Zen and bad Karma with running an EXE in a .com
  5. Message-ID: <1992Jul23.152903.1601@drycas.club.cc.cmu.edu>
  6. Date: 23 Jul 92 15:29:03 -0500
  7. Organization: Carnegie Mellon Computer Club
  8. Lines: 55
  9.  
  10. I thought this would be so easy..
  11.  
  12. The task:
  13.  
  14. Create a command procedure that will run an EXE in batch that is now being run
  15. interactively.  Easy enough, no full screen- just simple prompts.
  16.  
  17. The problem:
  18.  
  19. The program (a .EXE) is menu driven giving you options, then more menus
  20. with more options.  To go one back (pop up one menu, or exit), you hit the
  21. CTRL-Z key.  I cannot find the magic to make ctrl-z as important as it is
  22. when in interactive mode.
  23.  
  24. You think ^Z is the same in either, right?  So did I.  But then explain why
  25. the F10 key is the same as ^Z, when they are completely different keys (meaning
  26. they send different sequences back to the vax) BTW- neither CTRL-Z or F10
  27. seems to mean  EXIT in batch.
  28.  
  29. The point is, the program wants the special input that hitting CTRL-Z or
  30. F10 in interactive mode sends back to the program.  Does anyone have any idea
  31. how inbed it into a file?
  32.  
  33. I have tried:
  34.  
  35. 1)  putting the ^Z (not carrot Z but he real thing :-)
  36. 2)  putting the F10 Escape sequence
  37. 3)  Ripping my hair out and steadying my aim at the crt!
  38.  
  39. I'm open to suggestions.  Source code for the .EXE is not availiable (3rd
  40. party product).  This simple, 1hour task has become a fiasco!  Oh, here's an
  41. example command file that is built by the command procedure:
  42.  
  43. $!
  44. $DMS
  45. 1
  46. 3
  47. 059
  48. 069
  49. ^Z
  50. ^Z
  51. $exit
  52.  
  53. where:  DMS runs the program, 1 is shop maintenace, 3 is change shop, 059
  54. is original shop number, 069 is new shop number, ^z [doesn't work] pops you
  55. to the top menu, and ^z [again doesn't work] exits the program.
  56.  
  57.  
  58. Any help by you Gurus would be appreciated!
  59.  
  60. ADV(thanks)ANCE
  61.  
  62.  
  63. Perry
  64. perry@drycas.club.cc.cmu.edu
  65.