summaryrefslogtreecommitdiff
path: root/sys/stand/boot/cmd.c
AgeCommit message (Collapse)Author
2004-06-26Simplify expression in loop.Tom Cosgrove
ok deraadt@
2004-06-25Avoid spurious error message "line too long" (introduced with last commit,Tom Cosgrove
which fixed a buffer overflow here). ok weingart@
2004-06-24Turn off timeouts if the user types anything at all. This prevents anTom Cosgrove
automatic boot in 5 seconds after you type "set tty com0", for example. "I like this" deraadt@, "oh! yes" henning@, ok weingart@
2004-06-24Minor changes (structural, not behavioural) in order to support a regressTom Cosgrove
test for boot command handling. Suggested by avsm@; discussed with avsm@ and weingart@ - thanks
2004-06-24If a line in boot.conf is too long for our buffer, stop before weTom Cosgrove
overrun the buffer, print an error message, then stop processing boot.conf. Also change name of variable "eof" to "rc", since it's not just for eof. ok weingart@
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-08-11ansification and knf and protosTheo de Raadt
2003-06-02three four kill ...Michael Shalayeff
2003-06-01strcpy/strcat/sprintf removal in all bootblocks. various testing byTheo de Raadt
various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
2002-07-14Fix ^U^U^M buffer underrun bugMarcus Watts
2002-03-14First round of __P removal in sysTodd C. Miller
2000-01-20buffer overflow in readline(;) from espie@Michael Shalayeff
2000-01-12repair printf format strings in echo; espie@Michael Shalayeff
1999-04-20make calls for current time to BIOS less often; toby -- okMichael Shalayeff
1998-10-29print \n when we've got timed out waiting for an operatorMichael Shalayeff
input, so the 'booting' progress will be shown on the next line making that consistant w/ the 'boot' command look.
1998-07-13add extern debug decl for DEBUG enabled codeMichael Shalayeff
1998-06-23insert debug printfMichael Shalayeff
1998-05-31cleanup for !ANSI compilers, mostly __P usageMichael Shalayeff
1998-05-30use ctime(), kill that ugly time_print() hackMichael Shalayeff
1998-05-25make a new file for variable manipulation code; add environment supportMichael Shalayeff
1998-04-18i386 bootblocks that work for 2.3. A tale too long to tellTheo de Raadt
1998-02-24Various fixes (timeout, uninited vars), as well as some semanticsTobias Weingartner
improvements. Needs another overhaul still though...
1997-11-04Get GID bit correct in ls.Tobias Weingartner
1997-10-07let's keep it MI; 10x phil for the MD implementationMichael Shalayeff
1997-09-20- add 'stty [baudrate]' command to /boot, for serial consolesflipk
- switch baud rates using i/o instead of bios, since bios commands have only a limited bitwidth for baudrate, and max out at 9600 - when switching console devices, print msg to both old device and new - fix timeout bug in com_getc() (dev | 0x80 was reading gobbledygook) - document 'stty' command in boot(8) - wording and cleanup in man pages
1997-09-17regs command is MDMichael Shalayeff
1997-09-02Xregs is DUMP_REGS -- dependableMichael Shalayeff
1997-09-02machine(MD) command set supportMichael Shalayeff
1997-08-22theo said we don't need 'cd' commandMichael Shalayeff
remove c-r, it won't work anyways fix c-u
1997-08-21correct dev:<need cwd>name case in qualify()Michael Shalayeff
1997-08-21print ttyname w/o format stringMichael Shalayeff
1997-08-21boothowto is local to bootMichael Shalayeff
1997-08-21no need for \nMichael Shalayeff
1997-08-21kill unused commands, yes we are not an operating systemMichael Shalayeff
sutisfied?
1997-08-13s/kbd/pc/ for consistency with kernel. Do even better __asms for BIOS calls.Niklas Hallqvist
Adapt to new console probing and setting API. Do not try to probe pc0 via the NVRAM. Fix some other buglets.
1997-08-13remove unused includeMichael Shalayeff
more const
1997-08-12slite rewriteMichael Shalayeff
set/print vars in a consistent (by niklas@)
1997-08-12new consMichael Shalayeff
1997-08-06cmd is global anyways, don't pass it to handlersMichael Shalayeff
add echo command
1997-07-01smooth char waiting loopMichael Shalayeff
1997-06-06use destructive eraseMichael Shalayeff
1997-06-06fix twiddle() without breaking backspacekstailey
1997-05-31usleep won't work on some weird laptopsMichael Shalayeff
1997-05-31usleep is void nowMichael Shalayeff
1997-04-28Add getsecs(). Use biostime & biosdate routines.Tobias Weingartner
Parse and convert to seconds since epoch. Please test, there is a new command "time", which should print the current time (according to the BIOS) on the console.
1997-04-26boot.conf supportMichael Shalayeff
ttyname function in cons.c rdonly var 'tty' to view tty settings serial console soon
1997-04-21usleep testing codeMichael Shalayeff
1997-04-21rewrite command processing.Michael Shalayeff
two levels of commands from now (set has it's own {device,image,addr,howto}) all the combinations of {device,path,image,options} is now possible on boot. move cmd_state init into .data again, no more memory limits
1997-04-17make "boot> -a" work like "boot> bsd -a"; ie. flags shortcutTheo de Raadt
1997-04-16add RB_KDB supportTheo de Raadt