Michael Brown
9485478acc
ibft_fill_data() prototype change.
il y a 18 ans
Michael Brown
ab242a760d
Add ability to shut down iSCSI connection
il y a 18 ans
Michael Brown
cacd6b1d04
KEY_XXX constants are now defined in gpxe/keys.h. Kept separate from
curses.h so that you don't have to suffer the curses namespace pollution
just to get the symbolic key names.
il y a 18 ans
Michael Brown
46c3eeba2a
Fix definition of KEY_END
il y a 18 ans
Michael Brown
2ae27f44d9
Add insert/delete and document keys, and documentation.
il y a 18 ans
Michael Brown
791c7d3bf4
Added code to interpret ANSI keypress sequences into KEY_XXX constants.
il y a 18 ans
Michael Brown
96a1a2c6f0
Key definitions
il y a 18 ans
Michael Brown
b9f8599537
Define KEY_MIN and use it in kb.c.
il y a 18 ans
Michael Brown
cbeec25662
settings_ui() now returns a status code.
il y a 18 ans
Michael Brown
84202d89f0
Split the (quick hack) boot logic out from main.c to autoboot.c, add a
"boot" command to attempt booting from within the command shell, fall back
to shell if boot fails for any reason.
il y a 18 ans
Michael Brown
f8910410fe
Add attr_{get,set,on,off} as static inlines.
il y a 18 ans
Michael Brown
8f9336e0c1
Add "config" command to access config UI
il y a 18 ans
Michael Brown
b93ff48173
Added descriptive text for settings and setting types, and display it in
the option config UI.
il y a 18 ans
Michael Brown
35edecac34
Move {show,set,clear}_setting() to {show,set,clear}_named_setting().
Introduce new {show,set,clear}_setting() that take a struct setting *
rather than a const char *.
set_setting() handles calling clear_setting() when appropriate, so that
individual setting types don't have to check for empty strings.
il y a 18 ans
Michael Brown
4b33c03942
Increase colour pair limit
il y a 18 ans
Michael Brown
84a2b886e1
Split error-message table portions of errno.h out to gpxe/errortab.h
il y a 18 ans
Michael Brown
e5f0898f38
Move strerror() prototype to string.h, where it belongs
il y a 18 ans
Michael Brown
04da3556f9
Differentiate between ENOSPC and ENOMEM
il y a 18 ans
Michael Brown
637a891264
Fix prototype of sleep() and move it to unistd.h
il y a 18 ans
Michael Brown
3e0f7621eb
Don't automatically redraw the edit box; this allows better inheritance.
il y a 18 ans
Michael Brown
35dcbfe771
Editable text box widget based on mucurses and edit_string.
il y a 18 ans
Michael Brown
4919646fb9
Separated out (and tidied up) shell banner code
il y a 18 ans
Michael Brown
a2c5744daf
Minimal shell implementation using readline() and system().
il y a 18 ans
Michael Brown
66007fa448
Provide an edit history to allow caller to efficiently update display.
il y a 18 ans
Michael Brown
b3c535e550
Skeletal (non-echoing) version of readline()
il y a 18 ans
Michael Brown
1bc3514bd8
Start of generic editable string support
il y a 18 ans
Michael Brown
70d20c4e7a
Use common symbols to avoid dragging in getopt.o unless a getopt-using
command is linked in.
il y a 18 ans
Michael Brown
e85bf52446
Avoid cursor move on every single character
il y a 18 ans
Michael Brown
edbdce6e3d
Now basically functioning on ANSI-supporting consoles.
il y a 18 ans
Michael Brown
688eb60df4
Use int rather than short for bool; it will give more efficient code.
il y a 18 ans
Michael Brown
2ed2b2efe8
Use iskey() and getchar() to interact with console, rather than object
abstraction.
il y a 18 ans
Michael Brown
8b3a4c9862
Add basic ANSI escape sequence support to BIOS console
il y a 18 ans
Michael Brown
1cd45decc4
Added support for interpreting ANSI escape sequences on behalf of
non-ANSI-capable consoles.
il y a 18 ans
Michael Brown
a39b111684
Automatically select between the "10" and "16" variants of command set,
based on the device size.
il y a 18 ans
Michael Brown
007ca97f25
Added clear_setting()
il y a 18 ans
Michael Brown
72b1629cee
Add placeholder ibft.h
il y a 18 ans
Michael Brown
c343a3a8ee
Including the final (char *)NULL is the responsibility of the caller
of execl().
il y a 18 ans
Michael Brown
7de5d32ff5
cmdlinelib.c now calls system() rather than doing its own tokenisation
(which was extremely heavy on calls to malloc()).
Moved include/command.h to include/gpxe/command.h, since it's
gPXE-specific.
il y a 18 ans
Michael Brown
f3d817d512
Added execv() and system().
il y a 18 ans
Michael Brown
e106a39ce8
Added missing include of stdint.h
il y a 18 ans
Michael Brown
496563071d
Added strdup()
il y a 18 ans
Michael Brown
1e4a838f55
Added missing prototype
il y a 18 ans
Michael Brown
be0cd1cddd
Added a functional version of getopt() and getopt_long(), ready for use
in our commands.
il y a 18 ans
Michael Brown
d2bf7abe75
Added write support for three-wire devices (e.g. the RTL8139 EEPROM)
il y a 18 ans
Michael Brown
89bcb57201
Update ftp.c to work with Nikhil's TCP stack.
Remove the now-totally-obsolete sockaddr_in field from tcp.h.
il y a 18 ans
Michael Brown
6a91a03409
Added options listed in
http://www.microsoft.com/whdc/winlogo/hwrequirements.mspx as required
for iSCSI boot. Note that options 204-206 are listed in the document
but don't seem to be defined anywhere on the web.
il y a 18 ans
Michael Brown
d041d74054
Tied NVO commands into the human-interactable settings code that I
completely forgot I'd written ages ago.
il y a 18 ans
Michael Brown
6842dd3222
Handle TargetAddress
il y a 18 ans
Michael Brown
67577556a2
Handle strings as complete units, instead of a byte at a time.
il y a 18 ans
Michael Brown
3a7d762c1c
Add iscsi_rx_buffered_data() and supporting infrastructure.
il y a 18 ans