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.
 
 
 
 
 
 

18 lines
400 B

  1. #!/bin/bash
  2. # 4-2020 Ken
  3. # Draw current set rows and columns to see if it's as expected
  4. #
  5. clear
  6. row=0 ; rowc=0 ; col=0 ; colc=0 ; ccnt=0
  7. row=`stty -a | cut -d" " -f5 | sed -e "1s/;//p" -e "1,\\$d"`
  8. col=`stty -a | cut -d" " -f7 | sed -e "1s/;//p" -e "1,\\$d"`
  9. rowc=`expr $row - 2` ; colc=`expr $col - 1`
  10. seq $rowc
  11. while [ $ccnt -lt $colc ]
  12. do
  13. echo -n "x"
  14. ccnt=`expr $ccnt + 1`
  15. done
  16. echo "#"