dotnet-curses icon indicating copy to clipboard operation
dotnet-curses copied to clipboard

Feature Request - Forms and Panels

Open dokpm0 opened this issue 4 years ago • 4 comments

Could the functions from libforms and libpanels be added?

dokpm0 avatar Sep 14 '20 15:09 dokpm0

Hi @dokpm0 -- I don't intend to expand this to other libraries, although the basic technique should work the same way.

MV10 avatar Sep 14 '20 17:09 MV10

John,

On Mon, Sep 14, 2020 at 10:45:46AM -0700, Jon McGuire wrote:

Hi @dokpm0 -- I don't intend to expand this to other libraries, although the basic technique should work the same way.

I'm a C# beginner. I may have to take a look at the basic technique if I ever get familiar enough with C#. I've used those libraries in a few c programs. They're part of ncurses. The panel library handles overlapping windows, and the forms library can be used to create data entry forms.

--

Kevin http://www.RawFedDogs.net http://www.Lassie.xyz http://www.WacoAgilityGroup.org Bruceville, TX

What's the definition of a legacy system? One that works! Errare humanum est, ignoscere caninum.

dokpm0 avatar Sep 14 '20 17:09 dokpm0

I did some searches and I see you're right. I don't have any free time right now, but I will keep it in mind.

For my own future reference:

The add-ons are 'libpanel', 'libmenu', 'libform' with a .so extension on Linux.

Probably a .dylib extension on a Mac? Hopefully someone can verify, I won't be able to.

On Windows the DLL names are libpanelw6, libmenuw6 and libformw6.

MV10 avatar Sep 16 '20 09:09 MV10

Jon,

On Wed, Sep 16, 2020 at 02:43:25AM -0700, Jon McGuire wrote:

Probably a .dylib extension on a Mac? Hopefully someone can verify, I won't be able to.

Yes, those libraries have a .dylib extension on my older Mac. It looks like I have versions from multiple sources, for example for libform I have:

/Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/libform.6.dylib /Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/libform.dylib /Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/libformw.6.dylib /Applications/PlayOnMac.app/Contents/Resources/unix/wine/lib/libformw.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libform.5.4.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libform.tbd /usr/lib/libform.5.4.dylib /usr/lib/libform.dylib /usr/local/Cellar/ncurses/6.2/lib/libform.6.dylib /usr/local/Cellar/ncurses/6.2/lib/libform.a /usr/local/Cellar/ncurses/6.2/lib/libform.dylib /usr/local/Cellar/ncurses/6.2/lib/libform_g.a /usr/local/Cellar/ncurses/6.2/lib/libformw.6.dylib /usr/local/Cellar/ncurses/6.2/lib/libformw.a /usr/local/Cellar/ncurses/6.2/lib/libformw.dylib /usr/local/Cellar/ncurses/6.2/lib/libformw_g.a

The ones under /usr/local/Cellar are from homebrew. I didn't even know I had Play on Mac. Maybe I installed it long ago and forgot about it. Or maybe it came with it. It's a refurbished Mac I got from eBay.

--

Kevin http://www.RawFedDogs.net http://www.Lassie.xyz http://www.WacoAgilityGroup.org Bruceville, TX

What's the definition of a legacy system? One that works! Errare humanum est, ignoscere caninum.

dokpm0 avatar Sep 16 '20 13:09 dokpm0