jonathan@jvc.UUCP (Jonathan Hue) (04/01/89)
I'm thinking of porting "sc" to the Amiga. sc is a spreadsheet program which uses curses and termcap (termlib?). Before I start, does anyone have any advice on how to deal with the curses and termcap stuff. One obvious option is to port a curses and termcap clone to the Amiga, another is to rip out all the curses stuff and put in something hard coded for the Amiga. Anyway, I'd appreciate any advice anyone has to offer. I have Analyticalc and I'd rather have something simpler, which doesn't require an interlaced screen, and is a little faster. I think sc fits this description. -Jonathan uunet!jvc!jonathan
bmacintyre@watdragon.waterloo.edu (Blair MacIntyre) (04/12/89)
In article <479@jvc.UUCP> jonathan@jvc.UUCP (Jonathan Hue) writes: >which uses curses and termcap (termlib?). Before I start, does anyone >have any advice on how to deal with the curses and termcap stuff. One >obvious option is to port a curses and termcap clone to the Amiga, >another is to rip out all the curses stuff and put in something hard >coded for the Amiga. Anyway, I'd appreciate any advice anyone has to offer. I'd say the best bet is to write a curses library consisting of the functions you need. Get a curses manual and write simple functions to do the various stuff. I think it mostly involves keeping a "virtual map" of what you think the screen looks like, and updating what you think needs to be changed. To make it optimal might be fun, but since you are on a dedicated pc, who really cares? ( first pass, anyway! ) My friend did this for a program he was porting to his PS/2 and it wasn't too difficult. Blair -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= = Blair MacIntyre, bmacintyre@watsol.{waterloo.edu, UWaterloo.ca} = = "Don't be mean ... remember, no matter where you go, there you are." BBanzai= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=