David, termclock.sh from Roland is no longer working with git 20120424 HEAD of ast-open on Suse Linux 12.1. Running the script gives me this error:
termclock.sh[309]: main[239]: main_loop[166]: get_term_size[85]: tput:
not found [No such file or directory]
termclock.sh: Couldn't get terminal size.
It fails because it can not find the tput utility on Linux on the 2nd
call, the 1st call works. The bug goes away if I change this line in
the script:
--------------------------------
Index: termclock.sh
===================================================================
--- termclock.sh (revision 17)
+++ termclock.sh (working copy)
@@ -30,7 +30,7 @@
#
# Solaris needs /usr/xpg6/bin:/usr/xpg4/bin because the tools in
/usr/bin are not POSIX-conformant
-export PATH='/usr/xpg6/bin:/usr/xpg4/bin:/bin:/usr/bin'
+#export PATH='/usr/xpg6/bin:/usr/xpg4/bin:/bin:/usr/bin'
# Make sure all math stuff runs in the "C" locale to avoid problems
# with alternative # radix point representations (e.g. ',' instead of
--------------------------------
I think the PATH lookup is broken in ksh some how.
Olga
--
, _ _ ,
{ \/`o;====- Olga Kryzhanovska -====;o`\/ }
.----'-/`-/ [email protected] \-`\-'----.
`'-..-| / http://twitter.com/fleyta \ |-..-'`
/\/\ Solaris/BSD//C/C++ programmer /\/\
`--` `--`
termclock.sh
Description: Bourne shell script
_______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
