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_at_zk3.dec.com>
Lucio Chiappetti <lucio_at_ifctr.mi.cnr.it>
"Richard L. Eisenman" <eisenman_at_tricity.wsu.edu>
Lee Hughes <lhughes_at_anitesystems.co.uk>
Walt Kopy <wk_at_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_at_uia.ac.be |
|http://sch-www.uia.ac.be/struct/quantum/ |
|kobalt_at_innet.be - Bart.Rousseau_at_kava.be|
|Tel.: + 32 3 8202366 - Fax.: + 32 3 8202356 |
-----------------------------------------------
Received on Mon Jun 02 1997 - 13:21:47 NZST