Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 1997 16:07:46 +0200 (MET DST)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org (FreeBSD questions)
Cc:        dkeller@psln.com
Subject:   Re: where to have "stty erase ^H" executed?, .profile
Message-ID:  <199706101407.QAA00362@CoDe.hu>
In-Reply-To: <199706061912.MAA06759@psln1.psln.com> from Daniel Keller at "Jun 6, 97 12:42:43 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> I would like to have "stty erase ^H" executed whenever the computer is
> booted up, which file should I put it in so it effects every user? I
> noticed that the file /.profile has this line, but the file is not
> executable and I never see and output from it.

i) Well, because you have to say it in every terminal line, I think the correct
place is
1) /etc/profile - for sh/ksh/pdksh/bash/i don't knot the other sh-like shell
2) /etc/csh.login - for csh/tcsh/       -"-                   csh -"-

ii) Or you have to make your changes into /etc/gettytab, and put into its
default section an er=^H - or something like this.
(man 5 gettytab)

Gabor

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706101407.QAA00362>