Operating System - HP-UX
1819803 Members
3205 Online
109607 Solutions
New Discussion юеВ

Re: Terminal Problem again...

 
yyghp
Super Advisor

Terminal Problem again...

Here's the problem and solution I met before:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=288029

Now I found that the solution above didn't apply to DOS Prompt.
Although I add the following to the profile:
export TERM=vt100
export TERMCAP=/usr/share/lib/termcap
It's working within Putty or Reflection, but not DOS PROMPT.
Our developers want to use regular telnet from Dos Prompt ( run "cmd" ), then login to Unix to edit their files with Pico, but have the same error:

$ /usr/local/bin/pico
Unknown terminal type vt100!

So, what can I do ?
Thanks !



6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: Terminal Problem again...

You may have to first set the term type within Windows telnet.

From the command prompt, type 'telnet' and hit return. DO NOT put in a host name yet.

At the "Microsoft Telnet>" prompt type:

set term vt100

Now at the "Microsoft Telnet>" prompt type:

o hostname_you_want_to_connect_to

And see what happens.

The default preferred term type for Miscrosoft telnet is ANSI. You HP-UX machine may not know about that. With the command above you are changing that to vt100.

I would be preferable to use a real telnet client rather than the Microsoft stuff.
yyghp
Super Advisor

Re: Terminal Problem again...

Thanks, but it didn't work:

Microsoft Telnet> set term vt100
Microsoft Telnet> o srs075
...

HP-UX srs075 B.11.11 U 9000/800 (tf)

login: root
Password:
Last successful login for root: Thu May 12 11:42:09 EST5EDT 2005 on pts/tf
Last unsuccessful login for root: Thu May 12 10:55:02 EST5EDT 2005
Please wait...checking for disk quotas
(c)Copyright 1983-2000 Hewlett-Packard Co., All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2000 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
(c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.


RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.

Hewlett-Packard Company
3000 Hanover Street
Palo Alto, CA 94304 U.S.A.

Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
You have mail.

Value of TERM has been set to "vt100".
WARNING: YOU ARE SUPERUSER !!

# export TERM=vt100
# export TERMCAP=/usr/share/l/b/termcap
# /usr/local/bin/pico
Unknown terminal type vt100!

Thanks!
Dani Seely
Valued Contributor

Re: Terminal Problem again...

Have you tried setting your TERM to hpterm rather than vt100?
Together We Stand!
Stephen Keane
Honored Contributor

Re: Terminal Problem again...

It looks like pico doesn't understand the terminal type. Try TERM=hp and see if pico likes that any better.
Stephen Keane
Honored Contributor

Re: Terminal Problem again...

Or you could install nano instead, its a GNU enhanced version of pico.
yyghp
Super Advisor

Re: Terminal Problem again...

I tried hpterm but it didn't work either.
I would like to setup PICO because I want to know what's wrong here.
I can use Putty without any problem but why can't use DOS Prompt or Reflection ?
Thanks!