ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
392 B

  1. #!/bin/sh
  2. # 12/14/2019 Ken
  3. # 07/28/2020 enhanced by ChipMaster
  4. [ -z "$BWBASIC" ] && BWBASIC="$HOME/bwbasic"
  5. [ ! -d "$BWBASIC" ] && mkdir "$BWBASIC"
  6. cd "$BWBASIC"
  7. trap '/bin/echo " "; /bin/echo -e "PROGRAM INTERRUPTED. \007Press Enter "; read j; exit 1' INT
  8. bwbasic "$@"
  9. # -n = no newline -e interpret special octel numbers \007 = Bell
  10. /bin/echo -n "Bwbasic terminated. Press Enter "
  11. read j