head 1.10; access; symbols netbsd-10-0-RELEASE:1.10 netbsd-10-0-RC6:1.10 netbsd-10-0-RC5:1.10 netbsd-10-0-RC4:1.10 netbsd-10-0-RC3:1.10 netbsd-10-0-RC2:1.10 netbsd-10-0-RC1:1.10 netbsd-10:1.10.0.26 netbsd-10-base:1.10 netbsd-9-3-RELEASE:1.10 cjep_sun2x-base1:1.10 cjep_sun2x:1.10.0.24 cjep_sun2x-base:1.10 cjep_staticlib_x-base1:1.10 netbsd-9-2-RELEASE:1.10 cjep_staticlib_x:1.10.0.22 cjep_staticlib_x-base:1.10 netbsd-9-1-RELEASE:1.10 phil-wifi-20200421:1.10 phil-wifi-20200411:1.10 is-mlppp:1.10.0.20 is-mlppp-base:1.10 phil-wifi-20200406:1.10 netbsd-8-2-RELEASE:1.10 netbsd-9-0-RELEASE:1.10 netbsd-9-0-RC2:1.10 netbsd-9-0-RC1:1.10 phil-wifi-20191119:1.10 netbsd-9:1.10.0.18 netbsd-9-base:1.10 phil-wifi-20190609:1.10 netbsd-8-1-RELEASE:1.10 netbsd-8-1-RC1:1.10 pgoyette-compat-merge-20190127:1.10 pgoyette-compat-20190127:1.10 pgoyette-compat-20190118:1.10 pgoyette-compat-1226:1.10 pgoyette-compat-1126:1.10 pgoyette-compat-1020:1.10 pgoyette-compat-0930:1.10 pgoyette-compat-0906:1.10 netbsd-7-2-RELEASE:1.9 pgoyette-compat-0728:1.10 netbsd-8-0-RELEASE:1.10 phil-wifi:1.10.0.16 phil-wifi-base:1.10 pgoyette-compat-0625:1.10 netbsd-8-0-RC2:1.10 pgoyette-compat-0521:1.10 pgoyette-compat-0502:1.10 pgoyette-compat-0422:1.10 netbsd-8-0-RC1:1.10 pgoyette-compat-0415:1.10 pgoyette-compat-0407:1.10 pgoyette-compat-0330:1.10 pgoyette-compat-0322:1.10 pgoyette-compat-0315:1.10 netbsd-7-1-2-RELEASE:1.9 pgoyette-compat:1.10.0.14 pgoyette-compat-base:1.10 netbsd-7-1-1-RELEASE:1.9 matt-nb8-mediatek:1.10.0.12 matt-nb8-mediatek-base:1.10 perseant-stdc-iso10646:1.10.0.10 perseant-stdc-iso10646-base:1.10 netbsd-8:1.10.0.8 netbsd-8-base:1.10 prg-localcount2-base3:1.10 prg-localcount2-base2:1.10 prg-localcount2-base1:1.10 prg-localcount2:1.10.0.6 prg-localcount2-base:1.10 pgoyette-localcount-20170426:1.10 bouyer-socketcan-base1:1.10 pgoyette-localcount-20170320:1.10 netbsd-7-1:1.9.0.32 netbsd-7-1-RELEASE:1.9 netbsd-7-1-RC2:1.9 netbsd-7-nhusb-base-20170116:1.9 bouyer-socketcan:1.10.0.4 bouyer-socketcan-base:1.10 pgoyette-localcount-20170107:1.10 netbsd-7-1-RC1:1.9 pgoyette-localcount-20161104:1.10 netbsd-7-0-2-RELEASE:1.9 localcount-20160914:1.10 netbsd-7-nhusb:1.9.0.30 netbsd-7-nhusb-base:1.9 pgoyette-localcount-20160806:1.10 pgoyette-localcount-20160726:1.10 pgoyette-localcount:1.10.0.2 pgoyette-localcount-base:1.10 netbsd-7-0-1-RELEASE:1.9 netbsd-7-0:1.9.0.28 netbsd-7-0-RELEASE:1.9 netbsd-7-0-RC3:1.9 netbsd-7-0-RC2:1.9 netbsd-7-0-RC1:1.9 netbsd-5-2-3-RELEASE:1.8 netbsd-5-1-5-RELEASE:1.8 netbsd-6-0-6-RELEASE:1.9 netbsd-6-1-5-RELEASE:1.9 netbsd-7:1.9.0.26 netbsd-7-base:1.9 yamt-pagecache-base9:1.9 yamt-pagecache-tag8:1.9 netbsd-6-1-4-RELEASE:1.9 netbsd-6-0-5-RELEASE:1.9 tls-earlyentropy:1.9.0.24 tls-earlyentropy-base:1.9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9 riastradh-drm2-base3:1.9 netbsd-6-1-3-RELEASE:1.9 netbsd-6-0-4-RELEASE:1.9 netbsd-5-2-2-RELEASE:1.8 netbsd-5-1-4-RELEASE:1.8 netbsd-6-1-2-RELEASE:1.9 netbsd-6-0-3-RELEASE:1.9 netbsd-5-2-1-RELEASE:1.8 netbsd-5-1-3-RELEASE:1.8 netbsd-6-1-1-RELEASE:1.9 riastradh-drm2-base2:1.9 riastradh-drm2-base1:1.9 riastradh-drm2:1.9.0.16 riastradh-drm2-base:1.9 netbsd-6-1:1.9.0.22 netbsd-6-0-2-RELEASE:1.9 netbsd-6-1-RELEASE:1.9 khorben-n900:1.9.0.20 netbsd-6-1-RC4:1.9 netbsd-6-1-RC3:1.9 agc-symver:1.9.0.18 agc-symver-base:1.9 netbsd-6-1-RC2:1.9 netbsd-6-1-RC1:1.9 yamt-pagecache-base8:1.9 netbsd-5-2:1.8.0.58 netbsd-6-0-1-RELEASE:1.9 yamt-pagecache-base7:1.9 netbsd-5-2-RELEASE:1.8 netbsd-5-2-RC1:1.8 matt-nb6-plus-nbase:1.9 yamt-pagecache-base6:1.9 netbsd-6-0:1.9.0.14 netbsd-6-0-RELEASE:1.9 netbsd-6-0-RC2:1.9 tls-maxphys:1.9.0.12 tls-maxphys-base:1.9 matt-nb6-plus:1.9.0.10 matt-nb6-plus-base:1.9 netbsd-6-0-RC1:1.9 yamt-pagecache-base5:1.9 yamt-pagecache-base4:1.9 netbsd-6:1.9.0.8 netbsd-6-base:1.9 netbsd-5-1-2-RELEASE:1.8 netbsd-5-1-1-RELEASE:1.8 yamt-pagecache-base3:1.9 yamt-pagecache-base2:1.9 yamt-pagecache:1.9.0.6 yamt-pagecache-base:1.9 cherry-xenmp:1.9.0.4 cherry-xenmp-base:1.9 bouyer-quota2-nbase:1.9 bouyer-quota2:1.9.0.2 bouyer-quota2-base:1.9 matt-mips64-premerge-20101231:1.9 matt-nb5-mips64-premerge-20101231:1.8 matt-nb5-pq3:1.8.0.56 matt-nb5-pq3-base:1.8 netbsd-5-1:1.8.0.54 netbsd-5-1-RELEASE:1.8 netbsd-5-1-RC4:1.8 matt-nb5-mips64-k15:1.8 netbsd-5-1-RC3:1.8 netbsd-5-1-RC2:1.8 netbsd-5-1-RC1:1.8 netbsd-5-0-2-RELEASE:1.8 matt-nb5-mips64-premerge-20091211:1.8 matt-premerge-20091211:1.9 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.8 matt-nb4-mips64-k7-u2a-k9b:1.8 matt-nb5-mips64-u1-k1-k5:1.8 matt-nb5-mips64:1.8.0.52 netbsd-5-0-1-RELEASE:1.8 jym-xensuspend-nbase:1.8 netbsd-5-0:1.8.0.50 netbsd-5-0-RELEASE:1.8 netbsd-5-0-RC4:1.8 netbsd-5-0-RC3:1.8 netbsd-5-0-RC2:1.8 jym-xensuspend:1.8.0.48 jym-xensuspend-base:1.8 netbsd-5-0-RC1:1.8 mjf-devfs2-base2:1.8 netbsd-5:1.8.0.46 netbsd-5-base:1.8 matt-mips64-base2:1.8 matt-mips64:1.8.0.44 netbsd-4-0-1-RELEASE:1.8 wrstuden-revivesa-base-3:1.8 wrstuden-revivesa-base-2:1.8 wrstuden-fixsa-newbase:1.8 wrstuden-revivesa-base-1:1.8 yamt-pf42-base4:1.8 yamt-pf42-base3:1.8 hpcarm-cleanup-nbase:1.8 yamt-pf42-baseX:1.8 yamt-pf42-base2:1.8 wrstuden-revivesa:1.8.0.42 wrstuden-revivesa-base:1.8 yamt-pf42:1.8.0.40 yamt-pf42-base:1.8 mjf-devfs2:1.8.0.38 mjf-devfs2-base:1.8 keiichi-mipv6:1.8.0.36 keiichi-mipv6-base:1.8 mjf-devfs:1.8.0.34 mjf-devfs-base:1.8 matt-armv6-nbase:1.8 matt-armv6-prevmlocking:1.8 wrstuden-fixsa-base-1:1.8 netbsd-4-0:1.8.0.32 netbsd-4-0-RELEASE:1.8 cube-autoconf:1.8.0.30 cube-autoconf-base:1.8 netbsd-4-0-RC5:1.8 netbsd-4-0-RC4:1.8 netbsd-4-0-RC3:1.8 netbsd-4-0-RC2:1.8 netbsd-4-0-RC1:1.8 matt-armv6:1.8.0.28 matt-armv6-base:1.8 matt-mips64-base:1.8 hpcarm-cleanup:1.8.0.26 hpcarm-cleanup-base:1.8 netbsd-3-1-1-RELEASE:1.8 netbsd-3-0-3-RELEASE:1.8 wrstuden-fixsa:1.8.0.24 wrstuden-fixsa-base:1.8 abandoned-netbsd-4-base:1.8 abandoned-netbsd-4:1.8.0.18 netbsd-3-1:1.8.0.20 netbsd-3-1-RELEASE:1.8 netbsd-3-0-2-RELEASE:1.8 netbsd-3-1-RC4:1.8 netbsd-3-1-RC3:1.8 netbsd-3-1-RC2:1.8 netbsd-3-1-RC1:1.8 netbsd-4:1.8.0.22 netbsd-4-base:1.8 netbsd-3-0-1-RELEASE:1.8 netbsd-3-0:1.8.0.16 netbsd-3-0-RELEASE:1.8 netbsd-3-0-RC6:1.8 netbsd-3-0-RC5:1.8 netbsd-3-0-RC4:1.8 netbsd-3-0-RC3:1.8 netbsd-3-0-RC2:1.8 netbsd-3-0-RC1:1.8 netbsd-2-0-3-RELEASE:1.8 netbsd-2-1:1.8.0.14 netbsd-2-1-RELEASE:1.8 netbsd-2-1-RC6:1.8 netbsd-2-1-RC5:1.8 netbsd-2-1-RC4:1.8 netbsd-2-1-RC3:1.8 netbsd-2-1-RC2:1.8 netbsd-2-1-RC1:1.8 netbsd-2-0-2-RELEASE:1.8 netbsd-3:1.8.0.12 netbsd-3-base:1.8 netbsd-2-0-1-RELEASE:1.8 netbsd-2:1.8.0.10 netbsd-2-base:1.8 netbsd-2-0-RELEASE:1.8 netbsd-2-0-RC5:1.8 netbsd-2-0-RC4:1.8 netbsd-2-0-RC3:1.8 netbsd-2-0-RC2:1.8 netbsd-2-0-RC1:1.8 netbsd-2-0:1.8.0.8 netbsd-2-0-base:1.8 netbsd-1-6-PATCH002-RELEASE:1.8 netbsd-1-6-PATCH002:1.8 netbsd-1-6-PATCH002-RC4:1.8 netbsd-1-6-PATCH002-RC3:1.8 netbsd-1-6-PATCH002-RC2:1.8 netbsd-1-6-PATCH002-RC1:1.8 netbsd-1-6-PATCH001:1.8 netbsd-1-6-PATCH001-RELEASE:1.8 netbsd-1-6-PATCH001-RC3:1.8 netbsd-1-6-PATCH001-RC2:1.8 netbsd-1-6-PATCH001-RC1:1.8 fvdl_fs64_base:1.8 netbsd-1-6-RELEASE:1.8 netbsd-1-6-RC3:1.8 netbsd-1-6-RC2:1.8 netbsd-1-6-RC1:1.8 netbsd-1-6:1.8.0.6 netbsd-1-6-base:1.8 netbsd-1-5-PATCH003:1.8 netbsd-1-5-PATCH002:1.8 netbsd-1-5-PATCH001:1.8 netbsd-1-5-RELEASE:1.8 netbsd-1-5-BETA2:1.8 netbsd-1-5-BETA:1.8 netbsd-1-4-PATCH003:1.4.2.2 netbsd-1-5-ALPHA2:1.8 netbsd-1-5:1.8.0.4 netbsd-1-5-base:1.8 minoura-xpg4dl:1.8.0.2 minoura-xpg4dl-base:1.8 netbsd-1-4-PATCH002:1.4.2.2 wrstuden-devbsize-19991221:1.4 wrstuden-devbsize:1.4.0.6 wrstuden-devbsize-base:1.4 comdex-fall-1999:1.4.0.4 comdex-fall-1999-base:1.4 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.4 netbsd-1-4:1.4.0.2 netbsd-1-4-base:1.4 netbsd-1-3-PATCH003:1.3 netbsd-1-3-PATCH003-CANDIDATE2:1.3 netbsd-1-3-PATCH003-CANDIDATE1:1.3 netbsd-1-3-PATCH003-CANDIDATE0:1.3 netbsd-1-3-PATCH002:1.3 netbsd-1-3-PATCH001:1.3 netbsd-1-3-RELEASE:1.3 netbsd-1-3-BETA:1.3 netbsd-1-3:1.3.0.2 netbsd-1-3-base:1.3 netbsd-1-2-PATCH001:1.2 lite-2:1.1.1.2 lite-1:1.1.1.2 CSRG:1.1.1 netbsd-1-2-RELEASE:1.2 netbsd-1-2-BETA:1.2 netbsd-1-2-base:1.2 netbsd-1-2:1.2.0.8 netbsd-1-1-PATCH001:1.2 netbsd-1-1-RELEASE:1.2 netbsd-1-1:1.2.0.4 netbsd-1-1-base:1.2 netbsd-1-0-PATCH06:1.2 netbsd-1-0-PATCH05:1.2 netbsd-1-0-PATCH04:1.2 netbsd-1-0-PATCH03:1.2 netbsd-1-0-PATCH02:1.2 netbsd-1-0-PATCH1:1.2 netbsd-1-0-PATCH0:1.2 netbsd-1-0-RELEASE:1.2 netbsd-1-0:1.2.0.2 netbsd-1-0-base:1.2 netbsd-0-9-RELEASE:1.1.1.1 netbsd-0-9-BETA:1.1.1.1 netbsd-0-9-ALPHA2:1.1.1.1 netbsd-0-9-ALPHA:1.1.1.1 netbsd-0-9:1.1.1.1.0.2 netbsd-0-9-base:1.1.1.1 netbsd-0-8:1.1.1.1 netbsd-alpha-1:1.1.1.1 patchkit-0-2-2:1.1.1.1 WFJ-386bsd-01:1.1.1.1 WFJ-920714:1.1.1; locks; strict; comment @# @; 1.10 date 2016.03.08.09.51.15; author mlelstv; state Exp; branches; next 1.9; commitid yP7fy2nkiUfQ1PXy; 1.9 date 2009.05.15.23.57.50; author ad; state Exp; branches; next 1.8; 1.8 date 2000.02.19.19.00.13; author mycroft; state Exp; branches; next 1.7; 1.7 date 2000.02.19.18.39.01; author mycroft; state Exp; branches; next 1.6; 1.6 date 2000.02.16.03.07.09; author jwise; state Exp; branches; next 1.5; 1.5 date 2000.02.15.19.29.54; author abs; state Exp; branches; next 1.4; 1.4 date 97.10.28.03.33.21; author mrg; state Exp; branches 1.4.2.1; next 1.3; 1.3 date 97.02.15.10.02.35; author mikel; state Exp; branches; next 1.2; 1.2 date 94.03.24.01.23.40; author jtc; state Exp; branches; next 1.1; 1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches 1.1.1.1; next ; 1.4.2.1 date 2000.02.18.19.32.00; author he; state Exp; branches; next 1.4.2.2; 1.4.2.2 date 2000.02.22.22.27.02; author he; state Exp; branches; next ; 1.1.1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 97.02.15.05.28.07; author mikel; state Exp; branches; next ; desc @@ 1.10 log @tset was useful for fixed terminals and rarely changing configurations. But for current software terminal emulators and varying network logins it's just confusing. No longer run tset when logging in. ok @@martin @ text @# $NetBSD: dot.login,v 1.9 2009/05/15 23:57:50 ad Exp $ # Do not display in 'su -' case if ( ! $?SU_FROM ) then echo "We recommend that you create a non-root account and use su(1) for root access." endif @ 1.9 log @Clearer wording when nagging about root logins. @ text @d1 1 a1 3 # $NetBSD: dot.login,v 1.8 2000/02/19 19:00:13 mycroft Exp $ eval `tset -sQrm 'unknown:?unknown'` @ 1.8 log @Make the tset stuff actually set the environment variables again. Someone was on crack. @ text @d1 1 a1 1 # $NetBSD: dot.login,v 1.7 2000/02/19 18:39:01 mycroft Exp $ d7 1 a7 1 echo "We recommend creating a non-root account and using su(1) for root access." @ 1.7 log @Simplify the tset crap, and do not set $HOME gratuitously. @ text @d1 1 a1 1 # $NetBSD: dot.login,v 1.6 2000/02/16 03:07:09 jwise Exp $ d3 1 a3 1 tset -Qrm 'unknown:?unknown' @ 1.6 log @1.) bring over the second half of David Brownlee's change to dot.login -- don't query the user for terminal type if the type is not `unknown' 2.) change this a little in both the csh and the [k]sh cases -- do call tset(1) even if the terminal type is known (so that TERMCAP is set properly, but don't have it query the user. @ text @d1 1 a1 1 # $NetBSD: dot.login,v 1.5 2000/02/15 19:29:54 abs Exp $ d3 1 a3 6 if ( $TERM == unknown ) then tset -Q \?$TERM else echo "Terminal type is '$TERM'." tset -Q $TERM endif @ 1.5 log @Only display the 'use su' message in the non 'su -' case. Update the 'use su' message (text from Miles Nordin). If the terminal type is !unknown, do not prompt for it. @ text @d1 1 a1 1 # $NetBSD: dot.login,v 1.4 1997/10/28 03:33:21 mrg Exp $ d7 1 @ 1.4 log @RCSid police. fix pr#4307 from Eric Haszlakiewicz: csh aliases broken with. @ text @d1 1 a1 1 # $NetBSD$ d3 10 a12 2 tset -Q \?$TERM echo "Don't login as root, use the su command." @ 1.4.2.1 log @Pull up revision 1.5 (requested by abs): Have su set SU_FROM environment variable, and use to avoid incorrect 'use su' warning in root's .login. Also do not prompt for terminal type unless it is unknown. @ text @d1 1 a1 1 # $NetBSD: dot.login,v 1.4 1997/10/28 03:33:21 mrg Exp $ d3 2 a4 10 if ( $TERM == unknown ) then tset -Q \?$TERM else echo "Terminal type is '$TERM'." endif # Do not display in 'su -' case if ( ! $?SU_FROM ) then echo "We recommend creating a non-root account and using su(1) for root access." endif @ 1.4.2.2 log @Pull up revisions 1.6-1.8 (requested by jwise): Implement better handling of the SU_FROM environment variable. @ text @d1 1 a1 1 # $NetBSD: dot.login,v 1.4.2.1 2000/02/18 19:32:00 he Exp $ d3 5 a7 1 eval `tset -sQrm 'unknown:?unknown'` @ 1.3 log @cleanup Lite-1 merge @ text @d1 2 @ 1.2 log @Changed .login (csh) and .profile (sh) to be consistant with each other. In particular, explicit setting of erase and kill chars via stty has been removed. @ text @d2 1 a2 1 echo "Don't login as root, use su" @ 1.1 log @Initial revision @ text @a1 2 stty crt erase ^H umask 2 @ 1.1.1.1 log @initial import of 386bsd-0.1 sources @ text @@ 1.1.1.2 log @import 4.4BSD-Lite @ text @a0 2 setenv BLOCKSIZE 1k d2 3 a4 6 echo 'erase ^H, kill ^U, intr ^C status ^T' stty erase '^H' kill '^U' intr '^C' status '^T' crt umask 022 echo "Don't login as root, use the su command." @