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

COLUMNS and LINES env #17

Closed
pmp-p opened this issue Apr 14, 2021 · 4 comments
Closed

COLUMNS and LINES env #17

pmp-p opened this issue Apr 14, 2021 · 4 comments

Comments

@pmp-p
Copy link

pmp-p commented Apr 14, 2021

Please add support to follow those so Turbo does not expand to full terminal space when it is not wanted

( sidenote: can help to solve #12 in a very simple way as demonstrated with another editor here https://pix.mathieui.net/o/kZTPc.png, even more powerfull when using VT420 with configurables margins for drawing children with their own scrolling zones )

@magiblot
Copy link
Owner

Hi Paul.

What exactly are you trying to accomplish? If Turbo only draws itself on a small region of the terminal, how will the empty area be useful to you? What is sidenode?

Cheers.

@pmp-p
Copy link
Author

pmp-p commented Apr 14, 2021

oops thanks, "sidenode" was a typo i meant "sidenote".

I'm about to make a TurboP(ython) kind of program, the empty space left on terminal is all useable for VT100/420 and sixel graphics of running program it's just a matter of setting the margins before running/switching tasks. and no terminal multiplexer are not an option for my design because i want turbo to trace step by step the code line of running task and also let access from running program to the TV lib direcly.

But really it's not about to accomplish something special but more about following established standards that application and ncurses already follow (see man resize at environment section).

magiblot added a commit to magiblot/tvision that referenced this issue Apr 14, 2021
magiblot added a commit that referenced this issue Apr 14, 2021
@magiblot
Copy link
Owner

Ah, thanks for the clarification.

It took me some time to understand what was going on, because tilde in my machine does not react to COLUMNS or LINES in any special way. After trying several applications, I found vi exhibiting the behaviour described by the man pages.

This is tvdemo with COLUMNS=80:

Screenshot_20210414_204840

Commit 8cc5097 brings the change to this application.

Cheers.

@pmp-p
Copy link
Author

pmp-p commented Apr 20, 2021

works very well thanks !

@pmp-p pmp-p closed this as completed Apr 20, 2021
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