OS/2, eCS & ArcaOS - Technical > Utilities

MeShell commandline frontend timetable

<< < (18/19) > >>

Dariusz Piatkowski:
Hi Martin,


--- Quote from: Martin Vieregg on January 27, 2022, 07:24:16 pm --->I will say this though: the "page size" seems to be hardcoded to be 25 lines??? In my case the MeShell window is about 60 lines high...so even trying "page full" settings always shows just half the page.

On my computer, it seems to work. The last line is repeated as the first line on the new page.

--- End quote ---

Well, take a look at the attached screen capture. The MeShell window is actually about 60 lines tall, while the default "page" setting appears to be about 25 lines...so my point here is: your page setting should respect the size of the MeShell VIO window which I created, instead of some arbitrary (or pre-defined static value).

I suspect the actual CMD.EXE window which you spawn is 25 lines and therefore the output is driven by that definition though?


--- Quote from: Martin Vieregg on January 27, 2022, 07:24:16 pm ---...
>Lastly, from a new features perspective, can you implement 'cls' (clear screen)? Sometimes it's awefully nice to just wipe the VIO window clean and start at the very top, especially for commands that sometimes provide special formatting. MeShell today does not appear to support this, nor am I aware of another way one could do this?

I wonder why CLS does not has an effect to the VIO window. It has no effect to the editor window, of course. You can delete the editor window by clicking to the red cross topright of the MeShell window. I have to think about why it does not delete the VIO window. Perhaps I have to implement this by myself. It would be possible, I think.

--- End quote ---

Yes, you are right about the red 'X' doing the same thing...but when you are at the CL in a VIO window who wants to pause typing in order to navigate the mouse pointer to that red 'X'???

Martin Vieregg:
The behaviour is how I expected. If you type "mode 60,25", then the VIO window gets bigger and you will get the behaviour you want.
But I really wonder why CLS does not work. So I have to program this command by myself. I have access to the VIO screen buffer.

I could program a checkbox where the VIO window does not disappear anymore and a checkbox where the position of the VIO window is no more chained to the position of the MeShell window. Would this be helpful?

Is it worth to compile the conflicts between MeShell and Xit?

Andreas Schnellbacher:

--- Quote from: Martin Vieregg on February 01, 2022, 10:24:40 am ---But I really wonder why CLS does not work.

--- End quote ---
It works only for a VIO screen, not for a PM window.

Martin Vieregg:

--- Quote ---It works only for a VIO screen, not for a PM window.
--- End quote ---

If I open a windowed OS/2 cmd "Window" (not full screen), then CLS works.

Andreas Schnellbacher:

--- Quote from: Martin Vieregg on February 03, 2022, 11:55:54 am ---
--- Quote ---It works only for a VIO screen, not for a PM window.
--- End quote ---

If I open a windowed OS/2 cmd "Window" (not full screen), then CLS works.

--- End quote ---
That's just a special PM window that uses internally VIO functions for display.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version