Age | Commit message (Collapse) | Author |
|
default prompt by not including a space after the character;
diff from scott cheloha
|
|
by POSIX and as implemented in our utility; triggered by a question from
Alessandro DE LAURENZIS <just22 at atlantide dot t28 dot net> on misc@.
OK millert@
|
|
The check added in rev 1.8 walks the whole freelist to catch cases where
an unknown pointer is passed to afree(); but it can't catch cases
whether the struct link has been corrupted by an invalid memory write.
And it becomes very expensive when you have lots of items in an area
(for example with a huge HISTSIZE).
Discussed with & ok millert@ tb@
|
|
from Scott Cheloha
|
|
Requested by akoshibe and phessler
ok phessler@ anton@ jca@
|
|
characters of the old binary ksh history file. In that case ignore
the history file after displaying an error once. Prevents annoying
repeated 'history file is corrupt' messages in $HOME on NFS setups
suffered by henning and makes the migration from the old to the new
history file format safer.
ok henning, tweaks & ok jca
|
|
savings.
|
|
|
|
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@
|
|
ok jca
|
|
Input & ok tb@
|
|
A tad faster in my HISTFILE "benchmarks". ok tb@
|
|
Picked in a diff from Klemens Nanni
|
|
From Scott Cheloha
ok tb@
|
|
ok deraadt@
|
|
okay millert@
|
|
the default.
okay millert@
|
|
|
|
|
|
and is not an easy fix for now.
|
|
borrowed from ksh93.
Survived a ports build performed by naddy@ and encouraged by many.
|
|
instead of CLEANFILES += y.tab.h
okay millert@
|
|
Sounds good to deraadt@
OK anton@
|
|
take an argument. Discussed with millert and tedu.
|
|
|
|
|
|
and present on several other systems. some ok, some less ok.
from Job Snijders
|
|
|
|
little-endian or unsigned char :-)
ok anton
|
|
now.
ok schwarze@
|
|
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@
|
|
Regression found by deraadt@
|
|
ok deraadt@ tb@
|
|
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@
|
|
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@
|
|
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@
|
|
ok deraadt@ tb@
|
|
programs will build even without a make depend first.
okay tb@ millert@
|
|
|
|
diff from klemens nanni
confirmed by otto
|
|
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
|
|
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>.
|
|
Reported by Walter Alejandro Iglesias on tech@.
ok schwarze@ tb@
|
|
diff from bcallah@; OK tedu@ deraadt@
|
|
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
|
|
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@
|
|
While here, remove a condition that becomes redundant.
ok schwarze@ tb@
|
|
requested by a mail on misc, via otto;
ok otto
|
|
|
|
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@
|