summaryrefslogtreecommitdiff
path: root/sh.c
AgeCommit message (Collapse)AuthorFilesLines
2016-08-08shell nitsRobert Morris1-3/+2
fix Regehr complaint
2010-08-05move jkstack to main.cRobert Morris1-1/+0
replace jstack with asm()s
2010-07-02Initial version of single-cpu xv6 with page tablesFrans Kaashoek1-2/+3
2007-08-30clumsy cdrsc1-0/+8
2007-08-28more consistent spacingrsc1-1/+1
2007-08-28never returns!rsc1-1/+1
2007-08-28oopsrsc1-1/+1
2007-08-28formatting tweaksrsc1-55/+66
2007-08-28New shell.rsc1-271/+406
2007-08-27delete unnecessary #include linesrsc1-1/+0
2007-08-24Remove puts in favor of printf.rsc1-1/+1
Allow multiple arguments to ls.
2007-08-22PDF at http://am.lcs.mit.edu/~rsc/xv6.pdfrsc1-1/+1
Various changes made while offline. + bwrite sector argument is redundant; use b->sector. + reformatting of files for nicer PDF page breaks + distinguish between locked, unlocked inodes in type signatures + change FD_FILE to FD_INODE + move userinit (nee proc0init) to proc.c + move ROOTDEV to param.h + always parenthesize sizeof argument
2007-08-10cleanup mainrsc1-12/+18
2007-08-08handle EOF in shellrsc1-2/+5
2006-09-07more simplifyingkaashoek1-15/+12
2006-09-07get precedence of <, >, and | rightkaashoek1-59/+51
simplify
2006-09-06what is NULL?rsc1-1/+1
2006-09-06break single-line if statementsrsc1-1/+2
2006-09-06standardize various * conventionsrsc1-68/+68
2006-09-06spacing fixes: no tabs, 2-space indents (for rtm)rsc1-62/+62
2006-09-06some pipe support in shkaashoek1-73/+129
bug in proc_wait
2006-09-06nitskaashoek1-17/+4
2006-08-29clear killed flag in exitrtm1-1/+1
idecref cwd in exit
2006-08-23i/o redirection in shkaashoek1-28/+272
better parsing of sh commands (copied from jos sh) cat: read from 1 if no args sbrk system call, but untested getpid system call moved locks in keyboard intr, but why do we get intr w. null characters from keyboard?
2006-08-19chdirkaashoek1-4/+10
cd in shell nits in mkdir, ls, etc.
2006-08-14user-level programs: mkdir and rmkaashoek1-3/+22
shell parses arguments (very simplistic) readme version of README (sh doesn't deal with capital characters) printf recognizes %c nicer output format for ls
2006-08-12fix getblk to actually lock the blockrtm1-3/+2
no more cons_put system calls usertests tests two processes writing files
2006-08-11init creates console, opens 0/1/2, runs shrtm1-0/+31
sh accepts 0-argument commands (like userfs) reads from console