Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-21 | revert the tweak part of the last commit which, apart from the | Alexander Hall | |
questionable functionality of being able to expand environment variables that did not match a filename, preserved the annoyance of having stuff like "~/nonexistant" expanded to "~/nonexistant\* " ok stsp@ mpi@ | |||
2013-01-20 | Fix backslash escaping during filename tab-completion in ksh. | Stefan Sperling | |
Diff originally submitted by Alexander Polakov, with a small tweak from me to avoid breaking tab-completion of environment variables (problem pointed out by bentley). ok sthen halex mpi | |||
2013-01-17 | remove some uesless Pp; | Jason McIntyre | |
2012-09-10 | fake a sigwinch after each job, so if the terminal changes size, | Ted Unangst | |
we'll notice and update | |||
2012-09-06 | Avoid modifying argv when building argv for $* and $@ since it will | Todd C. Miller | |
affect ps output. This can happen when command line options are specified, e.g. "sh -c command". Based on a diff from espie@ OK espie@ | |||
2012-09-05 | backout, Todd's version may be cleaner, but it's also wrong. | Marc Espie | |
2012-09-05 | sh -c should not munge argv[]. | Marc Espie | |
This fixes ps -ww output. joint work by millert@ and me@. okay otto@, deraadt@ "feel free to commit my version" millert@ | |||
2012-07-08 | Document ${var[@]} and ${var[*]} | Philip Guenthe | |
ok espie@ | |||
2012-06-27 | fptreef() always returns 0 and we never use the return value anyway, | Otto Moerbeek | |
so make it void; from Michael W. Bombardieri. | |||
2012-06-19 | for arithmetic expressions, note that: | Jason McIntyre | |
+A parameter that is NULL or unset evaluates to 0. original diff from robert peichaer this version from naddy | |||
2012-06-10 | Correctly expand bindings containing macros. Fix a regression introduced | Martin Pieuchot | |
in the keybinding system rewrite, reported by Lars Engblom. | |||
2012-04-30 | generalise ksh keybinding system - bindings are no longer limited in | Damien Miller | |
length and need not start with ESC or ^X; patch from marco@ feedback mpi@ | |||
2012-02-19 | Allow for more vars in hash table, improve hash function, increase | Otto Moerbeek | |
hash table size sooner. Based on suggestion from Michael Niedermayer. ok krw@ mpi@ | |||
2012-02-02 | bound chaeck table expansion; problem seen by Michael Niedermayer; | Otto Moerbeek | |
ok deraadt@ kili@ | |||
2011-10-11 | gc unused var; from Michael W. Bombardieri | Otto Moerbeek | |
2011-09-07 | beter determination if the shell is restricted; from Alf Schlichting. | Otto Moerbeek | |
ok jasper@ millert@ | |||
2011-09-05 | Fix hang in emacs mode. To reproduce the hang go like: "^[16000l" which | Marco Peereboom | |
would insert 16000 letter l'. Going over the line limit makes no sense so limit it's repetition and prevent the hang in the process. ok guenther | |||
2011-09-03 | make -column lists pretty again; | Jason McIntyre | |
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense. | |||
2011-05-30 | typo; Alexander Polakov | Martynas Venckus | |
2011-04-23 | improve line breaking in SYNOPSIS now that semantics of the .Bk macro | Igor Sobrado | |
has changed to conform with modern groff releases. diff for route6d(8) written mostly by schwarze@, with lots of useful advice from jmc@. ok jmc@, schwarze@ | |||
2011-03-15 | fix uninitialized variable warnings (lifted from mksh). | Okan Demirmen | |
noticed by and ok kevlo@ | |||
2011-03-14 | remove unused SILLY game of life. | Okan Demirmen | |
no binary change. sure @deraadt | |||
2011-03-09 | substitute '~' for $HOME in the \W prompt case; matches bash's behavior. | Okan Demirmen | |
feedback from Dan Harnett OK deraadt@ | |||
2010-09-20 | according to ingo, it isn;t a problem to have empty [BDS]q macros, so | Jason McIntyre | |
revert that part of yesterday's diffs; | |||
2010-09-18 | some macro cleanup: | Jason McIntyre | |
- remove some old groff workarounds in SYNOPSIS - avoid "Op ... Oc" constructions - avoid empty Sq/Dq - change some incorrect Xr | |||
2010-07-15 | When the first argument or arguments of a macro are opening delimiters | Ingo Schwarze | |
(parentheses and/or square brackets), both modern groff and mandoc first output those leading delimiters as plain text, then start the macro scope after these opening delimiters. This is similar to printing trailing punctuation and trailing closing delimiters on a macro line outside and after the macro scope. For example, ".Sq ( text )" is "(`text')", not "`(text)'". Thus, we now need to quote leading opening delimiters when we want them inside the macro scope. These are the cases in src/bin. "makes sense" jmc@ | |||
2010-07-12 | ksh.1: add ((, )), ]], and `name' to the list of reserved words for compounds | Jason McIntyre | |
sh.1: add ]] and `name' to the list; additionally document the commands `select' (requested by Ross L Richardson) and [[ ok millert sobrado | |||
2010-05-20 | Escape "=", remove if 0'd out code and simplify check in x_print_expansions. | Federico G. Schwindt | |
millert@ ok some time ago. | |||
2010-05-19 | properly keep track of the line number after a trap. | Jasper Lievisse Adriaanse | |
this fixes pr 6195. diff from manuel giraud, thanks. ok kili@ | |||
2010-05-10 | tweak previous; | Jason McIntyre | |
2010-05-10 | unset doesn't fail except for read-only variables and functions | Matthias Kilian | |
ok guenther@ | |||
2010-05-01 | Correct a comment; from dawedawe (at) gmx.de | Philip Guenthe | |
2010-03-27 | `b' and `c' arguments to mknod are not optional; from LEVAI Daniel | Jason McIntyre | |
c_sh.c part from sobrado; ok millert guenther | |||
2010-03-24 | fix the cases where ${name#pat} and ${name%pat} will generate an empty word | Federico G. Schwindt | |
when they shouldn't. originally from mksh but modified to handle the case when the expr is quoted as noticed by halex@. input from guenther@ and halex@, millert@ ok | |||
2010-02-26 | Array indices are limited to 0 through 10239 now. | william | |
ok jmc deraadt | |||
2010-02-25 | get rid of overlapping blocks discouraged by mdoc.samples(7); | Ingo Schwarze | |
found by and unbreaking the build with mandoc(1); "fine" jmc@ sobrado@ | |||
2010-01-04 | Crank max array size in ksh to 10K-1, since 2047 is too restrictive. | Theo de Raadt | |
Please keep in mind that ksh accesses are not O(1) in any sense. Needed by todd, ok otto, guenther | |||
2009-12-13 | remember to restore errno (ie. stop someone from making a mistake later) | Theo de Raadt | |
ok guenther | |||
2009-12-12 | a dangling do / while that was very very ugly | Theo de Raadt | |
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-07-02 | avoid infinite recursion if unlink fails. reported by Stefan Pettersson | Martynas Venckus | |
ok theo, millert@ | |||
2009-06-29 | make VSEARCH werase act like regular werase after the last change. | Martynas Venckus | |
vi back-words and emacs kill-region are not completely the same. ok merdely@, millert@. "Get it in" Darrin Chandler | |||
2009-06-10 | Fix problem with ^w fix that broke 'B' | Michael Erdely | |
Found by Daniel LEVAI Fix by Darrin Chandler ok millert@ | |||
2009-06-04 | "make ksh vi mode handle werase more like vi. It's really irritating to | Michael Erdely | |
have whole paths go away on ^W instead of just the last bit." "That looks right to me" millert@, "YES kthx bye!" thib@ | |||
2009-06-02 | fix macro handling | Alexander Hall | |
2009-06-01 | please sthen the 80 character pedant | Theo de Raadt | |
2009-06-01 | "let --" was crashing ksh; found by phy0@rambler.ru. Various other expressions | Theo de Raadt | |
involving ++ and -- also ran into this. Insufficient checks for end of parse in the tokenizer made it assume that an lvalue had been found ok millert otto | |||
2009-05-28 | fix missing bracket by slightly rewriting; from Alan R. S. Bueno | Jason McIntyre | |
2009-05-05 | Fix usage string for mknod builtin. | Todd C. Miller | |
2009-04-19 | don't print extraneous padding characters when tab-completion file/command | Stuart Henderson | |
lists encounter a name too long for the width of the terminal. from Matthew Haub, no objections krw@. |