- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Telnet sessions and TERMINAL/INQUIRE
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
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
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
тАО10-19-2005 02:52 AM
тАО10-19-2005 02:52 AM
Telnet sessions and TERMINAL/INQUIRE
I am not an OpenVMS expert but I think the problem is in the SYS$MANAGER:SYLOGIN.COM procedure and the TT_DEVPREFIX returns as "TN" and therefore does not execute the SET TERMINAL/INQUIRE command. As a test, I removed the "TN" option from the TT_NOINQUIR variable and that solved the problem but I am not sure why I had to do this.
What is the proper fix so that telnet sessions are properly setup for the terminal type and parameters dynamically for an 8.2-1 system ?
Tia,
Pierre Goyette
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 03:37 AM
тАО10-19-2005 03:37 AM
Re: Telnet sessions and TERMINAL/INQUIRE
Generally a interactive connection use a terminal device with two letters to indicate type of connection (TX serial, LT LAT, RT DEcnet, NV X.25, TN TELNET, ...). For me, is a well idea to use set terminal/inquire for all INTERACTIVE connections. You are included (I thinks), telnet in terminal type who need /INQUIRE option.
Saludos.
Daniel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 03:39 AM
тАО10-19-2005 03:39 AM
Re: Telnet sessions and TERMINAL/INQUIRE
What's a "proper" fix? I like yours.
It may be that in some environments, a Telnet
connection is likely to come from a source
which does not respond well to SET TERMINAL
/INQUIRE.
It is also possible for a user to add similar
(but different) code to his own LOGIN.COM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 03:41 AM
тАО10-19-2005 03:41 AM
Re: Telnet sessions and TERMINAL/INQUIRE
Are you connecting from non-VMS systems?
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 03:44 AM
тАО10-19-2005 03:44 AM
Re: Telnet sessions and TERMINAL/INQUIRE
I thought the problem was the TERMINAL/INQUIRE but I think there is another problem.
Comments?
Thanks,
Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 03:48 AM
тАО10-19-2005 03:48 AM
Re: Telnet sessions and TERMINAL/INQUIRE
Certainly removing TN from the list of device types for which the SET TERM/INQ is not done will work.
I think devices are listed there where a SET TERM/INQ is may be unecesary or may cause problems.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 03:53 AM
тАО10-19-2005 03:53 AM
Re: Telnet sessions and TERMINAL/INQUIRE
I've tested several telnet clients (in fact, we are a major developer of connectivity software) and the problem is that the host is not sending out the IAC DO TTYPE which it should at the very beginning of a connection. I don't know why it isn't doing this. I did a clean new install of 8.2-1, I checked the ftp site and there do not appear to be any patches. Is there something to configure in the Telnet service ?
Thanks,
Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 07:59 AM
тАО10-19-2005 07:59 AM
Re: Telnet sessions and TERMINAL/INQUIRE
$ telnet
TELNET> enable options
TELNET> connect yournode
You will see the telnet negotiation.
Look for:
SENT WILL TERMINAL TYPE
.
.
.
RCVD DO TERMINAL TYPE (don't reply)
RCVD SB TERMINAL TYPE SEND
SEND SB TERMINAL TYPE IS VT100
This will tell you if it will negotiate with itself. If this does not look correct try the
TELNET> enable debug
and examine the output for the negotiation you are looking for and the proper format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 08:50 AM
тАО10-19-2005 08:50 AM
Re: Telnet sessions and TERMINAL/INQUIRE
Thanks for the idea.
What I discovered is that the difference with the OpenVMS Telnet client is that the client first sends a WILL TTYPE to which the server properly responds DO TTYPE and then they negotiate the terminal type. But this is very non-standard. Most telnet servers out there always send a DO TTYPE as the first data to the client and negotiations continue from there.
I am unsure why in this case, the client is sending it and the server is not sending it by default.
Regards,
Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 01:36 PM
тАО10-19-2005 01:36 PM
Re: Telnet sessions and TERMINAL/INQUIRE
Some would argue that the (mis)behaviour of the SET TERMINAL/INQUIRE command when executed from non-interactive processes is a bug. There's at least one public domain utility that corrects this problem.
Attached is SET_TERM_INQUIRE.EXE - this is an OpenVMS Alpha image which you can execute unconditionally in SYLOGIN.COM or LOGIN.COM. If executed from a batch or network process it will simply return. If executed in an interactive process it will set the terminal correctly. It also preserves terminal page and width.
Try a google search if you want to find the source code.