code B-R/B-W (untested). Make OPEN '#' with buffer number work