- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT...
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
Discussions
Discussions
Forums
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
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
тАО06-21-2007 11:49 PM
тАО06-21-2007 11:49 PM
does somebody know how to do a
$ SET DISPLAY/CREATE/NODE= /TRANSPORT= /SERVER= /SCREEN=
in a language like C or Pascal ?
Regards
Geni
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 12:26 AM
тАО06-22-2007 12:26 AM
Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal
It's Friday and I'm just out the door, but..
sys$examples ... [.decw] has a few C programs in it.
Any good?
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 12:46 AM
тАО06-22-2007 12:46 AM
Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal
#include
int system (const char *string);
This passes the string to the host environment to be executed by the command processor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 12:58 AM
тАО06-22-2007 12:58 AM
Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal
Walter: There is a possibility to the oposite (SHOW DISPLAY) with a QIO and a undocumented IO$_SENSEMODE | IO$M_WS_DISPLAY.
I Would prefere a solution with a qio or another system_service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 01:09 AM
тАО06-22-2007 01:09 AM
Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal
http://h71000.www7.hp.com/freeware/freeware40/srh_examples/
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 02:01 AM
тАО06-22-2007 02:01 AM
Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal
c
c the below values should be in $iodef
c but in fortran they are not there so
c I define them myself.
c
integer*4 decw$c_ws_dsp_node
parameter (decw$c_ws_dsp_node=1)
integer*4 decw$c_ws_dsp_transport
parameter (decw$c_ws_dsp_transport=2)
integer*4 decw$c_ws_dsp_server
parameter (decw$c_ws_dsp_server=3)
integer*4 decw$c_ws_dsp_screen
parameter (decw$c_ws_dsp_screen=4)
integer*4 io$m_ws_display
parameter (io$m_ws_display=64)
c
c First try the DECW$DISPLAY
c
istat= sys$assign('decw$display',chan,,,)
if(istat) then
c
c decw$display exists, so now get it
c THis code gets the value, but if you
c replace the sensmode with setmode, it
c should set it
c
opcode = io$_sensemode .or. io$m_ws_display
c
c Get transportname
c
istat = sys$qiow(%val(EFN$C_ENF),%val(chan),%val(opcode),iosb,,,
1 %ref(transportname),%val(len(transportname)),
1 %val(decw$c_ws_dsp_transport),,,)
if(istat) istat = iosb.wstatus
c
c I assume you can translate to c
c You need 4 qios to set all elements
c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 03:17 AM
тАО06-22-2007 03:17 AM
Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal
If you're creating a process and seeking to have it use DECwindows to display output, you can pass in the WSAu: device into the created process. LOGINOUT looks at the I/O channels to decide what its target is; toss the WSAu: cloned device at all three arguments; input, output and error.
I'll post an article on this topic over at the new HoffmanLabs site later today.
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 07:00 AM
тАО06-22-2007 07:00 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2007 01:10 AM
тАО06-24-2007 01:10 AM
Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal
Thanks a lot. I will be able to solve the problem now by using SETMODE instead of sensemode. I wrote a hack to test it and it seems that this is working well.
Thanks
Geni