Via: uk.ac.ulcc.vmsfe; Thu, 28 Jul 1994 14:54:54 +0100 Date: Thu, 28 Jul 94 14:54 GMT From: "Kevin Ashley, Systems Development, ULCC" To: DJGPP Subject: less and djgpp (was Re: 1.12 status) Mark A Denner recently wrote: > <>> >>> >>> I also added sed-1.18 to djgpp. Sed-2.05 is much slower and uses much >>> more memory, so I used sed-1.18. >>> >> >> What? No 'egrep'? No 'less'? Geeze... (hehehe 8-) >> > I was toying with compiling less when I get DJGPP on my new desktop >computer. Hasn't someone already done this? It was one of the first things I tried doing, and I tried again most recenly with 1.09. I got stuck because there was no equivalent of something to put the keyboard input into raw mode, where characters would be returned to reads immediately (yes, I know about getkey(), but I was trying to avoid wholesale rewrites of the code, which simply uses getc() extensively.) I also had problems forcing standard output to be buffered the way I wanted it ; I could never be confident that the last line of output had actually got out, even though I thought I was making standard output unbuffered. I'm not sure if anyone else has succeeded with this. Kevin Ashley (K DOT Ashley AT ulcc DOT ac DOT uk)