Changeset 899


Ignore:
Timestamp:
07.02.2013 16:33:57 (6 years ago)
Author:
marcus
Message:

r407 | walther | 2013-02-07 16:33:46 +0100 (Do, 07. Feb 2013) | 2 Zeilen

  • added support for rlwrap tool (readline support for SH)
Location:
SH_SHM/trunk/setup
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/setup/SHM-install.csh

    r527 r899  
    8686        endif 
    8787end 
     88 
     89# check for rlwrap tool 
     90set rlwrap="" 
     91set res=`which rlwrap` 
     92if  (-e "$res")  then 
     93    set rlwrap="rlwrap " 
     94endif 
    8895 
    8996set filterset="iaspei" 
     
    218225        sed "s@##LOCSATPATH##@$locsatpath@" | sed "s@##EDITOR##@$editor@" | \ 
    219226    sed "s@##PSVIEW##@$psview@" | \ 
     227    sed "s@##RLWRAP##@$rlwrap@" | \ 
    220228        sed 's/-DSH_SETUP_SZGRF//' | sed "s@##USERROOT##@$userroot@" > shsetup 
    221229sed "s/$remstr//" shsetup.sh.template | sed "s@##ROOTPATH##@$dstpath/sh@" | \ 
    222230        sed "s@##LOCSATPATH##@$locsatpath@" | sed "s@##EDITOR##@$editor@" | \ 
    223231    sed "s@##PSVIEW##@$psview@" | \ 
     232    sed "s@##RLWRAP##@$rlwrap@" | \ 
    224233        sed 's/-DSH_SETUP_SZGRF//' | sed "s@##USERROOT##@$userroot@" > shsetup.sh 
    225234 
  • SH_SHM/trunk/setup/shsetup.sh.template

    r818 r899  
    101101export SH_USERDIR=$SH_USERROOT/private/ 
    102102export SH_PRIVATE=$SH_USERROOT/private/ 
    103 alias SH=$shcroot/shc_world 
     103alias SH="##RLWRAP##$shcroot/shc_world" 
    104104alias SH_N=$shcroot/shc 
    105105 
  • SH_SHM/trunk/setup/shsetup.template

    r818 r899  
    100100if  (! -e $SH_USERROOT/shscratch)  then 
    101101   echo 'creating directory $SH_USERROOT/shscratch' 
    102    mkdir $SH_USERROOT/shscratch  
     102   mkdir $SH_USERROOT/shscratch 
    103103endif 
    104104if  (! -e $SH_USERROOT/private)  then 
     
    109109setenv SH_USERDIR $SH_USERROOT/private/ 
    110110setenv SH_PRIVATE $SH_USERROOT/private/ 
    111 alias SH $shcroot/shc_world 
     111alias SH "##RLWRAP## $shcroot/shc_world" 
    112112alias SH_N $shcroot/shc 
    113113# 
Note: See TracChangeset for help on using the changeset viewer.