tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Bart Rousseau <roussea () uia ! ua ! ac ! be>
To: tru64-unix-managers
Subject: SUMMARY : Problem with terminal settings : The solution
Date: Mon, 02 Jun 1997 10:53:42 +0000	[thread overview]
Message-ID: <96078613510131.tru64-unix-managers.marc@archive.invalid> (raw)

Hello 
      
The original question was (summary):
      
---   
I have two Digital workstations, the first running Digital 
UNIX V4.0B the second running Digital UNIX V3.2. When I try
to rlogin from the first machine to the second I get the 
following message :
      
Never heard of terminal type "dtterm".
Terminal type (default=vt100)?
     
Programs such as vi, vim and pine are not working...
---  
     
Here is what I had to do to get things working :
     
 1. Copy the dtterm terminal info from the /etc/termcap
    file of the first machine to the second machine.
     
 2. Copy the file dtterm.ti in the /usr/dt/config directory
    from the first machine to a temporary directory on the  
    second machine. Compile this file using the tic compiler
     
    tic dtterm.ti
     
    This will copy the compiled file (called dtterm) to the
    /usr/lib/terminfo/d directory.
     
    I think it should be possible to copy this file from the
    first machine to the second instead of compiling it, but 
    I didn't try this.
     
Now the dtterm is available in the /etc/termcap file, as well 
as in the /usr/lib/terminfo directory and programs such as 
vi, vim, pine, etc should work fine.
     
In this way I got things working, but I still got the 
'Never heard of terminal type "dtterm".' message when
logging in. Then I was told that this message didn't
come from Digital UNIX and that I had to look at 
the /etc/profile file. It contained the following lines : 
     
case "$TERM" in
vt100) ;;
vt102) ;;
vt200) ;;
vt220) ;;
vt240) ;;
vt300) ;;
vt320) ;;
wy100) ;;
xterm) export DISPLAY=$REMOTEHOST:0;;
aixterm) export DISPLAY=$REMOTEHOST:0;;
*) echo Never heard of terminal type '"'$TERM'"'.
read TERM?"Terminal type (default=vt100)?"
if [ "$TERM" = "" ]
then
TERM=vt100
fi
;;
esac

I didn't add these lines so I didn't know they were there (It is
not my machine). All I had to do to get rid of the message was
adding the following line :

dtterm) ;;

Thanks to everybody that helped me solve this problem :

"Dr. Tom Blinn, 603-881-0646" <tpb@zk3.dec.com>
Lucio Chiappetti <lucio@ifctr.mi.cnr.it>
"Richard L. Eisenman" <eisenman@tricity.wsu.edu>
Lee Hughes <lhughes@anitesystems.co.uk>
Walt Kopy <wk@unx.dec.com>

Bart.
-- 
-----------------------------------------------
|Bart Rousseau, Ph.D. student                 |
|University of Antwerp - Dep. of Chemistry    |
|Structural Chemistry  - Quantum Chemistry    |
|Universiteitsplein 1  - 2610 Antwerpen       |
|Belgium               - roussea@uia.ac.be    |
|http://sch-www.uia.ac.be/struct/quantum/     |
|kobalt@innet.be       - Bart.Rousseau@kava.be|
|Tel.: + 32 3 8202366  - Fax.: + 32 3 8202356 |
-----------------------------------------------

                 reply	other threads:[~1997-06-02 10:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox