I'm sorry I confused you. In my second email I did mention that the script was used to set a prompt and an acme window name when running win and being logged onto UNIX.
On Thu, Apr 24, 2014 at 7:18 AM, Jacob Todd <jaketodd...@gmail.com> wrote: > Then why did you say it was rc? What's wrong with you. > > On Apr 24, 2014 12:18 AM, "Alexander Kapshuk" <alexander.kaps...@gmail.com> > wrote: >> >> That's OK. It's actually ksh on AIX. >> >> Thanks for your feedback anyway. >> >> >> On Wed, Apr 23, 2014 at 10:34 PM, erik quanstrom <quans...@quanstro.net> >> wrote: >> >> >>> #!/bin/rc >> >> >>> { >> >> >>> echo 'echo $SYSNAME!`uname -n`!$USER' >> >> >>> echo 'PS1='':; '' PS2='' ''' >> >> >>> } >/dev/$winid/body >> >> > this is not valid rc. >> >> > >> >> > - erik >> >> > >> >> If it's not too much trouble, would you mind demonstrating what valid >> >> rc >> >> would be for the part of the script in question. >> > >> > i'm wrong of course if the shell you're running is bash, >> > the script itself is reasonable rc. i was confused by an >> > rc script emitting bash. >> > >> > - erik >> > >> >