summaryrefslogtreecommitdiff
path: root/package/mksh/patches/patch-dot_mkshrc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-25 14:00:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-25 14:15:23 +0200
commitde03ac8bf9273395c464e08024799a6b5bfa8cf4 (patch)
tree5bc354de095a746ad57ce5dbe0606aa2e0505139 /package/mksh/patches/patch-dot_mkshrc
parentf031e43c4209fe13ffdcd95444a93417717b746f (diff)
set term to linux
Diffstat (limited to 'package/mksh/patches/patch-dot_mkshrc')
-rw-r--r--package/mksh/patches/patch-dot_mkshrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mksh/patches/patch-dot_mkshrc b/package/mksh/patches/patch-dot_mkshrc
new file mode 100644
index 000000000..e9e8bcd12
--- /dev/null
+++ b/package/mksh/patches/patch-dot_mkshrc
@@ -0,0 +1,11 @@
+--- mksh.orig/dot.mkshrc 2014-01-11 19:10:04.000000000 +0100
++++ mksh/dot.mkshrc 2014-03-21 12:48:48.705772066 +0100
+@@ -30,7 +30,7 @@ esac
+
+ PS1='#'; (( USER_ID )) && PS1='$'; [[ ${HOSTNAME:=$(ulimit -c 0; hostname -s \
+ 2>/dev/null)} = *([ ]|localhost) ]] && HOSTNAME=$(ulimit -c 0; hostname \
+- 2>/dev/null); : ${EDITOR:=/bin/ed} ${HOSTNAME:=nil} ${TERM:=vt100}
++ 2>/dev/null); : ${EDITOR:=/bin/ed} ${HOSTNAME:=nil} ${TERM:=linux}
+ : ${MKSH:=$(whence -p mksh)}; PS4='[$EPOCHREALTIME] '; PS1=$'\001\r''${|
+ local e=$?
+