home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.applications
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sdd.hp.com!col.hp.com!fc.hp.com!koren
- From: koren@fc.hp.com (Steve Koren)
- Subject: Re: SKsh 2.1 (problems with "&")
- Sender: news@fc.hp.com (news daemon)
- Message-ID: <C0Dxt4.AB0@fc.hp.com>
- Date: Tue, 5 Jan 1993 14:34:15 GMT
- References: <1993Jan5.021952.5232@nntpd.lkg.dec.com>
- Organization: Hewlett-Packard Fort Collins Site
- X-Newsreader: Tin 1.1.3 PL5
- Lines: 47
-
- David Bath (bath@hunnas) wrote:
-
- > Now that we've got your attention in here ;-) I posted the following three
- > queries to this newsgroup a few weeks back and no-one seemed to be able to
-
- > +U option
- > ---------
- > Does anyone know if the +U option has changed between SKsh 2.0 and
-
- Yup, it is busted. :-(. I accidentally broke it in 2.1 and it slipped
- by unnoticed (I don't use floppies more than once every 3rd blue moon).
- I'll fix it for 2.2. Sorry. I don't know what happened, exactly, but
- it definitely isn't working.
-
- > The way I figured it, each prompt has two $_ANSIs each of which count for
- > 10. So, both PNPC and PNPC2 should be 20, but add one for good measure
- > and you get 21. Is this correct?
-
- Yup.
-
- > The doco for PNPC suggests it should be the count of non-printables in both
- > PS1 *and* PS2. That would require I make it 40, but add one (or
-
- I'll have to reword that - it sounds misleading. PNPC1 is for PS1,
- PNPC2 is for PS2.
-
- If anyone has a better way to do this given a prompt that contains an
- unknown number of non-printing characters, I'm definitely open to
- suggestions :-). The real ksh just ignores the problem entirely and
- your line scrolls at 30 characters instead of 80, which is horrible. I
- wish I could come up with a more elegant way to do this, but haven't
- been able to yet.
-
- > The only problem I've noticed so far with this setup is:
- > If I'm in the root directory, where $BPWD is presumable the empty string,
- > and I attempt to use filename completion, strange things happen. I
-
- Sounds like an independent problem. I haven't noticed any completion
- oddness in root directories, but I'll try to duplicate this and see what
- I can come up with.
-
- > I can't remember now whether it behaved this way under 2.0 or not.
- > Anyone got any ideas?
-
- Sounds like a bug. I'll add it to my "to fix" list for 2.2. Thanks.
-
- - steve
-