This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-openbsd
mirror of
https://github.com/Fincer/openntpd-openbsd
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
61
Wiki
Activity
Browse Source
Kill tset alias and just use expanded form in dot.login.
Fixes the problem where if you hit ^C at the root termtype prompt noglob never gets unset.
OPENBSD_2_4
millert
27 years ago
parent
dc1f8757ed
commit
edeeb67bd5
2 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
src/etc/root/dot.cshrc
+3
-1
src/etc/root/dot.login
+ 0
- 1
src/etc/root/dot.cshrc
View File
@ -21,7 +21,6 @@ alias pd pushd
alias pd2 pushd +2
alias pd3 pushd +3
alias pd4 pushd +4
alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
if ($?prompt) then
set prompt="`hostname -s`# "
+ 3
- 1
src/etc/root/dot.login
View File
@ -1,4 +1,6 @@
tset -Q \?$TERM
set noglob
eval `tset -s -Q ?$TERM`
unset noglob
if ( `logname` == `whoami` ) then
echo "Don't login as root, use su"
Write
Preview
Loading…
Cancel
Save