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

Add other programs #168

Closed
USLTD opened this issue Jan 27, 2022 · 12 comments
Closed

Add other programs #168

USLTD opened this issue Jan 27, 2022 · 12 comments

Comments

@USLTD
Copy link
Contributor

USLTD commented Jan 27, 2022

I saw office-like applications in your Twits and YouTube videos. Will you add them too or not? Also if you don't mind can you share their code?

@USLTD USLTD closed this as completed Jan 27, 2022
@USLTD USLTD reopened this Jan 27, 2022
@o-sdn-o
Copy link
Collaborator

o-sdn-o commented Jan 27, 2022

Yes, these programs are part of vtm. At the moment, these are just drafts for the purpose of demonstrating the capabilities of the Desktopio framework.

These programs are enabled when the DEMO macro is defined in the vtm.cpp file.

They are located at ‘vtm/src/netxs/apps/’ in the source code tree.

@o-sdn-o
Copy link
Collaborator

o-sdn-o commented Jan 27, 2022

Nearly finished applications:

  • tile.hpp - Tiling Window Manager
  • term.hpp - Terminal Emulator
  • logs.hpp - Logger for debug

@o-sdn-o
Copy link
Collaborator

o-sdn-o commented Jan 27, 2022

In the future, these apps can be run standalone without vtm, like regular TUI apps. Related to #148.

@USLTD
Copy link
Contributor Author

USLTD commented Jan 27, 2022

Good work with VTM. You are making what would be considered impossible and you should be proud for it. What will you do after VTM? Add ImTUI (ImGUI for Terminal) support? It will greatly help VTM

@USLTD
Copy link
Contributor Author

USLTD commented Jan 27, 2022

  • term.hpp - Terminal Emulator

Hmm... Terminal Emulator in Terminal Emulator... 🤔
I should test if it will run VTM again

@USLTD
Copy link
Contributor Author

USLTD commented Jan 27, 2022

I tested it and on Termux it doesn't run. It does some kinda infinitely recursive VTM view. Don't know about other platforms

@USLTD
Copy link
Contributor Author

USLTD commented Jan 27, 2022

Do you use pty (pseudo-terminal) for Term app?

@o-sdn-o
Copy link
Collaborator

o-sdn-o commented Jan 27, 2022

Do you use pty (pseudo-terminal) for Term app?

Inside Term there is a platform-specific PTY object. For POSIX it's PTY, for Windows it's ConPTY.

@o-sdn-o
Copy link
Collaborator

o-sdn-o commented Jan 27, 2022

Emulator in Terminal Emulator... 🤔I should test if it will run VTM again

You can try running vtm inside vtm as a different user.

May be something like ‘sudo vtm’. It will probably start a new session for another user and attach it.

@o-sdn-o
Copy link
Collaborator

o-sdn-o commented Jan 27, 2022

What will you do after VTM?

Creating a vtm is an intermediate step in creating the Desktopio framework. This is something in the spirit of WPF, but for C++ and so far for text modes. When this is tested on text-based applications, it will be possible to use it to create cross-platform GUI applications.

@o-sdn-o
Copy link
Collaborator

o-sdn-o commented Jan 27, 2022

vtm is a multi-user environment in the sense that it is possible to connect any number of participants at the same time. A session is created for the current user account, allowing any number of clients on behalf of this account. Just run vtm in the second OS window to test it.

@USLTD
Copy link
Contributor Author

USLTD commented Feb 16, 2022

Closing in favor of #183

@USLTD USLTD closed this as completed Feb 16, 2022
@USLTD USLTD reopened this Feb 16, 2022
@USLTD USLTD closed this as completed Feb 16, 2022
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

2 participants