summaryrefslogtreecommitdiffstats
path: root/ui/ncurses
Commit message (Collapse)AuthorAgeFilesLines
* ui/ncurses: Fix warning from unnecessary if statementJeremy Kerr2013-03-051-1/+1
| | | | | | | | ui/ncurses/nc-menu.c: In function 'pmenu_process_key': ui/ncurses/nc-menu.c:207:33: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Geoff Levand <geoff@infradead.org>
* nc: Only expand debug macros if DEBUG is definedJeremy Kerr2013-03-051-0/+6
| | | | | | | To reduce debugging output from the UI Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Geoff Levand <geoff@infradead.org>
* Speed up --start-daemon optionGeoff Levand2012-03-301-4/+4
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Cleanup --dry-run option codeGeoff Levand2012-03-304-14/+19
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Add UI option --dry-runGeoff Levand2012-03-271-14/+19
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Log to stderr, allow --log=-Geoff Levand2012-03-262-8/+14
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Add --start-daemon option to ui programsGeoff Levand2012-03-083-10/+35
| | | | | | | | Add the option --start-daemon to automatically start pb-discover if it is not already started. For use when running as a stand-alone app. Signed-off-by: Geoff Levand <geoff@infradead.org>
* Log file cleanupsGeoff Levand2012-03-082-5/+5
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Rename pb-nc, pb-twin to petitboot-nc, petitboot-twinGeoff Levand2012-03-081-7/+7
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Move installed programs from bin to sbinGeoff Levand2012-02-241-2/+2
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Rename pb-nc-generic to pb-ncGeoff Levand2012-02-151-3/+3
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Remove unused file pb-cui.cGeoff Levand2012-02-151-289/+0
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Rename ps3-cui.c to ps3-main.cGeoff Levand2012-02-121-0/+0
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Convert build to use automakeGeoff Levand2012-02-121-0/+58
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Add generic ncurses programGeoff Levand2012-02-121-0/+289
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Remove KEY_LEFT in nc-menuGeoff Levand2011-11-121-1/+0
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* cui: Remove tab hotkeyGeoff Levand2009-08-261-1/+0
| | | | | | Remove the 'tab' hotkey that was used for kboot compatability. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add default video arg to kernel command lineGeoff Levand2009-07-091-2/+30
| | | | | | | Add the current bootloader video mode to the kernel command line when the command line does not have a video mode specified. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add ncurses joystick supportGeoff Levand2009-07-098-5/+120
| | | | Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Update item text on editGeoff Levand2009-07-093-28/+112
| | | | | | Update the boot option menu item text on edit. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Remove unused ked status ked_boot.Geoff Levand2009-07-092-8/+1
| | | | | | Remove unused code for the ked return status ked_boot. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Remove nc menu descriptionGeoff Levand2009-07-095-38/+23
| | | | | | Remove some unused nc menu description code. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* CUI add empty itemGeoff Levand2009-07-097-14/+72
| | | | | | Add a CUI hot-key 'o' that opens a new empty menu item. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add generic CUI programGeoff Levand2009-07-091-0/+288
| | | | | | Add a non-PS3 CUI program. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix CUI scrollGeoff Levand2009-07-091-0/+3
| | | | | | | A call to pos_menu_cursor() is needed when items are added to menu. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix ps3 boot game OSGeoff Levand2009-07-091-2/+1
| | | | | | Fix the PS3 boot game OS item. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Display version on debug buildsGeoff Levand2009-07-091-0/+5
| | | | | | Display the program version in the main menu for debug builds. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add PS3 timeout optionGeoff Levand2009-07-091-4/+10
| | | | | | | Add an option --timeout to the PS3 CUI program to enable the use of the autoboot timer. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add PS3 reset default optionGeoff Levand2009-07-091-7/+16
| | | | | | Add a --reset-defaults option to the PS3 CUI program. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add PS3 countdown timerGeoff Levand2009-07-091-3/+29
| | | | | | Add countdown timer support to the PS3 UI programs. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add CUI countdown timerGeoff Levand2009-07-092-8/+51
| | | | | | Add support for a petitboot CUI countdown timer. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Remove ked ctrl-B hot keyGeoff Levand2009-07-091-14/+3
| | | | | | | Remove ked ctrl-B hot key. It is just as easy to hit enter twice. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix ked backspaceGeoff Levand2009-07-091-9/+18
| | | | | | | | Fix a bug in the ked editor field backspace logic. Stop deleting chars when cursor reaches front of feild buffer. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix nc-cui commentGeoff Levand2009-07-091-4/+4
| | | | | | A simple comment move. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add PS3 ncurses CUI programGeoff Levand2009-06-301-0/+539
| | | | | | | | Add a PS3 ncurses CUI program, and the configure option --enable-ps3 to control its build. The default is --enable-ps3=yes. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ncurses UI supportGeoff Levand2009-06-302-0/+601
| | | | | | | Add helper routines to support ncurses UI programs. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ncurses boot option editorGeoff Levand2009-06-302-0/+416
| | | | | | | Add an ncurses boot option editor. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ncurses UI menuGeoff Levand2009-06-304-0/+702
Add support for an ncurses UI menu object. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
OpenPOWER on IntegriCloud