From be3ad977017a24c6547d492c99d51fa5083bd34b Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Fri, 1 Jul 2005 00:02:10 +0000 Subject: Add and export TERM and EDITOR variables. Should be sane defaults. Without this, packages like cron "break" (User has to figure out how to set it) --- packages/base-files/base-files/profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/base-files') diff --git a/packages/base-files/base-files/profile b/packages/base-files/base-files/profile index 3de4dfe607..f24fec92ca 100644 --- a/packages/base-files/base-files/profile +++ b/packages/base-files/base-files/profile @@ -2,6 +2,8 @@ # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). PATH="/usr/local/bin:/usr/bin:/bin" +EDITOR="/bin/vi" # needed for packages like cron +TERM="vt100" # Basic terminal capab. For screen etc. if [ "`id -u`" -eq 0 ]; then PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: @@ -18,7 +20,7 @@ if [ -d /etc/profile.d ]; then unset i fi -export PATH PS1 OPIEDIR QPEDIR QTDIR +export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM umask 022 -- cgit v1.2.3