🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #492

Re: Bug in vi or ksh?

#492
From: dcm
Date: Fri, 06 Feb 1987 03:49
39 lines
2119 bytes
In article <2063@ptsfa.UUCP> jackb@ptsfa.UUCP (Jack Bailey) writes:
>Has anyone noticed this problem:
>
>Let's say that during a session of vi, you have your shell set
>to /bin/ksh (from EXINIT, .exrc, or manual setting).  Let's also
>assume you're editing an existing file.  When you perform
>a shell escape with file name substitution using %, the
>program you call says the file does not exist.
>
>I think the problem is that the substitution is made using
>eight-bit characters.  I tried this experiment on a monitor
>capable of displaying graphics characters ala ALT-?, and the file
>name is gobbledygreek.
>
>-- 
>J.J.Bailey
>Voice:	415-823-1958
>uucp:	{ihnp4,lll-crg,qantel,pyramid}!ptsfa!jackb

Yep, I had this happen last week.  The folks here booted a new
release of Amdahl UTS and vi bit the dust.  Recompiled vi and all
was well.  So, give that a try.  The freaky thing with this nasty
bug is that it disappears if you make your shell anything other
than K-shell.  

That's the fix.  Now can anyone explain what happened?

				Dave
--

David C. Miller, consultant
Communications Interface Addresses:
    Paperware:  AT&T Information Systems, 190 River Road, Summit, NJ  07901
    Liveware:  (201) 522-6107
    Software:  {allegra,burl,cbosgd,clyde,ihnp4,ulysses}!sfsup!dcm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On good days life is T.A.N.S.T.A.A.F.L.
On days like today:  T.A.N.S.T.A.A.L.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <1089@sfsup.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cuae2!ihnp4!mb2c!zeta!gamma!ulysses!sfmag!sfsup!dcm
References: <2063@ptsfa.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cuae2!ihnp4!mb2c!zeta!gamma!ulysses!sfmag!sfsup!dcm
From: dcm@sfsup.UUCP
Newsgroups: comp.bugs.sys5
Subject: Re: Bug in vi or ksh?
Message-ID: <1089@sfsup.UUCP>
Date: Thu, 5-Feb-87 22:49:17 EST
Article-I.D.: sfsup.1089
Posted: Thu Feb  5 22:49:17 1987
Date-Received: Sun, 8-Feb-87 01:27:27 EST
References: <2063@ptsfa.UUCP>
Reply-To: dcm@sfsup.UUCP (David C. Miller, consultant)
Distribution: na
Organization: AT&T Information Systems, Summit, N. J.
Lines: 39