-- Bill Gaughan wgaughan@snet.net On Mon, 26 Nov 2001, Dave Mielke wrote: > [quoted lines by Bill Gaughan on November 26, 2001, at 10:05] > > >The grade 2 translator for ScreenPower Braille (which employs a version of > >Duxbury) translates the whole screen at once. What I think it does is > >translates the information in the VersaBraille's buffer. I think what you > >want to do is translate everything in the brltty buffer at once, so, when > >the reader hits the advance buttons, the next display would be in grade > >two until the feature was turned off. > > What about formatting? Does it fill each line by picking up the beginning of > the next line to fill out the end of the previous, now shorter, previous line, > or does it leave each line as an atomic element? What about left margin > indentation? > It leaves the rest of the lines blank, but, since most lines would be over 40 characters anyway, (the standard braille line length on paper), you wouldn't have to reformat the buffer by starting a new print line on the same braille line of the previous print line just because there was room left on the new braille line. That would get too messy and I think, it would be too hard to program. The only reformatting you would want to do, and this is not a requirement really, might be to use two spaces instead of five spaces for a new paragraph. And you could delete blank lines from the display buffer when translating. Maybe brltty could have two buffers, a computer braille buffer and a grade two buffer. Also, I think you would want this feature to be a plug-in compatible option like the synthesizer drivers or make it library code. Maybe you could borrow code from nfbtrans package or turbo-braille code that was ported to linux. just some thoughts. I am not a C++ programmer. I was a COBOL programmer until three years ago, though. >