- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How do I launch a DECterm that opens a TXT fil...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 01:53 AM
07-18-2006 01:53 AM
I am adding a help function to the menu.
How do I when I select the "HELP" menu item launch a new DECterm that will open a TXT file.
This TXT file will be perused while the tool is in use.
Finally, Is there a way to close this newly launched DECterm other than "lo" or "File-->Exit"?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 02:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 06:41 AM
07-26-2006 06:41 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
How do I launch a DECterm that opens a README.TXT help file from a FORTRAN file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 06:43 AM
07-26-2006 06:43 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 06:58 AM
07-26-2006 06:58 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
Now how do I launch a DECterm that opens a README.TXT help file from a FORTRAN file?
You can always call LIB$SPAWN("create/term edit myhelp.txt") with NOWAIT
The FORTRAN details you probably know better than me.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 05:59 AM
07-27-2006 05:59 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
1 how would I make it a standalone routine?
2 What include files would I need?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 01:26 AM
08-15-2006 01:26 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
I am using LIB$SPAWN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 01:47 AM
08-15-2006 01:47 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
I still think you should possibly check out DECwTermPort() as I replied in you other topic.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1050438
Anyway, I also found some old notes which suggest:
"You could probably fix this by synchronising in CMDFILE.COM with the CREATE/TERMINAL but that would be harder than the following.
In CMDFILE.COM
$ create/terminal/noprocess/define=xyz
$ assign/user xyz sys$input
$ assign/user xyz sys$output
$ edit/tpu/read the_files:file.txt
and then just LIB$SPAWN("@CMDFILE")
Untested!
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 01:54 AM
08-15-2006 01:54 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
The default is NOWAIT. /WAIT Requires that you wait for the subprocess to terminate before you enter another DCL command. Your next DCL in the SPAWN is effectively a logout which kills that process as well as its children... the tpu process.
Check out $HELP CREATE /TERM ...
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2006 01:28 AM
08-16-2006 01:28 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
lib$spawn("type/page readme.txt")
$ cre/term pipe sho time ; inq ans "Continue"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 01:54 AM
08-17-2006 01:54 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
$ run/nodebug menu.exe
However, when I put this same run command into a COM file, the window opens, but the file is not displayed.
How could this be happening?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 02:05 AM
08-17-2006 02:05 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
Standard OpenVMS practice.
If that does nto solve it...
- Any error messages?
- Final stat (from ACCOUNTING?) for the sub process?
- SET WATCH FILE/CLA=MAJOR) ! Requires CMKRNL
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 06:22 AM
08-17-2006 06:22 AM
Re: How do I launch a DECterm that opens a TXT file from a COM file?
Now my README.TXT file is opening in the FORTRAN MAIN Window and not in the newly created DECTerm. Somehow, I need to redefine the opening of this file from the parent DECTerm to the child DECTerm. How can I accomplish this?