Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-26 | Align variables and put logical operators at EOL. No binary change. | anton | |
2017-07-26 | Postpone printing of prompt if filec is enabled in csh. Any I/O should be | anton | |
performed first when canonical mode has been disabled on the tty just like ksh does. Discovered by the regress tests. Joint work with bluhm@, ok deraadt@ | |||
2017-07-24 | Fix off-by-one error introduced in the previous commit. | Theo Buehler | |
ok jca | |||
2017-07-24 | Prettify, simplify | Jeremie Courreges-Anglas | |
Input & ok tb@ | |||
2017-07-24 | Use memmove instead of a hand-rolled loop | Jeremie Courreges-Anglas | |
A tad faster in my HISTFILE "benchmarks". ok tb@ | |||
2017-07-24 | Add < and > to the comment describind the grammar. | Jeremie Courreges-Anglas | |
Picked in a diff from Klemens Nanni | |||
2017-07-22 | Use monotonic clock for the time command in csh and ksh. | anton | |
From Scott Cheloha ok tb@ | |||
2017-07-18 | Restore tty when aborting loop. | anton | |
ok deraadt@ | |||
2017-07-10 | remove misc. depend and yacc nits that no longer matter. | Marc Espie | |
okay millert@ | |||
2017-07-09 | remove redundant variable declarations in Makefiles, since those are | Marc Espie | |
the default. okay millert@ | |||
2017-07-06 | fix broken cross references; found with mandoc -Tlint | Ingo Schwarze | |
2017-07-05 | nits about trailing punctuation found with mandoc -Tlint | Ingo Schwarze | |
2017-07-04 | Backout previous due to a bug discovered by zhuk@ that requires some tinkering | anton | |
and is not an easy fix for now. | |||
2017-07-04 | Add support for pattern substitution to variables in ksh using a common syntax | anton | |
borrowed from ksh93. Survived a ports build performed by naddy@ and encouraged by many. | |||
2017-07-03 | no need to generate y.tab.h if nothing uses it, set YFLAGS to nothing | Marc Espie | |
instead of CLEANFILES += y.tab.h okay millert@ | |||
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 | |