Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-29 | Increase the input line buffer to 4096 bytes. | Martijn van Duren | |
Sounds good to deraadt@ OK anton@ | |||
2017-06-29 | Switch TIOCSTAT to _IO(). Two decades ago it was mistakenly defined to | Theo de Raadt | |
take an argument. Discussed with millert and tedu. | |||
2017-06-28 | add -v to SYNOPSIS and STANDARDS; | Jason McIntyre | |
2017-06-27 | fix a few lines of unusual length | Ted Unangst | |
2017-06-27 | add a -v verbose flag to cp, mv, and rm. useful for monitoring progress, | Ted Unangst | |
and present on several other systems. some ok, some less ok. from Job Snijders | |||
2017-06-27 | Tweak previous: align declarations and rename local variable. | anton | |
2017-06-27 | in recently commited TIOCSTI replacement code, do not assume | Theo de Raadt | |
little-endian or unsigned char :-) ok anton | |||
2017-06-25 | No need to NUL-terminate the line buffer since it's handled by x_e_getu8() by | anton | |
now. ok schwarze@ | |||
2017-06-25 | Don't output partial UTF-8 characters in ksh emacs mode. Instead, try to read a | anton | |
complete UTF-8 character first. Fixes an issue while running ksh in tmux where UTF-8 characters inserted in columns other than the last one are discarded. With help from nicm@ and schwarze@ who also wrote the UTF-8 validation, thanks! ok schwarze@ | |||
2017-06-22 | Make sure to abort loops when pressing ^C in csh. | anton | |
Regression found by deraadt@ | |||
2017-06-21 | Minor style(9) corrections and whitespace cleanup to csh. | anton | |
ok deraadt@ tb@ | |||
2017-06-21 | Replace usage of TIOCSTI in csh using a more common IO-loop where ICANON is | anton | |
disabled and a single char of input is read at a time. This requires the line editing capabilities provided when ICANON is enabled to be implemented. With help and feedback from deraadt@ | |||
2017-06-20 | '^T' is documented to be bounded to transpose-chars while in emacs | Bryan Steele | |
mode, not "stuff". While here, remove the poorly described "stuff" and "stuff" bind functions as well.. In the unlikely event anyone has those in .kshrc, they'll need to be removed. ok anton@ | |||
2017-06-20 | Don't try to close every single file descriptor up to _SC_OPEN_MAX in csh. | anton | |
Instead, close the fds that reside in between the gaps of used fds and once the largest used fd is reached call closefrom(). ok deraadt@ | |||
2017-06-17 | Move win variable. | anton | |
ok deraadt@ tb@ | |||
2017-06-16 | mark files as BUILDFIRST, or write explicit dependencies, so that most | Marc Espie | |
programs will build even without a make depend first. okay tb@ millert@ | |||
2017-06-10 | missing blank before full stop, found with mandoc -Tlint | Ingo Schwarze | |
2017-06-07 | X is not restricted to just the + operator; | Jason McIntyre | |
diff from klemens nanni confirmed by otto | |||
2017-06-01 | The fact is simple: Subshells have the same PPID as the current shell. | Theo Buehler | |
What is not so simple is squinting hard enough to conclude that POSIX actually says that. I'm still not sure how to do that. Problem with the shell manual pointed out by "Choose a display name". ok otto, halex, jmc | |||
2017-05-31 | Let the 's' command delete the right number of bytes when UTF-8 | Ingo Schwarze | |
characters are involved; similar to what anton@ previously did for 'r'; OK tb@ anton@; also tested by Walter Alejandro Iglesias <wai at roquesor dot com>. | |||
2017-05-31 | Allow replacement of UTF-8 characters in vi mode. | anton | |
Reported by Walter Alejandro Iglesias on tech@. ok schwarze@ tb@ | |||
2017-05-30 | stop reacharound from w(1) to ps(1); no functional change; | Ingo Schwarze | |
diff from bcallah@; OK tedu@ deraadt@ | |||
2017-05-29 | Change the mmap(2)-based binary history file with lots of magic and a | Theo Buehler | |
tendency for corruption to a simpler plaintext version. To convert your current ksh history to plaintext, issue fc -ln 1 | sed 's/^ //' > ~/ksh_hist.txt before upgrading and use ksh_hist.txt as HISTFILE after the upgrade. Original patch by marco in 2011. Ported to current during g2k16 by me. Testing, bugfixes and improvements in joint work with natano. Additional testing by anton and mestre. Includes some tweaks by anton. Committing now to shake out remaining bugs before 6.2 is cut. ok deraadt, mestre, anton, sthen | |||
2017-05-28 | chown: Remove SUPPORT_DOT ifdef - it's on by default for 22 years | Adam Wolk | |
The old syntax was deprecated 25 years ago when the utility was first standardised in IEEE Std 1003.2-1992 ("POSIX.2"). There was no POSIX version of chown with the dot separator. Let's stop pretending that it will ever go away. OK jung@, deraadt@, jmc@ | |||
2017-05-28 | Fix cursor position while removing characters from the command line. | anton | |
While here, remove a condition that becomes redundant. ok schwarze@ tb@ | |||
2017-05-26 | document behaviour when CDPATH unset; | Jason McIntyre | |
requested by a mail on misc, via otto; ok otto | |||
2017-05-22 | obvious use for freezero() | Theo de Raadt | |
2017-05-12 | Improve UTF-8 handling on lines that are wider than the terminal, | Ingo Schwarze | |
in two respects: 1. During output in x_e_putc(), when counting display columns, skip UTF-8 continuation bytes. Fixes backward movements that cause horizontal scrolling. 2. After deleting characters, recalculate the last byte that fits on the line. Patch from <Anton dot Lindqvist at gmail dot com> on tech@. OK millert@ tb@ | |||
2017-05-11 | a little tidy up; from raf czlonka | Jason McIntyre | |
2017-05-01 | Quiet an "implicit conversion from 'int' to 'char' changes value" | Todd C. Miller | |
warning from clang. | |||
2017-04-28 | Quiet a clang warning from -Wstring-plus-int. OK naddy@ | Todd C. Miller | |
2017-04-26 | silence clang warnings: add an extra pair of parentheses and stop | Christian Weisgerber | |
passing empty format strings to printf-family functions; ok millert@ | |||
2017-04-26 | In -C mode, process all checksums that match the specified file(s), | Todd C. Miller | |
not just the first one that matches. OK deraadt@ | |||
2017-04-17 | /dev/rmt* is no longer relevant; from miod | Jason McIntyre | |
2017-03-29 | Use strtonum(3) instead of strtol(3). OK deraadt@ | Todd C. Miller | |
2017-03-16 | document the "type" built-in, marked as xsi by posix; | Jason McIntyre | |
2017-03-16 | document the ulimit built-in, which is now marked xsi by posix; | Jason McIntyre | |
noted by scott cheloha | |||
2017-03-16 | document the "hash" built-in, moved to (posix) base in issue 7; | Jason McIntyre | |
2017-03-16 | buffer increase factor belongs in the nmemb field of reallocarray() | Theo de Raadt | |
ok guenther | |||
2017-03-11 | switch pax to using pledge tape instead of ioctl. | Theo Buehler | |
ok kettenis | |||
2017-02-23 | SHA-1 collisions have now been found so update some man pages. As noted by | Daniel Dickman | |
minek van on misc@. Thanks. ok tb@, tj@ (and jmc@ is ok with the diff but can't ok the technical content). | |||
2017-02-19 | Assigning to RANDOM calls srand_deterministic(3), not srand(3), | Ingo Schwarze | |
and simplify the next sentence; triggered by a different patch from Anton dot Lindqvist at gmail dot com. OK millert@ tb@ | |||
2017-02-19 | More whitespace, helps reading | Jeremie Courreges-Anglas | |
ok ajacoutot@ | |||
2017-02-17 | In chmod's symbolic mode without -h and -R flags, a missing FTS_COMFOLLOW | Theo Buehler | |
flag to fts_open led to the following behavior: the symlink's permissions were read, changed according to the command line, and transferred to the target file. chflags had a similar problem while chmod was unaffected. Regression introduced in r1.33. Reported by Christopher Wellons, thanks! ok guenther | |||
2017-01-24 | do not need sys/proc.h | Theo de Raadt | |
2017-01-23 | Slow down the churn and continue using old pledge name "ioctl" instead | Theo de Raadt | |
of "tape" for a week or so. | |||
2017-01-23 | Call isatty() before tcgetattr() in the lex. This is a little redundant, | Theo de Raadt | |
but avoids doing pledge "tty" operations against flat files. The shell's tty will be kind of special in the near future. isatty is also a lot less kernel code to run through the loop. | |||
2017-01-23 | Split pledge "ioctl" into "tape" and "bpf", and allow SIOCGIFGROUP only | Theo de Raadt | |
upon "inet". Adjust the 4 programs that care about this. | |||
2017-01-21 | Add an explicit syntax() call to indicate that no binary op was | Kenneth R Westerback | |
found. Makes gcc happier. Add __dead to function prototype as we go by. ok guenther@ | |||
2017-01-21 | Nuke whitespace foolish enough to expose itself during the great | Kenneth R Westerback | |
"warning:" rectification. |