comments for future directions (keep delta lower, make lksh-as-ksh doable)

oksh synching will be more work than I can continue while being ill still…
This commit is contained in:
tg 2015-10-09 19:28:20 +00:00
parent af35e9a6de
commit 22fff17047
1 changed files with 9 additions and 3 deletions

12
lksh.1
View File

@ -1,7 +1,7 @@
.\" $MirOS: src/bin/mksh/lksh.1,v 1.11 2015/09/05 19:19:06 tg Exp $ .\" $MirOS: src/bin/mksh/lksh.1,v 1.12 2015/10/09 19:28:20 tg Exp $
.\"- .\"-
.\" Copyright (c) 2008, 2009, 2010, 2012, 2013, 2015 .\" Copyright (c) 2008, 2009, 2010, 2012, 2013, 2015
.\" mirabilos <tg@mirbsd.org> .\" mirabilos <m@mirbsd.org>
.\" .\"
.\" Provided that these terms and disclaimer and all copyright notices .\" Provided that these terms and disclaimer and all copyright notices
.\" are retained or reproduced in an accompanying document, permission .\" are retained or reproduced in an accompanying document, permission
@ -72,7 +72,7 @@
.\" with -mandoc, it might implement .Mx itself, but we want to .\" with -mandoc, it might implement .Mx itself, but we want to
.\" use our own definition. And .Dd must come *first*, always. .\" use our own definition. And .Dd must come *first*, always.
.\" .\"
.Dd $Mdocdate: September 5 2015 $ .Dd $Mdocdate: October 9 2015 $
.\" .\"
.\" Check which macro package we use, and do other -mdoc setup. .\" Check which macro package we use, and do other -mdoc setup.
.\" .\"
@ -179,6 +179,7 @@ currently has the following differences from
.Nm mksh : .Nm mksh :
.Bl -bullet .Bl -bullet
.It .It
.\"XXX TODO: remove (some systems may wish to have lksh as ksh)
There is no explicit support for interactive use, There is no explicit support for interactive use,
nor any command line editing or history code. nor any command line editing or history code.
Hence, Hence,
@ -219,16 +220,19 @@ Division of the largest negative number by \-1 is Undefined Behaviour.
The compiler is permitted to delete all data and crash the system The compiler is permitted to delete all data and crash the system
if Undefined Behaviour occurs. if Undefined Behaviour occurs.
.It .It
.\"XXX TODO: move this to FPOSIX
The rotation arithmetic operators are not available. The rotation arithmetic operators are not available.
.It .It
The shift arithmetic operators take all bits of the second operand into The shift arithmetic operators take all bits of the second operand into
account; if they exceed permitted precision, the result is unspecified. account; if they exceed permitted precision, the result is unspecified.
.It .It
.\"XXX TODO: move this to FPOSIX
The The
.Tn GNU .Tn GNU
.Nm bash .Nm bash
extension &\*(Gt to redirect stdout and stderr in one go is not parsed. extension &\*(Gt to redirect stdout and stderr in one go is not parsed.
.It .It
.\"XXX TODO: drop along with allowing interactivity
The The
.Nm mksh .Nm mksh
command line option command line option
@ -250,6 +254,7 @@ passes through the errorlevel from the
.Xr getopt 1 .Xr getopt 1
command. command.
.It .It
.\"XXX TODO: move to FPOSIX/FSH
Unlike Unlike
.At .At
.Nm ksh , .Nm ksh ,
@ -262,6 +267,7 @@ mode and
.Nm lksh .Nm lksh
do not keep file descriptors \*(Gt 2 private from sub-processes. do not keep file descriptors \*(Gt 2 private from sub-processes.
.It .It
.\"XXX TODO: move to FSH? fix upstreams? both ugh.
.Nm lksh .Nm lksh
undefines an alias when a undefines an alias when a
.Tn POSIX .Tn POSIX