From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,59e717d8215ed70f X-Google-Attributes: gidfee84,public From: flj@sirill.svg.mbs.no (Flemming Josephsen) Subject: Re: SH/KSH Bugs Date: 1995/07/17 Message-ID: <3ud76h$d8a@oslo3.osl.mbs.no>#1/1 X-Deja-AN: 106331996 distribution: world references: <3u06qc$o6$1@mhade.production.compuserve.com> organization: MBS Fjerndata, Sola, Norway reply-to: flj@sirill.svg.mbs.no newsgroups: comp.unix.osf.osf1 In article <3u06qc$o6$1@mhade.production.compuserve.com>, Michel Roman <100444.1522@CompuServe.COM> writes: >hi, > >I have some problem using << input redirection symbol in a shell >script. Sometimes the shell is returning me /tmp/sh124214 cannot >open. >It's there any bug in the temporary file name creation algorithm >? >Another time, redirecting command input with << produced a core >dump from the shell. [snip] > You might want to try set the vi temp area to somewhere else with EXINIT. See man ex if in doubt on the how-to. Hmm, I'm not sure if it is related but I've seen other peculiar behaviour in sh, which is easily reprodused, in OSF/1 versions 3.0 and later. try: sh vi Then when in vi press crtl+c.. Something is wrong here as you should see Then try: ksh vi and try press ctrl+c again. Looks much better. The only fix I've found for that is to rename sh and link ksh to sh as certain programs rely on the ctrl+c for internal purposes. Should somebody have proper fix for this then I'd like to know :). /flj