Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

application that can benefit from TV #24

Open
unxed opened this issue Oct 23, 2020 · 16 comments
Open

application that can benefit from TV #24

unxed opened this issue Oct 23, 2020 · 16 comments

Comments

@unxed
Copy link
Contributor

unxed commented Oct 23, 2020

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
Copy link
Contributor Author

unxed commented Oct 23, 2020

I even managed to build it in Linux

@magiblot
Copy link
Owner

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
Copy link
Owner

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

@unxed
Copy link
Contributor Author

unxed commented Oct 23, 2020

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.

@IngvarRiga
Copy link

@magiblot
Copy link
Owner

magiblot commented Nov 9, 2021

Hi @IngvarRiga! Yes, I have seen that page many times (and even ported some of its apps, e.g. #54). But most of these are just small examples.

@IngvarRiga
Copy link

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.

@magiblot
Copy link
Owner

magiblot commented Nov 9, 2021

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

@IngvarRiga
Copy link

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.... :)

@magiblot
Copy link
Owner

I would not like you to have a bad experience with CMake, so if you want a hint, this comment contains a possible solution: #50 (comment).

@IngvarRiga
Copy link

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

@unxed
Copy link
Contributor Author

unxed commented Feb 6, 2022

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

@magiblot
Copy link
Owner

magiblot commented Feb 6, 2022

That's good news! Good job!

@unxed
Copy link
Contributor Author

unxed commented Feb 6, 2022

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
Copy link
Contributor Author

unxed commented Feb 12, 2022

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")

@okbob
Copy link

okbob commented Feb 12, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants