I've tested out ksh93-20020628-1 in unstable and it seems to work 
well.  I do have a small nit with this package.  When viewing the man 
page, the ksh command is referred to as sh.  I don't really know 
anything about how man pages are formatted, but I opened it and it 
seems like it can be configured to display either sh or ksh.  Here's 
an excerpt of ksh93.1 man file:

---------------------------------------------------------------------
.\"
.\" David Korn
.\" AT&T Bell Laboratories
.\"
.\" @(#)sh.1 (research!dgk) 12/28/93
.\"
.nr Z 0 \" set to 1 when command name is ksh rather than sh
.nr Y 0 \" set to 1 for R&D UNIX
.if \nY=1 .nr Z 1
.ds OK [\|
.ds CK \|]
.ds ' \s+4\[email protected]@\'\[EMAIL PROTECTED]@\s-4
.ds ` \s+4\[email protected]@\`\[EMAIL PROTECTED]@\s-4
.if \nZ=0 .TH SH 1
.if \nZ=1 .TH KSH 1 "User Environment Utilities" "RDS Standard"
.SH NAME
.if \nZ=0 sh, rsh \- shell, the
.if \nZ=1 ksh, rksh \- KornShell, a
standard/restricted command and programming language
.SH SYNOPSIS
.if \nZ=0 .B sh
.if \nZ=1 .B ksh
[
.B \(+-abcefhikmnoprstuvxCD
] [
.B \-R
file ] [
.B \(+-o
option ] .\|.\|. [
.B \-
] [ arg .\|.\|. ]
.br
.if \nZ=0 .B rsh
.if \nZ=1 .B rksh
[
.B \(+-abcefhikmnoprstuvxCD
] [
.B \-R
file ] [
.B \(+-o
option ] .\|.\|.  [
.B \-
] [ arg .\|.\|. ]
.SH DESCRIPTION
.if \nZ=0 .I Sh\^
.if \nZ=1 .I Ksh\^
is a command and programming language
that executes commands read from a terminal
or a file.
.if \nZ=0 .I Rsh\^
.if \nZ=1 .I Rksh\^
is a restricted version of the
.if \nZ=0 standard
command interpreter
.if \nZ=0 .IR sh ;
.if \nZ=1 .IR ksh ;
it is used to set up login names and execution environments whose
capabilities are more controlled than those of the standard shell.
See
.I Invocation\^
below
for the meaning of arguments to the shell.
.SS Definitions.
A
---------------------------------------------------------------------

I suppose that this isn't really a problem, but my obsessive 
curiosity was bugging me.  I really wanted to know how the man page 
can be changed to display ksh instead of sh.  So I looked at 
FreeBSD's port of ksh93 
(ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/shells/ksh93), 
and they have a patch file that seems to correct the problem:

---------------------------------------------------------------------
$FreeBSD: ports/shells/ksh93/files/patch-src_cmd_ksh93_sh_1,v 1.1 
2001/02/26 05:14:17 steve Exp $
--- src/cmd/ksh93/sh.1.orig     Wed Dec 27 23:10:30 2000
+++ src/cmd/ksh93/sh.1  Wed Dec 27 23:10:44 2000
@@ -4,7 +4,7 @@
  .\"
  .\" @(#)sh.1 (research!dgk) 12/28/93
  .\"
-.nr Z 0 \" set to 1 when command name is ksh rather than sh
+.nr Z 1 \" set to 1 when command name is ksh rather than sh
  .nr Y 0 \" set to 1 for R&D UNIX
  .if \nY=1 .nr Z 1
  .ds OK [\|
---------------------------------------------------------------------

So I tried manually editing my man file by changing (.nr Z 0 \" set 
to 1 when..) to (.nr Z 1 \" set to 1 when..), and voila!  The ksh93.1 
man file now references the ksh command.  I would be nice if a 
similar patch file could be included with this package.  Thanks for 
the hard work and great contributions!

Jason Park




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to