summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2005-03-31copy argv[] element instead of smashing the one that ps will see; ok ottoTheo de Raadt
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
double checked to make sure no binaries change, and eyed by niallo
2005-03-28spacingTheo de Raadt
2005-03-28if argv[0] not set, do not set it to "pdksh", but to "ksh"Theo de Raadt
2005-03-28spacingTheo de Raadt
2005-03-24- sort optionsJason McIntyre
- sync usage() - remove unnecessary quoting
2005-03-16chown(8): mention that this utility clears setuid/setgid bits by default;Jason McIntyre
from stuart henderson (pr #4149); chown(2)/chown(8): mention that sysctl variable fs.posix.setuid=0 overrides this behaviour; from millert and otto; ok deraadt@ otto@ millert@
2005-03-13Use pid_t where appropriate. From Bruno Rohee (thanks).Chad Loder
2005-03-10wrap bind() to AF_UNIX with umask() to avoid raceTheo de Raadt
2005-03-10use fts_path if fts_name is not available, tweak and ok millertJared Yanovich
2005-03-07more macro simplification;Jason McIntyre
2005-03-07use .Pq rather than .Po/.Pc;Jason McIntyre
2005-03-04document that $HOME is shown as `~' for PS1 \w substitutions;Jason McIntyre
diff from niall o'higgins, pr 4132 (slightly reworded); ok otto@
2005-02-25no more Strncpy or Strncat, everTheo de Raadt
2005-02-25spacingTheo de Raadt
2005-02-25knfTheo de Raadt
2005-02-25avoid specifying which hash to use;Jason McIntyre
this after some discussion w/ otto; started by pr #4120, from andy isaacson;
2005-02-21Set \u in prompt expansion to the right value, while avoiding getpw* calls,Otto Moerbeek
which might be very inconvenient when the yp server is not available. ok deraadt@ millert@
2005-02-20Better handling of large filesystems, okay henning@ and millert@, withPedro Martelletto
input from martin@ and miod@.
2005-02-18sort options to echo builtin;Jason McIntyre
2005-02-17Printt ^D and newline on EOF in emacs mode like in vi mode.Otto Moerbeek
Help and ok jaredy@ ok millert@
2005-02-16a note about why we have both EDITOR and VISUAL env vars;Jason McIntyre
ok otto@ jaredy@
2005-02-16document that `emacs' is the default editing mode, and that as wellJason McIntyre
as being set explicitly w/ `set', modes can also be set using EDITOR and VISUAL; ok jaredy@ otto@
2005-02-08- rearrange EXAMPLESJared Yanovich
- move env var stuff to ENVIRONMENT - clarify "status" description - sort & simplify commands ok jmc
2005-02-08oops, missed a prompt;Jason McIntyre
2005-02-08use command prompts and literal for commands;Jason McIntyre
2005-02-08big overhaul of these pages, to make them clearer to read;Jason McIntyre
various other issues fixed along the way; lots of stuff from jaredy@ in here too..
2005-02-08Move sh.1tbl -> sh.1 and ksh.1tbl -> ksh.1Todd C. Miller
2005-02-05note that symlinks in test file are followed, except -h and -LJason McIntyre
(just like test(1) does); from paul de weerd;
2005-02-02argv/argc are unusedJolan Luff
2005-02-02Introduce POSIX hex and octal (0x... and 0...) constants in arithmeticOtto Moerbeek
expressions. Work by Matthias Kilian, based on an old diff by myself. Note: MAKEDEV should be updated. Tested by many, thanks. ok millert@ deraadt@
2005-01-28widen the avail/used columns by one space to accomodate for >100g ↵Michael Shalayeff
filesystems. the total is already wide enough due to the header length; dhartmei@ ok
2005-01-27fix some vi-mode bugs spotted by jmc@Dan Harnett
tested by jmc@, ok otto@
2005-01-21fix missing list item: *(...); spotted by Frank Sander frksndr atOtto Moerbeek
gmx dot de. ok jmc@
2005-01-19typo;Jason McIntyre
2005-01-19although the description for the `comment' bind was in the page,Jason McIntyre
the bind itself (^[#) was missing;
2005-01-17typo;Jason McIntyre
2005-01-14bring back the space before (cmd); ok millert aaronTheo de Raadt
2005-01-10Remove unneccesary cast to long long and %llu format; print using %lu.Otto Moerbeek
Spotted by tom@, ok millert@
2005-01-10In csh-style history expansion, initialize s->u.freeme to NULL so weTodd C. Miller
don't try to free garbage on cleanup. Fixes problem noticed by david@
2005-01-10-l outputs total always, not just to terminals (netbsd -r 1.50);Jason McIntyre
-l output is one per line (like -1); -x also inhibits one per line output;
2005-01-10typo;Jason McIntyre
2005-01-07avoid negative memory sizes, ok deraadt@Otto Moerbeek
2004-12-31Call perl directly instead of using an sh script to find it.Todd C. Miller
OK otto@
2004-12-30Remove -Wno-unused form CFLAGS and kill some unused vars found as a result ofOtto Moerbeek
that. ok millert@
2004-12-30Simplify local copying of PS1 environment variable. Since we noTodd C. Miller
longer call shf_fprintf() we don't need to jump through hoops using shf_sopen/shf_sclose and can simply use str_save. OK otto@ and tested by several ksh users
2004-12-29Add support for multiple using algorithms. OK'd by several peopleTodd C. Miller
a while ago so get this out of my tree...
2004-12-29in prompt variable parsing, if either \n or \r (the two characterTheo de Raadt
sequences) are detected reset the "pointer to first character in last line of prompt" and "length of last line of prompt" variables, just like how it done for \n (the literal character). this fixes cursor movement for prompts with those sequences embedded within ok jmc pval
2004-12-28ansi. No binary change.Jonathan Gray
2004-12-23Replace home rolled unsigned char type with u_char.Jonathan Gray
ok millert@