summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2002-12-08 22:40:45 +0000
committermarc <marc@openbsd.org>2002-12-08 22:40:45 +0000
commitd2c987b542e53d9f6b18ba2f7f0a4e95894485c2 (patch)
treee27092b1b1fe5f3d90aa0f01694b6582f7981328
parentRemove header file which is unused since the removal of if_gm, pointed out (diff)
downloadwireguard-openbsd-d2c987b542e53d9f6b18ba2f7f0a4e95894485c2.tar.xz
wireguard-openbsd-d2c987b542e53d9f6b18ba2f7f0a4e95894485c2.zip
Remove special case code for sun/xterm that faked a DISPLAY and
set the erase character to something other than probably desired. 'I don't object' millert@
-rw-r--r--etc/ksh.kshrc26
1 files changed, 1 insertions, 25 deletions
diff --git a/etc/ksh.kshrc b/etc/ksh.kshrc
index d72b2e9c73d..4946f4476cd 100644
--- a/etc/ksh.kshrc
+++ b/etc/ksh.kshrc
@@ -1,5 +1,5 @@
:
-# $OpenBSD: ksh.kshrc,v 1.10 2002/10/16 15:39:10 todd Exp $
+# $OpenBSD: ksh.kshrc,v 1.11 2002/12/08 22:40:45 marc Exp $
#
# NAME:
# ksh.kshrc - global initialization for ksh
@@ -155,30 +155,6 @@ case "$-" in
;;
esac
alias rsize='eval `resize`'
-
- case "$TERM" in
- sun*|xterm*)
- case $tty in
- tty[p-w]*)
- case "$DISPLAY" in
- "")
- DISPLAY="`who | grep $TTY | sed -n 's/.*(\([^:)]*\)[:)].*/\1/p' | sed 's/\([a-zA-Z][^.]*\).*/\1/'`:0"
- ;;
- esac
- ;;
- esac
- case "$DISPLAY" in
- ozen*|:*)
- stty erase "^?"
- ;;
- *)
- stty erase "^h"
- ;;
- esac
- export DISPLAY
- ;;
- esac
-
;;
*) # non-interactive
;;