Hi
Does anyone know how to build console menu, eg with highlight keys and arrows navigations, like images below ?
Thanks
Tom
http://www.nabble.com/file/p25643956/menu1.jpg
http://www.nabble.com/file/p25643956/menu2.jpg

Mailing lists / fpc-pascal / 2009-09
10 messages · 7 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi
Does anyone know how to build console menu, eg with highlight keys and arrows navigations, like images below ?
Thanks
Tom
http://www.nabble.com/file/p25643956/menu1.jpg
http://www.nabble.com/file/p25643956/menu2.jpg
Tom__G wroteDoes anyone know how to build console menu, eg with highlight keys and arrows navigations, like images below ?
You can either use the crt unit, or the video and keyboard units.
Jonas
In our previous episode, Jonas Maebe said:
> Does anyone know how to build console menu, eg with highlight keys and > arrows navigations, like images below ? You can either use the crt unit, or the video and keyboard units.
The lister demo tries to do the latter ( to select files, not menu items, but the principles are the same.
Hi Does anyone know how to build console menu, eg with highlight keys and arrows…
In the following page ,
http://files.chatnfiles.com/Alde-Carousel_2/005B/indexb3a7.html
please see
PIBMENUS.ZIP ,
It should work in Console mode with CRT unit or a similar unit .
Thank you very much .
Mehmet Erol Sanliturk
Hi Does anyone know how to build console menu, eg with highlight keys and arrows…
Tom__G het geskryf:
Does anyone know how to build console menu, eg with highlight keys and arrows navigations, like images below ?
I agree with what Jonas said. I would also suggest the Free Vision classes (include with FPC) - same as what the textmode Free Pascal IDE is written in.
I also need to create some console applications - setup application and simple config programs for Linux console mode. I'm looking at using Free Vision (why reinvent the wheel). Ultimately, I would like to write a DirectFB (linux framebuffer) backend for fpGUI Toolkit. That way my GUI and Console apps can look identical.
Regards,
- Graeme -
But they will not work on a secure shell session from one server to another :-)
Michael.
Michael Van Canneyt het geskryf:
But they will not work on a secure shell session from one server to another :-)
I don't know, and actually don't care. :-) What I want to use it for is purely for installation/config style applications. The user will be in-front of that machine - in our scenario. Other users have also requested DirectFB support, to use fpGUI on some mobile linux devices that don't have X Window install - though I know nothing about mobile devices so I can't comment on pros/cons of those.
Side note:
Talking about "old style" console applications. Last week I was on leave and dug around in my garage. I found a crate of my old original software. Boxed sets of Turbo Pascal 6, Turbo C++ 3, Windows 3.1, OS/2 2.1 (CD-Rom version), OS/2 Warp v3 (diskette version (55 diskettes to be exacty!)), OS/2 Warp Connect v3, OS/2 Warp v4, Visual Age C++ for OS/2 etc... Wow, all those old software brought back good memories. :-)
Regards,
- Graeme -
But they will not work on a secure shell session from one server to another :-) Michael.
I actually need to make it work via SSH... :-(
In that case either of the CRT, video unit or Free Vision will work.
The remark about SSH was only concerning Graeme's framebuffer back-end for fpGUI.
Michael.
Michael Van Canneyt het geskryf: I don't know, and actually don't care. :-) What I want…
The menu screenshot that Tom_G posted took me back nearly 20 years to programming CP/M menus
for the Amstrad PCW. I must look out and compile the Joyce emulator and run some of that code again...
Malcolm