=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/ksh.kshrc,v retrieving revision 1.28 retrieving revision 1.29 diff -c -r1.28 -r1.29 *** src/etc/ksh.kshrc 2017/07/15 07:11:42 1.28 --- src/etc/ksh.kshrc 2017/11/02 10:19:06 1.29 *************** *** 1,5 **** : ! # $OpenBSD: ksh.kshrc,v 1.28 2017/07/15 07:11:42 tb Exp $ # # NAME: # ksh.kshrc - global initialization for ksh --- 1,5 ---- : ! # $OpenBSD: ksh.kshrc,v 1.29 2017/11/02 10:19:06 tb Exp $ # # NAME: # ksh.kshrc - global initialization for ksh *************** *** 74,82 **** xterm*) ILS='\033]1;'; ILE='\007' WLS='\033]2;'; WLE='\007' ! if ps -p $PPID -o command | grep -q telnet; then ! export TERM=xterms ! fi ;; *) ;; esac --- 74,80 ---- xterm*) ILS='\033]1;'; ILE='\007' WLS='\033]2;'; WLE='\007' ! pgrep -qxs $PPID telnet && export TERM=xterms ;; *) ;; esac