Miscellaneous > Programming & Networking
curses login
(1/1)
Kintaro:
Is there a "lgin" program for Linux done in curses, or would i have to modify the original. If your wondering why i would nee one.. I dont, its just for some nice eye candy.
Also i plan on writing a very simple menu program to select programs (for shell) in linux.
voidmain:
Do you mean is there a program written in curses that will bring up a menu when you login to a virtual terminal? If so, there are many curses based menu programs that you can add to your ".bash_login". Heck, the easiest way to build a nice text based color menu would be to write a shell script utilizing the "dialog" command. This generates ncurses based menus and prompts very easily.
Kintaro:
Yes thats what i was thinging but, im wanting to modify the "login" program and make it use curses, unless its already done. I mainly just want to gain skill in C/C++
voidmain:
I would suggest that before trying to modify "login" you just write a standalone app using curses that you can add to your ".bash_login". It would basically serve the same purpose. Or is it the login text itself that you want to change? As in the information in "/etc/issue"?
Kintaro:
The login itself.
Navigation
[0] Message Index
Go to full version