From 7ad26b539b72222b33fb35b39077970c12dcdf57 Mon Sep 17 00:00:00 2001 From: marc <> Date: Sun, 8 Dec 2002 22:40:45 +0000 Subject: [PATCH] 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@ --- src/etc/ksh.kshrc | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/src/etc/ksh.kshrc b/src/etc/ksh.kshrc index d72b2e9c..4946f447 100644 --- a/src/etc/ksh.kshrc +++ b/src/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 ;;