9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] MirOS ksh (mksh) building out-of-the box on Plan9/APE
@ 2013-07-26  6:59 Jens Staal
  2013-07-26 16:26 ` cinap_lenrek
  2013-08-16  7:26 ` Jens Staal
  0 siblings, 2 replies; 13+ messages in thread
From: Jens Staal @ 2013-07-26  6:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs; +Cc: Thorsten Glaser

Dear all,

From yesterday upstream mksh (cvs and future R48 and onwards) builds out
of the box on Plan9 simply by:

ape/psh
./Build.sh

One issue remains and that is that the shell will get "stuck" after
executing an external command. To build a working shell, there is a
temporary work-around by issuing:

CFLAGS="-DMKSH_NOPROSPECTOFWORK" ./Build.sh

This disables a number of features in the shell.

I have uploaded an R47 build with the modified Build.sh (with
-DMKSH_NOPROSPECTOFWORK)
at /n/sources/contrib/staal1978/pkg/mksh-R47.tbz.

In order to get a fully-functional mksh, something needs to be fixed
host-side. A good guess is that it is the way APE handles SIGCHLD,
since the same "freezing" has occurred on a number of other ports of
mksh:

http://www.mail-archive.com/miros-mksh@mirbsd.org/msg00215.html

Is there interest in fixing SIGCHLD on APE and if so, what would be the
best approach?

If there is interest, it would thus be entirely possible to have an
upstream, modern and mantained ksh shell which builds unmodified for APE
(possibly as replacement of the old pdksh port now acting as "sh").
The mksh shell is used in many different contexts, most notably as
shell in the more modern versions of Android.



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-08-16  7:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26  6:59 [9fans] MirOS ksh (mksh) building out-of-the box on Plan9/APE Jens Staal
2013-07-26 16:26 ` cinap_lenrek
2013-07-26 17:01   ` erik quanstrom
2013-07-27  5:48     ` Jens Staal
2013-07-27 14:01       ` erik quanstrom
2013-07-27 15:11         ` Aram Hăvărneanu
2013-07-27 15:23           ` erik quanstrom
2013-07-27 21:39             ` Kurt H Maier
2013-07-27 21:43               ` erik quanstrom
2013-07-27 22:39                 ` Aram Hăvărneanu
2013-07-28  0:55                   ` erik quanstrom
2013-07-28  5:38                 ` lucio
2013-08-16  7:26 ` Jens Staal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).