Check-in Number:
|
4768 | |
Date: |
2004-Oct-24 21:30:24 (local)
2004-Oct-24 19:30:24 (UTC) |
User: | rse |
Branch: | |
Comment: |
more OSNAME fixes and SLang defaults |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/due/.due/due.ls.sh 1.2 -> 1.3
--- due.ls.sh 2004/10/22 19:32:52 1.2
+++ due.ls.sh 2004/10/24 19:30:24 1.3
@@ -39,14 +39,14 @@
if [ ".$TERM" != ".$TERM_COLOR" ]; then
prolog="TERM=\$TERM_COLOR $prolog"
fi
- if [ ".$OSNAME" = .FreeBSD ]; then
+ if [ ".$OSNAME" = .freebsd ]; then
prolog="$prolog CLICOLOR=1 CLICOLOR_FORCE=1"
opt="-C"
epilog="| /usr/bin/less -E -r"
- elif [ ".$OSNAME" = .Linux ]; then
+ elif [ ".$OSNAME" = .linux ]; then
opt="--color=always"
epilog="| /usr/bin/less -X -E -r -s | grep -v '^.\\[m'"
- elif [ ".$OSNAME" = .SunOS -a -f /bin/less ]; then
+ elif [ ".$OSNAME" = .solaris -a -f /bin/less ]; then
epilog="| /bin/less -E -r"
elif [ ".$PAGER" = .less ]; then
epilog="| less -E -r"
|
|
ossp-pkg/due/.due/due.term.sh 1.5 -> 1.6
--- due.term.sh 2004/10/22 21:18:53 1.5
+++ due.term.sh 2004/10/24 19:30:24 1.6
@@ -36,11 +36,14 @@
fi
TERM_COLOR=$TERM
if [ ".$TERM" = .xterm ]; then
- if [ ".$OSNAME" = .FreeBSD -o ".$OSNAME" = .Linux ]; then
+ if [ ".$OSNAME" = .freebsd -o ".$OSNAME" = .linux ]; then
TERM_COLOR=xterm-color
fi
fi
+# SLang default color settings
+export COLORFGBG="default;default"
+
# adjust terminal settings
if expr $- : ".*i.*" >/dev/null; then
BASH_INTERACTIVE=yes
|
|