summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
1997-01-05HOSTCC; from rahndsTheo de Raadt
1997-01-03From NetBSD:Todd C. Miller
- Correct sorting behaviour. - Do multicolumn output in a way that's a more likely to line up evenly. From D'Arcy J.M. Cain <darcy@druid.com>, NetBSD PR #2965.
1997-01-02Revert HISTFILE. If anyone wants a differently named history file, theyJason Downs
can set it in their environment.
1997-01-02Don't mention $_.Jason Downs
1997-01-02After discussing $_ with the maintainer, revert ksh behaviour and completelyJason Downs
eliminate it from sh.
1997-01-02Add FSH (set -o sh), initialize it if we're /bin/sh, and add the first use:Jason Downs
don't set $_ if we're non-interactive.
1996-12-29change the name of the history file from .pdksh_hist to .ksh_historyThomas Graichen
this way it is clearer where it comes from (pdksh is ksh in OpenBSD) and it's more consistent with other shells (bash - .bash_history and i think FreeBSD's sh also used something like .sh_history)
1996-12-24indicate this mktemp is vulnerable to a DOS attack, however the impact is ↵Theo de Raadt
very low
1996-12-24ref sigactionTheo de Raadt
1996-12-24Use mkstemp(3) for temporary filesThorsten Lockert
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesThorsten Lockert
1996-12-18Up limit of available user file descriptors (e.g. for redirections) to 32Niklas Hallqvist
1996-12-17Fix typoThorsten Lockert
1996-12-17Get TAB expansion rightThorsten Lockert
1996-12-16Implement more tty flags for better portability from other systems:Thorsten Lockert
XCASE - canonical input/output processing IUCLC - translate uppercase to lowercase on input OLCUC - translate lowercase to uppercase on output OCRNL - translate carriage return to newline on output ONOCR - do not output carriage return at column 0 ONLRET - newline performs carriage return function In addition the tty compatibility interface supports LCASE properly. Look at termios(4) for a more complete description of the above flags.
1996-12-14-Wall'ing.Michael Shalayeff
1996-12-12"stdin" is not a stdin! (perror)Michael Shalayeff
1996-12-10"the the" purgeTheo de Raadt
1996-12-09support pax '-s replstr' option in tar mode too. this can be used toTheo de Raadt
deal with cleaning up absolute paths
1996-12-09revert to spawning compress-ing program. normally we want extracts usingTheo de Raadt
'z' to also work on .Z files, but libz does not deal with compressed data. Hacking the code to deal well with pipes has proven very hard.
1996-12-07handle -t & -l in more cases; netbsd pr#2869, hubert.feyrer@rz.uni-regensburg.deTheo de Raadt
1996-12-04use TCSADRAIN instead of TCSANOW, to avoid dropping characters.Todd C. Miller
Fix from NetBSD (christos), reported by Chris Torek.
1996-12-01Parser fix from NetBSD (christos)Todd C. Miller
- ! was only recognized in the beginning of pipelines. Now we are recognizing it everywhere like ksh, so the following works. ! if [ a = b ]; then ! echo c && ! true; else ! echo d; fi
1996-11-30Install ksh as sh too.Jason Downs
1996-11-24Fix truncation of options list in getopts builtin.Todd C. Miller
Noticed by Matthieu Herrb <Mathieu.Herrb@mipnet.fr>
1996-11-24Fix core dump if -xz and archive does not exist (doh!)Todd C. Miller
1996-11-24Sync w/ NetBSD (christos)Todd C. Miller
Fix miscellaneous getopts problems: - the 3 argument version of getopts would not reset properly - OPTARG did not get cleared after a non argument option was found - OPTIND was not set properly after a non argument option.
1996-11-2464-bit cleanup + pedantic -W flagsNiklas Hallqvist
1996-11-21syncJason Downs
1996-11-21Update to 5.2.12.Jason Downs
1996-11-12-Wall happinessNiklas Hallqvist
1996-11-03sh can now be started in a directory whose fully qualified pathnamebitblt
is between 255 and MAXPATHLEN-1 characters.
1996-11-02Fix my fix!Todd C. Miller
1996-11-02Fix eval of $1, a typo, and a thinko.Todd C. Miller
1996-11-02useful useage, abbreviateable commandsTheo de Raadt
1996-11-02Update from NetBSD (christos)Todd C. Miller
Quote all imported environment variables.
1996-10-28Don't strip off the last slash in the pathname "/". cp used toThorsten Lockert
stat the pathname "" in order to decide that the pathname "/" is a directory. This caused `cp kernel /' to fail if the kernel has the POSIX behaviour of not allowing the pathname "" to be an alias for ".". It presumably also caused `cp /etc/motd /' to fail in the unlikely event that "." is not stat'able. Be more careful about concatenating pathnames: don't check that the pathname fits until prefixes have been discarded (the check was too strict). Print the final pathname in error messages. Terminate the target directory name properly for error messages. Don't add a slash between components if there is already a slash. Fix from FreeBSD
1996-10-27compileTodd C. Miller
1996-10-27Don't honor $HOME if >= MAXPATHLENTodd C. Miller
1996-10-27Initial cut -C support in paxtar. Exceeds GNU tar by quite a bit.Jason Downs
General pax still seems to work ok.
1996-10-27-z can now list/extra compressed files too. Uses new gz_iszipped() function.Todd C. Miller
1996-10-20Sync with NetBSD. Adds better POSIX compliance amongst others.Todd C. Miller
1996-10-13Update to version 5.2.11.Jason Downs
1996-10-12Back out my sprintf -> snprintf changes where they don't make sense andTodd C. Miller
use good ole strcpy() instead. Also use perror() instead of fprintf() where it makes sense.
1996-10-12use HOSTCC; from daleTheo de Raadt
1996-10-08Attempt at cleanup.michaels
1996-10-01Move ksh.1 to ksh.1tbl, fixing all of it's problems in one massive paradigmJason Downs
shift. Or something like that.
1996-10-01Integrate pdksh 5.2.9.Jason Downs
1996-09-28Back out last change, getopt on OpenBSD returns -1, not EOFimp
1996-09-28Fix the return value of test of getopt. It is documented to returnimp
EOF when there are no more args to process. This happens also to be a trivial difference between FreeBSD and OpenBSD which FreeBSD has right. Shouldn't break anything because EOF is #defined to be -1 on BSD systems.