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

Graphical front-end (GUI-TUI Bridge) #571

Open
o-sdn-o opened this issue Feb 18, 2024 · 16 comments
Open

Graphical front-end (GUI-TUI Bridge) #571

o-sdn-o opened this issue Feb 18, 2024 · 16 comments
Labels
enhancement New feature or request GUI keyboard UX User Experience
Milestone

Comments

@o-sdn-o
Copy link
Collaborator

o-sdn-o commented Feb 18, 2024

Terminal users always enter the terminal environment from a graphical environment. The initial interface is always graphical. Until now, we have relied entirely on third-party graphical terminal emulators which significantly limit the capabilities of console applications without providing any way to achieve the required functionality. The only way to overcome these bottlenecks is to create our own bridge from the graphical to the terminal environment.

Our own graphical front-end will open up ways for us to solve the following issues:

@o-sdn-o o-sdn-o added enhancement New feature or request GUI UX User Experience keyboard labels Feb 18, 2024
@o-sdn-o o-sdn-o added this to the v1.0.0 milestone Feb 18, 2024
@o-sdn-o

This comment was marked as outdated.

o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Feb 18, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Feb 18, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Feb 19, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 17, 2024
@o-sdn-o
Copy link
Collaborator Author

o-sdn-o commented Apr 17, 2024

You can play with a prototype of the vtm graphical window (gui-bridge branch) on various Windows platforms starting with Win8.1 (including Window Server 2019 Core).

If vtm is launched from a graphical shell, or through the start vtm.exe command, then it automatically turns on the graphical mode.

screen_record_Thu_04.18.2024__3-02-53.76.mp4

The vtm server starts in the background, despite the fact that its interface is not yet rendered.

o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 18, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 19, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 19, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 19, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 19, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 19, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 20, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 20, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 20, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 21, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 21, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 21, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue Apr 23, 2024
@o-sdn-o

This comment was marked as outdated.

o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 17, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 18, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 18, 2024
@o-sdn-o
Copy link
Collaborator Author

o-sdn-o commented May 19, 2024

image

o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 19, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 19, 2024
@o-sdn-o
Copy link
Collaborator Author

o-sdn-o commented May 20, 2024

8x4 character matrix support
image

screen_record_Mon_05.20.2024_18-27-05.90.mp4

o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 20, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 20, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 20, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 20, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 21, 2024
@o-sdn-o
Copy link
Collaborator Author

o-sdn-o commented May 22, 2024

Of course, along with the character matrix, support for both rotation (pi/2, pi, 3pi/2) and flip (hz/vt) is required.

@o-sdn-o
Copy link
Collaborator Author

o-sdn-o commented May 22, 2024

At present only standardized variation sequences with VS1, VS2, VS3, VS15 and VS16 have been defined; VS15 and VS16 are reserved to request that a character should be displayed as text or as an emoji) respectively.

VS4–VS14 (U+FE03–U+FE0D) are not used for any variation sequences

Let's try to play this way:

VS Codepoint Function
VS10 0xFE09 Rotate 90° CCW
VS11 0xFE0A Rotate 180° CCW
VS12 0xFE0B Rotate 270° CCW
VS13 0xFE0C Horizontal flip
VS14 0xFE0D Vertical flip
# state - is a three bits integer.
VS10(state) = (state & 0b100) | ((state + 0b001) & 0b011)
VS11(state) = (state & 0b100) | ((state + 0b010) & 0b011)
VS12(state) = (state & 0b100) | ((state + 0b011) & 0b011)
VS13(state) = (state ^ 0b100) | ((state + (state & 1 ? 0 : 0b010)) & 0b011)
VS14(state) = (state ^ 0b100) | ((state + (state & 1 ? 0b010 : 0)) & 0b011)

angle = 90 * (state & 0b011)
hflip = state >> 2

image

@o-sdn-o
Copy link
Collaborator Author

o-sdn-o commented May 22, 2024

Character rotation support
image

o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 22, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 23, 2024
@o-sdn-o
Copy link
Collaborator Author

o-sdn-o commented May 23, 2024

image

o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 23, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 23, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 23, 2024
@o-sdn-o
Copy link
Collaborator Author

o-sdn-o commented May 23, 2024

image

o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 24, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 24, 2024
o-sdn-o added a commit to o-sdn-o/vtm that referenced this issue May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GUI keyboard UX User Experience
Projects
None yet
Development

No branches or pull requests

1 participant