Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

SecureCRT access HPUX cannot use vi

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, after using SecureCRT to connect to HPUX and using vi to edit the file, the following error message appears:

Error message:

Linux: Unknown terminal type

I don't know what kind of terminal you are on-all I have is' linux'.

[Using open mode]

Cause of error:

The server does not recognize the type of terminal currently in use

Solution:

Because the HP-UX is logged on remotely through a transit server, it is invalid to configure the terminal type directly in the client software SecureCRT. Solve the problem after manually entering export TERM=vt100! For the convenience of editing later, just add a line "export TERM=vt100" to the profile.

If crontab-e cannot be used properly, you can execute export EDITOR=/usr/bin/vi.

Author: SEian.G (hard practice changes in 72, but it is difficult to laugh at 81)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report