Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Makefile: Move Makefile fragments into mk/ | Matt Fleming | 2011-04-07 | 2 | -28/+2 |
| | | | | | | | | | | | | | | | | | | Move the MCONFIG files into a mk/ directory and give them more descriptive names. This is purely a cosmetic change to make the 'include' directives a bit more coherent by making it obvious exactly which MCONFIG file we're including. For example, in com32/lua/src/Makefile we exchange the line, include ../../MCONFIG for the much more comprehensible, include $(MAKEDIR)/com32.mk Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com> | ||||
* | com32/rosh/rosh.h: remove variables set but not used | H. Peter Anvin | 2011-03-16 | 1 | -0/+1 |
| | | | | | | gcc 4.6 warns on variables set but not used, so remove them. Signed-off-by: H. Peter Anvin <hpa@zytor.com> | ||||
* | com32/rosh/rosh.c: remove variables set but not used | H. Peter Anvin | 2011-03-16 | 1 | -4/+3 |
| | | | | | | gcc 4.6 warns on variables set but not used, so remove them. Signed-off-by: H. Peter Anvin <hpa@zytor.com> | ||||
* | rosh: 2 bug fixes; more debug code | Gene Cumm | 2011-01-31 | 2 | -19/+33 |
| | | | | | This fixes two issues when doing "ls -l"; directory entries with a directory argument were not qualified; stat() checked 1, not -1 | ||||
* | rosh: rosh_argcat now has length. if DO_DEBUG, show startup command | Gene Cumm | 2010-10-16 | 1 | -8/+16 |
| | |||||
* | rosh: display command entered and a command unknown message when not known | Gene Cumm | 2010-10-16 | 1 | -20/+24 |
| | |||||
* | rosh: add another item in the ToDos comment | Gene Cumm | 2010-10-13 | 1 | -0/+2 |
| | |||||
* | rosh: Fix rosh_ls(); fix FTBFS on rosh_more(); add ROSH_DEBUG2_ARGV_V macro | Gene Cumm | 2010-10-09 | 2 | -7/+31 |
| | |||||
* | rosh: Remove unneeded cases in rosh_command() switch statements | Gene Cumm | 2010-10-09 | 1 | -2/+0 |
| | |||||
* | rosh: Clean up rosh_command to remove old stuff | Gene Cumm | 2010-10-09 | 1 | -4/+0 |
| | |||||
* | rosh: code cleanup | Gene Cumm | 2010-10-09 | 1 | -3/+2 |
| | |||||
* | rosh: Change rosh_ls()/rosh_dir() to use argc/argv; use getopt() | Gene Cumm | 2010-10-09 | 2 | -76/+47 |
| | |||||
* | rosh: Change rosh_more()/rosh_less() to use argc/argv | Gene Cumm | 2010-10-09 | 1 | -26/+18 |
| | |||||
* | rosh: remove cmdstr from rosh_pwd() | Gene Cumm | 2010-10-09 | 1 | -9/+2 |
| | |||||
* | rosh: clear errno before possibly using it. might be set by a previous call | Gene Cumm | 2010-10-09 | 1 | -2/+9 |
| | |||||
* | rosh: Add argc/argv rosh_reboot(); Allow warm reboots | Gene Cumm | 2010-10-09 | 1 | -7/+27 |
| | |||||
* | rosh: In main, use string macro directly | Gene Cumm | 2010-10-09 | 1 | -1/+1 |
| | |||||
* | rosh: Change rosh_run() to use argc/argv | Gene Cumm | 2010-10-09 | 1 | -14/+13 |
| | |||||
* | rosh: Change rosh_help() to use the string passed to it directly | Gene Cumm | 2010-10-09 | 1 | -9/+6 |
| | |||||
* | rosh: ROSH_DEBUG_ARGV_V in header | Gene Cumm | 2010-10-09 | 1 | -2/+2 |
| | |||||
* | rosh: convert rosh_cat() to argc/argv | Gene Cumm | 2010-10-09 | 1 | -18/+9 |
| | |||||
* | rosh: Add function header comments that were missing | Gene Cumm | 2010-10-09 | 1 | -3/+24 |
| | |||||
* | rosh: Fix warning on rosh_ls_arg(); remove rosh_echo() for rosh_pr_argv() | Gene Cumm | 2010-10-09 | 1 | -2/+11 |
| | |||||
* | rosh: Rename function as it's verbose | Gene Cumm | 2010-10-09 | 1 | -3/+3 |
| | | | | | rosh_pr_argv and ROSH_DEBUG_ARGV are verbose, printing the argument number and single-quoted string out. | ||||
* | rosh: closedir() only if actually opened | Gene Cumm | 2010-10-09 | 1 | -1/+1 |
| | |||||
* | rosh: compact previous commit | Gene Cumm | 2010-10-09 | 1 | -2/+1 |
| | |||||
* | rosh: Fix rosh_ls_arg() to prevent segfault on access denied | Gene Cumm | 2010-10-09 | 1 | -1/+6 |
| | |||||
* | rosh: main, prompt and command try to use argc/argv mostly | Gene Cumm | 2010-10-09 | 1 | -23/+25 |
| | | | | | prompt still uses a string but parses it and passes the parsed argc/argv pair to command. main doesn't need a string anymore | ||||
* | rosh: rosh_cd fix DEBUG | Gene Cumm | 2010-10-09 | 1 | -0/+3 |
| | |||||
* | rosh: fix errors in previous commit | Gene Cumm | 2010-10-09 | 2 | -2/+5 |
| | |||||
* | rosh: change rosh_cd() to use argc/argv | Gene Cumm | 2010-10-09 | 2 | -18/+22 |
| | |||||
* | rosh: Use internal parser for argc/argv; use argc/argv in rosh_command | Gene Cumm | 2010-10-09 | 1 | -28/+29 |
| | |||||
* | rosh: start parse_args(); prep for use; make print_argv() | Gene Cumm | 2010-10-09 | 1 | -6/+93 |
| | | | | | | | parse_args() for parsing a string into an argv/argc pair for easier parsing and the potential use of getopt(). print_argv() for printing an argv/argc pair to show functionality | ||||
* | rosh: fix commented out WS usage in linux to grab screen size | Gene Cumm | 2010-10-09 | 1 | -2/+2 |
| | |||||
* | rosh: add echo | Gene Cumm | 2010-10-09 | 1 | -5/+38 |
| | |||||
* | rosh: show environment | Gene Cumm | 2010-07-07 | 2 | -5/+35 |
| | |||||
* | rosh: more remove unneeded check | Gene Cumm | 2010-07-07 | 1 | -2/+2 |
| | |||||
* | rosh: move ioctl.h include for Linux-only | Gene Cumm | 2010-07-07 | 1 | -1/+1 |
| | |||||
* | rosh: bump build | Gene Cumm | 2010-07-07 | 1 | -1/+1 |
| | |||||
* | rosh: more: overallocation, better feedback for debug | Gene Cumm | 2010-07-07 | 1 | -3/+6 |
| | |||||
* | rosh: make getscreensize more effective and usable | Gene Cumm | 2010-07-07 | 1 | -5/+16 |
| | |||||
* | rosh: move scrbuf to more's main function; malloc and free oversize buffer. | Gene Cumm | 2010-07-07 | 1 | -6/+12 |
| | |||||
* | rosh: more: if it's the first line, dump it to screen for now even if it's ↵ | Gene Cumm | 2010-07-07 | 1 | -2/+3 |
| | | | | too long | ||||
* | rosh: fix displaying too many lines because a line is too long. | Gene Cumm | 2010-07-07 | 1 | -3/+9 |
| | |||||
* | rosh: fix the DATE macro stuff | Gene Cumm | 2010-07-07 | 1 | -0/+2 |
| | |||||
* | rosh: begin to add Syslinux version string with DATE | Gene Cumm | 2010-07-07 | 2 | -4/+20 |
| | | | | Was from commit 226224fdd1dff5cfcac641c1405303932b59aa4f; This is incomplete but will be fixed in the next commit | ||||
* | rosh: update for Syslinux 4 and make it more usable | Gene Cumm | 2010-06-27 | 2 | -344/+733 |
| | | | | | | | | | Without further adieu, I would like to announce that I've finally pushed ROSH, the Read-Only SHell, finally to the point of being reasonably usable. Signed-off-by: Gene Cumm <gene.cumm@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> | ||||
* | rosh.c: mark argument used | H. Peter Anvin | 2010-05-12 | 1 | -0/+2 |
| | | | | | | -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | ||||
* | readdir: replace opendir/readdir/closedir API with a 32-bit API | H. Peter Anvin | 2010-03-04 | 1 | -1/+0 |
| | | | | | | | | The 16-bit API to opendir/readdir/closedir was confused, had a memory leak, and was incompatible with Syslinux 3.x anyway. Replace it with a pure 32-bit API. Signed-off-by: H. Peter Anvin <hpa@zytor.com> | ||||
* | Merge branch 'master' into fsc | H. Peter Anvin | 2010-01-24 | 2 | -6/+6 |
|\ | | | | | | | | | | | Conflicts: com32/lib/MCONFIG com32/lib/readdir.c |