tvision icon indicating copy to clipboard operation
tvision copied to clipboard

application that can benefit from TV

Open unxed opened this issue 5 years ago • 16 comments

If you know of any Turbo Vision applications whose source code has not been lost and that could benefit from this, let me know.

https://en.wikipedia.org/wiki/DOS_Navigator

Here is the sources.

Original DOS version: https://www.ritlabs.com/download/dn/dn151src.zip

Win32 & OS/2 adoption tryouts http://www.dnosp.com/files/dn2/dn2s214.rar

But that's Pascal. Can it make friends with TV in C?

unxed avatar Oct 23 '20 01:10 unxed

I even managed to build it in Linux

unxed avatar Oct 23 '20 01:10 unxed

Hi unxed!

But that's Pascal. Can it make friends with TV in C?

Yes, after rewriting everything in C++ :). This can be a good exercise for anyone wanting to learn either Pascal or C++.

I even managed to build it in Linux, but it is written for ancient Virtual Pascal that seems to have some bug in it's RTL preventing any app (including simple helloworld) from running :(

It seems to contain the whole Turbo Vision source code, so even if it compiles, it won't run as it's probably doing DOS or Windows syscalls.

magiblot avatar Oct 23 '20 01:10 magiblot

By the way, I have seen your post at https://habr.com/en/post/524370/. Look at what you have done to my repositories :)

turbo

Screenshot_20201023 magiblot turbo

tvision

Screenshot_20201023 magiblot tvision

magiblot avatar Oct 23 '20 01:10 magiblot

By the way, I have seen your post at https://habr.com/en/post/524370/. Look at what you have done to my repositories :) turbo tvision

Cool! Well, still, a crowd of fans of the good old TUI gathered in the comments, and this is the largest site in Russia about IT.

unxed avatar Oct 23 '20 04:10 unxed

See that? http://www.sigala.it/sergio/tvision/resources.html

IngvarRiga avatar Nov 09 '21 15:11 IngvarRiga

Hi @IngvarRiga! Yes, I have seen that page many times (and even ported some of its apps, e.g. https://github.com/magiblot/tvision/discussions/54). But most of these are just small examples.

magiblot avatar Nov 09 '21 17:11 magiblot

Another hi ! )) see to russian resources (pascal, but.... ): https://pascal.sources.ru/tvision/index.htm

pay attention to the last project in the list - it is a builder of screen forms as in Delphi. I wrote this myself and also in Pascal, but too long ago and the code has not been preserved. (https://pascal.sources.ru/tvision/resrs2.htm)

... And thank you for your wonderful work! Now I'll just sort out the idiotic CMake and start writing my own. I can't set up the project for compilation in any way.

IngvarRiga avatar Nov 09 '21 19:11 IngvarRiga

Now I'll just sort out the idiotic CMake and start writing my own. I can't set up the project for compilation in any way.

What errors do you get? If you want you can open a new issue and share the details there

magiblot avatar Nov 09 '21 20:11 magiblot

No, I have to figure it out myself, thanks for the offer. The fact is that I have assembled your project, but I can't also assemble my own, with the library connected. I am used to using normal C++ IDEs like MSVC and the like and have almost never used assemblies via make, so it is unexpected for me when I cannot identify a problem, for example, not a certain symbol during assembly or not given any compilation option of the project. In CMake there are no explicit indications of options, etc. Well... I probably haven't figured out what to do yet. So I'm figuring it out. For example, now when linking, I get a message that the linker cannot find the virtual method table. I'm in shock.... :)

IngvarRiga avatar Nov 10 '21 04:11 IngvarRiga

I would not like you to have a bad experience with CMake, so if you want a hint, this comment contains a possible solution: https://github.com/magiblot/tvision/issues/50#issuecomment-808296503.

magiblot avatar Nov 10 '21 07:11 magiblot

TV Dialog Design... no src. http://www.pbear.com/ but its free & work

IngvarRiga avatar Nov 15 '21 11:11 IngvarRiga

Adopted Free Vision (Free Pascal's Turbo Vision port) to UTF-8 also. Still work in progress, although test app is already able to show interface properly, open utf-8 encoded text file with utf-8 encoded name and display it correctly.

https://github.com/unxed/fv_utf8

unxed avatar Feb 06 '22 02:02 unxed

That's good news! Good job!

magiblot avatar Feb 06 '22 03:02 magiblot

Oh, there is also official attempt of adopting Free Pascal's Free Vision to unicode, awaiting to be integrated to main branch. I don't knew that.

Detailed update on Unicode Free Vision state in Pascal: https://wiki.freepascal.org/Free_Vision#Unicode_version

unxed avatar Feb 06 '22 11:02 unxed

Unicode Free Vision (Free Pascal's Turbo Vision implementation) has been merged to Free Pascal main branch: https://github.com/fpc/FPCSource/tree/main/packages/fv/src

(see units with names starting with "u")

unxed avatar Feb 12 '22 14:02 unxed

so 12. 2. 2022 v 15:54 odesílatel unxed @.***> napsal:

Unicode Free Vision (Free Pascal's Turbo Vision implementation) has been merged to Free Pascal main branch: https://github.com/fpc/FPCSource/tree/main/packages/fv/src

(see units with names starting with "u")

great news

Thank you for info

Pavel

— Reply to this email directly, view it on GitHub https://github.com/magiblot/tvision/issues/24#issuecomment-1037247530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO45QX5Q4WT62IIL7KWDU2ZYCTANCNFSM4S35GK7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

okbob avatar Feb 12 '22 15:02 okbob