Proclets 0.3 + bjorne shell 0.2 patch

Project:JNode Core
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

This patch is another snaphot of the the proclet code plus the partly implemented "bjorne" shell. It should be applied using 'patch' against the jnode 'trunk' at revision #3231.

The new shell functionality is enabled using the 'chsh' command. This have the following command syntax:

chsh <shell> [ <invoker> ]

where the shell is one of "minimal", "default" or 'bjorne" and the invoker is one of "default", "thread" or "proclet".

The bjorne shell is still at a very early stage, but some kinds of variable expansion and some kinds of redirection are believed to be working with simple commands.

AttachmentSize
issues_40406.29 KB

#1

Status:active» won't fix

Here's another update. The new features of version of the patch are

  • more bourne shell functionality - '&&', '||', ';', 'if ...', 'while ...', 'until ...',
  • (hacky) support for control characters in KeyboardInterpretter,
  • support for ^D == EOF on the console standard input stream, and
  • an enhancement to 'cat' to allow it to be used for creating files.

As before the baseline for the patch is SVN version #3231 of the trunk.

#2

These patches are no longer relevant. A reworked version of 'proclets' was checked in some time ago, and there is a more recent version of the bjorne work.