SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would like to request that ksh93 be updated in -current. I use both Slackware and NetBSD and I am trying to standardize shells to reduce the risk of a spectacular catastrophe.
As it stands, the version is as follows:
Code:
$ /bin/ksh --version
version sh (AT&T Research) 93t+ 2010-06-21
I believe the latest stable upstream version is 93u, released some time in 2012. For some reason the AT&T download section is not working for me at the moment, so I can't be sure about this.
At my repository [1] you can find an updated SlackBuild for ksh-93 (under system/ksh-93). Check if it can helps you to install a newer version.
Thank you for your reply Antonio. I finally got my hands on the source and edited the Slackbuild script accordingly. I created and installed the updated package but I was just suggesting that it might be an idea to have the updated shell included by default in the next version of Slackware. So far I have had no problems with it myself.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Hi, gezley,
So, I'm wondering -- what did you download from AT&T? I got INIT.2012-08-01.tgz and INIT.2013-05-24.tgz (seems like the newer INIT might be better?). I also got ast-ksh.2012-08-01.tgz (these from the ksh directory).
Looking at the Slackware ap/ksh93 source directory, there are INIT.2010-06-21.tgz, ast-ksh-locale.2010-02-02.tgz, and ast-ksh.2010-06-21.tgz (although the locale file does not seem to be created or used in the SlackBuild).
Before I go off the deep end, do I have the right stuff (and where the heck do you get the locale file if it's needed)?
I've just been following this thread because I only use KornShell and, you know, why not update?
So, I'm wondering -- what did you download from AT&T? I got INIT.2012-08-01.tgz and INIT.2013-05-24.tgz (seems like the newer INIT might be better?). I also got ast-ksh.2012-08-01.tgz (these from the ksh directory).
Looking at the Slackware ap/ksh93 source directory, there are INIT.2010-06-21.tgz, ast-ksh-locale.2010-02-02.tgz, and ast-ksh.2010-06-21.tgz (although the locale file does not seem to be created or used in the SlackBuild).
Before I go off the deep end, do I have the right stuff (and where the heck do you get the locale file if it's needed)?
I've just been following this thread because I only use KornShell and, you know, why not update?
Thanks.
Hi Tronayne,
I first downloaded these two source tarballs from the website (which is very unreliable, at least here):
INIT.2012-08-01.tgz
ast-ksh.2012-08-01.tgz
When I downloaded them INIT.2013-05-24.tgz wasn't available.
All I did then was to replace VERSION=2010-06-21 with VERSION=2012-08-01 in the slackbuild script (and the same for PKGVER); I put the tarballs in the same directory; and I ran the slackbuild as root. This created the package which I was able to install with installpkg. I'm not sure if I did it the right way; on reflection perhaps I should have used upgradepkg instead, but everything has been going OK for me for the last week or so. I'm a shell novice so don't rely on my judgement. I do like the Korn shell: it just seems to have a professional feel about it.
Good luck!
Last edited by Gerard Lally; 06-05-2013 at 05:52 PM.
As an aside, David Korn is a really great guy. He was the first UNIX demigod I ever met. I was at a LinuxWorld conference in NYC and he came wandering up to the booth and just stood there smiling (I was talking to a bunch of other people at the time). After things got a little more quiet, I glanced at his badge and it was all I could do to keep from going into groupie mode. We ended up having a great discussion about UNIX, Linux, and his shell, which he told me he was trying to get AT&T to make free enough that we could drop pdksh and include the real deal instead.
As an aside, David Korn is a really great guy. He was the first UNIX demigod I ever met. I was at a LinuxWorld conference in NYC and he came wandering up to the booth and just stood there smiling (I was talking to a bunch of other people at the time). After things got a little more quiet, I glanced at his badge and it was all I could do to keep from going into groupie mode. We ended up having a great discussion about UNIX, Linux, and his shell, which he told me he was trying to get AT&T to make free enough that we could drop pdksh and include the real deal instead.
Ahh, seems like a good excuse to drag this old story out. Old timers will probably have seen it before,
but maybe the younger slackers will appreciate it.
Quote:
From: Joel Ray Holveck
I've been attending the USENIX NT and LISA NT (Large Installation Systems
Administration for NT) conference in downtown Seattle this week.
One of those magical Microsoft moments(tm) happened yesterday and I
thought that I'd share. Non-geeks may not find this funny at all, but
those in geekdom (particularly UNIX geekdom) will appreciate it.
Greg Sullivan, a Microsoft product manager (henceforth MPM), was holding
forth on a forthcoming product that will provide Unix style scripting and
shell services on NT for compatibility and to leverage UNIX expertise that
moves to the NT platform. The product suite includes the MKS (Mortise
Kern Systems) windowing Korn shell, a windowing PERL, and lots of goodies
like awk, sed and grep. It actually fills a nice niche for which other
products (like the MKS suite) have either been too highly priced or not
well enough integrated.
An older man, probably mid-50s, stands up in the back of the room and
asserts that Microsoft could have done better with their choice of Korn
shell. He asks if they had considered others that are more compatible
with existing UNIX versions of KSH.
The MPM said that the MKS shell was pretty compatible and should be able
to run all UNIX scripts.
The questioner again asserted that the MKS shell was not very compatible
and didn't do a lot of things right that are defined in the KSH language
spec.
The MPM asserted again that the shell was pretty compatible and should
work quite well.
This assertion and counter assertion went back and forth for a bit, when
another fellow member of the audience announced to the MPM that the
questioner was, in fact David Korn of AT&T (now Lucent) Bell Labs. (David
Korn is the author of the Korn shell)
Uproarious laughter burst forth from the audience, and it was one of the
only times that I have seen a (by then pink cheeked) MPM lost for words
or momentarily lacking the usual unflappable confidence. So, what's a body
to do when Microsoft reality collides with everyone elses?
Last edited by GazL; 06-05-2013 at 07:22 PM.
Reason: removed email addresses - just incase they're still live.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Quote:
Originally Posted by volkerdi
I'll look into getting updates into -current.
So, Pat, what's the locale for -- really doesn't look like it gets used in the build (and, if it does get used, where the heck is it found)?
Yup, David Korn is one of the good guys (heard him give a talk once); I felt the same way when I met Brian Kernighan (also a great guy) some years ago, hard not to go all groupie (he's teaching at Princeton nowadays, gotta think that would be a real worthwhile class).
You know, it's funny how the really, really smart folks usually turn out to be some of the nicest you'd ever want to meet -- I've been privileged to meet a few and they've pretty much all turned out to be a lot fun to be with and you wind up learning a few things while you're at it.
Korn's The KornShell Command and Programming Language (co-written with Morris Bolsky) shares a lot in common with Kernighan, Ritchie (RIP Dennis), Thompson, Kochan, Wood and others that came up through Bell Labs -- every one readable, understandable, free of fluff and still sitting on my shelves getting referred to now and again.
Will I keep using KornShell? Dang right -- it works.
BTW, the license of ksh93 is now EPL and if i recall you should buil ast-ksh with the same version of INIT, something that is taking into place in my updated SlackBuild. OTOH, at the time i updated ksh93's SlackBuild i couldn't find information about the *locale* package, so i just commented all lines that makes references to it.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Thank you, Pat.
Downloaded from the source tree at OSUOSL, built on my main work station (64-bit 14.0), upgradepk, log out, log in, viola! Compiling as we speak on one of the (32-bit 14.0) boxes, no runs, no drips, no errors.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.