Michael Brown
|
b613086bfe
|
Explicitly print out-of-memory message to avoid tricking the user into
thinking that a command executed successfully.
|
18 years ago |
Michael Brown
|
22289ca8f6
|
Functioning readline()
|
18 years ago |
Michael Brown
|
66007fa448
|
Provide an edit history to allow caller to efficiently update display.
|
18 years ago |
Michael Brown
|
abbfbd678d
|
Explicitly move cursor to top-left of screen, in case the clear screen
call doesn't do it.
|
18 years ago |
Michael Brown
|
b3c535e550
|
Skeletal (non-echoing) version of readline()
|
18 years ago |
Michael Brown
|
19e1d674d3
|
Catch attempts to print NULL strings
|
18 years ago |
Michael Brown
|
1bc3514bd8
|
Start of generic editable string support
|
18 years ago |
Michael Brown
|
70d20c4e7a
|
Use common symbols to avoid dragging in getopt.o unless a getopt-using
command is linked in.
|
18 years ago |
Michael Brown
|
c1bac56f85
|
Use current attributes when erasing.
|
18 years ago |
Michael Brown
|
cdfe61662b
|
Assume a 24-line screen, since we can't (easily) avoid scrolling after
printing in the bottom-right position.
|
18 years ago |
Michael Brown
|
0aa1223264
|
Optimise bios_putchar for speed(!) by avoiding two separate real-mode
calls. This does make a visible difference when clearing the screen with
werase() inside bochs or qemu.
|
18 years ago |
Michael Brown
|
e85bf52446
|
Avoid cursor move on every single character
|
18 years ago |
Michael Brown
|
8e460de6be
|
Obsolete, and no longer functions
|
18 years ago |
Michael Brown
|
e7cc1c6c35
|
Use ANSI escape sequence to reset and clear terminal, rather than using
the (slow) werase().
|
18 years ago |
Michael Brown
|
edbdce6e3d
|
Now basically functioning on ANSI-supporting consoles.
|
18 years ago |
Michael Brown
|
09f9142cbf
|
Adjusted to use the normal internal mucurses API rather than accessing
stdscr directly.
|
18 years ago |
Michael Brown
|
b6b36e8ac4
|
Remove more dynamic allocation
|
18 years ago |
Michael Brown
|
04d15fb8f8
|
There seems to be no reason why pos_x is static...
|
18 years ago |
Michael Brown
|
1f74fa2cad
|
Remove some unnecessary use of calloc() for tiny memory areas.
|
18 years ago |
Michael Brown
|
ba26defa6e
|
Convert _{store,restore}_cursor_pos to static inlines.
|
18 years ago |
Michael Brown
|
56970053f4
|
wmove() is part of the public curses API, and already defined in curses.h
|
18 years ago |
Michael Brown
|
1755d8df7a
|
Renamed core.h to mucurses.h
|
18 years ago |
Michael Brown
|
426e847c4c
|
Rename core.c->mucurses.c; bin/core.o is too generic to belong to mucurses.
|
18 years ago |
Michael Brown
|
688eb60df4
|
Use int rather than short for bool; it will give more efficient code.
|
18 years ago |
Michael Brown
|
2ed2b2efe8
|
Use iskey() and getchar() to interact with console, rather than object
abstraction.
|
18 years ago |
Michael Brown
|
a497e16767
|
The "increment MAC address by port number" hack applies only to EF1.
|
18 years ago |
Michael Brown
|
530bbf7cca
|
Print welcome banner in bold (which will come out as bright white text
on the BIOS console, or genuine bold font on a xterm "serial" console),
just to prove the concept of the ANSI escape sequence handling.
|
18 years ago |
Michael Brown
|
8b3a4c9862
|
Add basic ANSI escape sequence support to BIOS console
|
18 years ago |
Michael Brown
|
1cd45decc4
|
Added support for interpreting ANSI escape sequences on behalf of
non-ANSI-capable consoles.
|
18 years ago |
Michael Brown
|
8a45f619a9
|
Fix building on gas versions that don't auto-insert addr32 prefixes
|
18 years ago |
Michael Brown
|
a39b111684
|
Automatically select between the "10" and "16" variants of command set,
based on the device size.
|
18 years ago |
Michael Brown
|
3bd7e479a2
|
Catch SCSI errors, and work around the start-of-day CHECK CONDITION
that some targets send.
|
18 years ago |
Michael Brown
|
c0ec119ede
|
Typo
|
18 years ago |
Michael Brown
|
04c09823bd
|
Request all the options that we're prepared to do anything with.
|
18 years ago |
Michael Brown
|
240c9512bb
|
Added "clear" command
|
18 years ago |
Michael Brown
|
007ca97f25
|
Added clear_setting()
|
18 years ago |
Michael Brown
|
0a26cd2933
|
Cope with system("").
|
18 years ago |
Michael Brown
|
69b9048e1a
|
Added "priority" and "root-path" options
|
18 years ago |
Michael Brown
|
72b1629cee
|
Add placeholder ibft.h
|
18 years ago |
Michael Brown
|
9aa3e10d7c
|
Use root-path option (as per RFC 4173) rather than filename option to
determine iSCSI boot parameters.
|
18 years ago |
Michael Brown
|
a1af111a87
|
Also request root-path.
|
18 years ago |
Michael Brown
|
c343a3a8ee
|
Including the final (char *)NULL is the responsibility of the caller
of execl().
|
18 years ago |
Michael Brown
|
a77b32aaf6
|
D'oh d'oh d'oh d'oh d'oh d'oh d'oh d'oh d'oh
|
18 years ago |
Michael Brown
|
cc697eeb1f
|
Added "exit" back in as a standardised command.
|
18 years ago |
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.
|
18 years ago |
Michael Brown
|
f3d817d512
|
Added execv() and system().
|
18 years ago |
Michael Brown
|
e106a39ce8
|
Added missing include of stdint.h
|
18 years ago |
Michael Brown
|
496563071d
|
Added strdup()
|
18 years ago |
Michael Brown
|
1e4a838f55
|
Added missing prototype
|
18 years ago |
Michael Brown
|
be0cd1cddd
|
Added a functional version of getopt() and getopt_long(), ready for use
in our commands.
|
18 years ago |