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.
 
 
 
 
 
 

13 lines
425 B

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