Re: Porting MSDOS TurboVision application to Linux.
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2014-09-03 13:02:51
|
El 02/09/14 14:45, steve dyson escribió: > Most of these are TV/Linux questions and this may be the wrong place > for them. If it is then I apologize. I have labelled each question to > make it easier to refer back to them. > > Please can you explain why there are different TV ports for > different Distributions. (a) How much does the TurboVision code have > to change between each Distributions or it it just recompiled for each > target Linux? Same code, just different way to pack the stuff (and different dynamic libs) > > (b) If TV has been ported to version x of a Distribution is it safe to > assume it will work with all subsequent versions? Hmmm ... for the last years: yes, but you never know when something important will change. The name of dynamic libs and the gcc compiler introduce problems from time to time. I use TV on Debian GNU/Linux (stable version) since 1998, and will most probably keep using it for the next 20 years ;-) If you can afford recompiling every 2 years, you can assume it will keep working for 20 years. > > The easiest solution would be to not port the application but run it > within a DOS emulation box. I am nervous that DOS emulations may not > be available for whatever is windows in 10 years time. But I am quite > confident that Linux emulation forever! > > This brings up the next interesting question (sorry about this)... (c) > If I target a Linux emulation then which Distribution do I choose for > building the application? > > I was going to ask what the advantage of moving from a Borland C > compiler to DJGPP but I guess the answer is that it may not be > possible to get the BC++ environment to work within a future Windows > environment. (d) Are there other advantages? DJGPP uses GCC, and this is the best supported compiler. > > (e) Please could you also let me know about DLGDSN.? I used it quite > extensively during the original design for the application. I can't > work out if a port to Linux has been successful! DLGDSN is included in this port, but I don't use it, so I'm not sure how stable is. For dialogs use "EasyDiag", a lib I wrote. When you design EasyDiag dialogs you don't need to worry about exact coordinates, they are all relative. You say things like "At the right of X", or "Under Y", or "Top left". This makes much more easy to introduce changes in the dialog. Regards, SET -- Ing. Salvador Eduardo Tropea http://utic.inti.gob.ar/ INTI - Micro y Nanoelectrónica (CMNB) http://www.inti.gob.ar/ Unidad Técnica Sistemas Inteligentes Av. General Paz 5445 Tel: (+54 11) 4724 6300 ext. 6919 San Martín - B1650KNA FAX: (+54 11) 4754 5194 Buenos Aires * Argentina |