From 22fff17047cee9f179e91177c7b61801db63274e Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 9 Oct 2015 19:28:20 +0000 Subject: [PATCH] comments for future directions (keep delta lower, make lksh-as-ksh doable) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit oksh synching will be more work than I can continue while being ill still… --- lksh.1 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lksh.1 b/lksh.1 index 2c65121..a3e14b3 100644 --- a/lksh.1 +++ b/lksh.1 @@ -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 -.\" mirabilos +.\" mirabilos .\" .\" Provided that these terms and disclaimer and all copyright notices .\" are retained or reproduced in an accompanying document, permission @@ -72,7 +72,7 @@ .\" with -mandoc, it might implement .Mx itself, but we want to .\" 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. .\" @@ -179,6 +179,7 @@ currently has the following differences from .Nm mksh : .Bl -bullet .It +.\"XXX TODO: remove (some systems may wish to have lksh as ksh) There is no explicit support for interactive use, nor any command line editing or history code. 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 if Undefined Behaviour occurs. .It +.\"XXX TODO: move this to FPOSIX The rotation arithmetic operators are not available. .It The shift arithmetic operators take all bits of the second operand into account; if they exceed permitted precision, the result is unspecified. .It +.\"XXX TODO: move this to FPOSIX The .Tn GNU .Nm bash extension &\*(Gt to redirect stdout and stderr in one go is not parsed. .It +.\"XXX TODO: drop along with allowing interactivity The .Nm mksh command line option @@ -250,6 +254,7 @@ passes through the errorlevel from the .Xr getopt 1 command. .It +.\"XXX TODO: move to FPOSIX/FSH Unlike .At .Nm ksh , @@ -262,6 +267,7 @@ mode and .Nm lksh do not keep file descriptors \*(Gt 2 private from sub-processes. .It +.\"XXX TODO: move to FSH? fix upstreams? both ugh. .Nm lksh undefines an alias when a .Tn POSIX