Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 1997 16:07:46 +0200 (MET DST)
From:      Zahemszky Gabor <>
To: (FreeBSD questions)
Subject:   Re: where to have "stty erase ^H" executed?, .profile
Message-ID:  <>
In-Reply-To: <> 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)


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: <>