Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-03-13 12:10:27 -0700 (Tue, 13 Mar 2007)
Revision: 10212
Log message:

      Added tgetstr, xterm_escape_begin, xterm_escape_end built-in functions.
     
     I can now have the following in my ~/.oshrc:
     
     hostname = $(shell hostname)
     match $(hostname)
     case $'^\([^.]*\)[.]'
        hostname = $1
        export
     
     prompt =
        basic_prompt = $"[osh] $(hostname):"$`(homename .)
        bold_prompt = $(tgetstr bold)$(basic_prompt)$"> "$(tgetstr sgr0)
        if $(xterm_escape_begin)
           value $(xterm_escape_begin)$(basic_prompt)$(xterm_escape_end)$(bold_prompt)
        else
           value $(bold_prompt)

Changes  Path
+7 -3 omake-branches/0.9.8.x/OMakefile
+2 -1 omake-branches/0.9.8.x/doc/html/changelog.html
+1 -0 omake-branches/0.9.8.x/lib/Pervasives.om
+13 -0 omake-branches/0.9.8.x/lib/configure/ncurses.om
+2 -0 omake-branches/0.9.8.x/mk/defaults
+11 -0 omake-branches/0.9.8.x/mk/make_config
+10 -4 omake-branches/0.9.8.x/src/Makefile
+10 -4 omake-branches/0.9.8.x/src/Makefile.nt
+51 -0 omake-branches/0.9.8.x/src/builtin/omake_builtin_sys.ml
Properties omake-branches/0.9.8.x/src/clib
+2 -0 omake-branches/0.9.8.x/src/clib/OMakefile
Properties omake-branches/0.9.8.x/src/libmojave
+3 -0 omake-branches/0.9.8.x/src/libmojave/OMakefile