[comp.unix.xenix] vt220 on Xenix

simon@ms.uky.edu (G. Simon Gales) (08/03/90)

Am trying to install a vt220 on our Xenix system, but got hung up on
a few things.

First off, this critter has a backspace key that send a del, instead of
a bs (ascii 127 instead of 8).  It is not re-programmable.  And Xenix
sees a del as the interrupt character by default.  I can do:
	stty intr ^C
	stty erase ^?
Now the backspace key works, logically, but it does not move on the screen,
not do characters disappear.  This can be fixed with a:
	stty echoe

The problem?  How do I set these things in gettydefs, so that backspace is
usable while logging in, or at least get them set automatically after login?
Many users will be using the terminal, so the method must key in on the 
port name.

Thanks in advance for any helpful or creative sugestions...


-- 
               Simon Gales@The University of Kentucky
   simon@ms.uky.edu    simon@UKMA.BITNET   {rutgers, uunet}!ukma!simon

 Power is danger.  -- The Centurion, "Balance of Terror," stardate 1709.2.

jan@unikla.ASK.SE (Jan S{ll) (08/05/90)

In article <15754@s.ms.uky.edu>, simon@ms.uky.edu (G. Simon Gales) writes:
> Am trying to install a vt220...
> [things deleted]
> 	stty intr ^C
> 	stty erase ^?

You can set these instructions in the file /etc/profile. The standard way
on Xenix is that all Users have one own .profile with instructions that
sets (or ask) for terminal type and so on.

This is a waist of diskspace (and time if anything is altered). I prefer
that all standard setups are done in /etc/profile, so that I (as an system
administrator) can easy change things for all.

If you are using csh as shell you can do the same thing with the 'source'
command in everybodys .login file.


+--------------------------------------+
!   Administration & Systemkonsult AB  !
!   Att: Jan Saell                     !
!   Box 59, S-692 21 KUMLA, SWEDEN     !
!   Tel: 019-825 15  Int +46-19 825 15 !
!   Internet: jan@ask.se               !
+--------------------------------------+