- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to get answerback from VT or PC with emula...
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
тАО11-16-2004 12:58 AM
тАО11-16-2004 12:58 AM
I would like to be able to get the answerback implemented on a VT or on a PC with the emulator Relection. How can I do that?
Thanks in advance for your help
regards
Steph
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2004 01:44 AM
тАО11-16-2004 01:44 AM
Re: How to get answerback from VT or PC with emulator
Reflextion may depend on the version. In version 6 (on the current desktop):
Choose SetUp, View settings. You get a box 'Reflextio Settings'. Choose "answerback" where you can enter the message. Options "Answerback concealed" and "auto-answerback" allow you to hide the message and to send it automatically.
(I haven't tried it but just looked into the possibilities)
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2004 01:44 AM
тАО11-16-2004 01:44 AM
Re: How to get answerback from VT or PC with emulator
Refelxtion may depend on the version. In version 6:
Choose SetUp, View settings. You get a box 'Reflextio Settings'. Choose "answerback" where you can enter the message. options "Answerback concealed" and "auto-answerback" allow you to hide the message and to send it automatically.
(I haven't tried it but just looked into the possibilities)
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2004 01:57 AM
тАО11-16-2004 01:57 AM
Re: How to get answerback from VT or PC with emulator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2004 02:11 AM
тАО11-16-2004 02:11 AM
SolutionTo get the answerback, you'll need to send a 'control-E' to the terminal, and read back the answer. For example in DCL:
$ e="e"
$ e[0,8]=5
$ read/prompt=&e sys$command test
$ show symbol test
This assumes that the answerback is terminated.
If it is not, it get's more tricky and you may need to use a timeout on a QIO (can no longer use DCL, as the read will fail).
Or you can follow the answerback question with an other escape-sequence-answer question such that the answer will terminate the read.
Something like:
$control_e[0,8] = 5
$csi[0,8] = 155
$write sys$output control_e,csi,"5n" !Ask for answerback + indentification
$read/prompt="" sys$command test
$ read sys$command test
Btw, a similar technique can be used to read things like terminal Id and cursor position.
Example below. But reall you should use SMG or a direct call to SYS$QIOW and examine the terminator to do that properly.
What language/tool/script did you intent to use?
hth,
Hein,
$csi[0,8] = 155
$set term/noecho/noesc !Any escape will become terminator.
$write sys$output csi,"5n",csi,"5n" !Ask identification twice
$read/prompt="" sys$command escape !Terminate with escape part of first
$set term/esc !Full escape sequences are terminators
$read/prompt="" sys$command ident !Read body of first escape sequence
$ ! terminated by second escape sequence.
$set term/echo !Reset terminal.
$write sys$output ident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2004 02:11 AM
тАО11-16-2004 02:11 AM
Re: How to get answerback from VT or PC with emulator
http://www.vt100.net
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2004 03:29 AM
тАО11-16-2004 03:29 AM
Re: How to get answerback from VT or PC with emulator
Hein posted the best procedure to get answerback.
Why would you read the answerback?
In past I used answerback to identify workstation; if you need of this, remember VT can be moved. It's better read TT_ACCPORNAM of terminal line.
If you need something like password don't forget set concealed answerback on terminal.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2004 10:24 PM
тАО11-16-2004 10:24 PM
Re: How to get answerback from VT or PC with emulator
We want to be able to get answerback from VT/PC in order to use it as a test in a dcl command procedure
Steph