[comp.unix.xenix] yashell under XENIX

richard@neabbs.UUCP (RICHARD RONTELTAP) (04/10/89)

I've downloaded YAshell from XBBS. It is a kind of PD Korn shell.
 
Is there anybody out there(C) trying to get it to work under XENIX?
I've warked oround the ioctl for getting de window size. There were
also some different includes, and some BSD (I think) functions like
bcopy.
 
When I compile it, I get: getcwd failed. When I place a
write() after the getcwd() it does not seem to have failed.
 
Any clues?
 
Richard
(...!hp4nl!neabbs!richard)

conan@vax1.acs.udel.EDU (Robert B Carroll) (04/11/89)

In article <129347@neabbs.UUCP> richard@neabbs.UUCP (RICHARD RONTELTAP) writes:
>I've downloaded YAshell from XBBS. It is a kind of PD Korn shell.
>also some different includes, and some BSD (I think) functions like
>bcopy.
>When I compile it, I get: getcwd failed. When I place a
>write() after the getcwd() it does not seem to have failed.
> 
>Richard
>(...!hp4nl!neabbs!richard)

the xenix equiv of bcopy is memcpy. On that deal with the write()/getcwd()
sounds to ME like your clobbering data with a bad ptr. Look and see
how the data is declared(use debugger). If i had access to a xenix machine
i'd try and compile it for you but i don't right now so.......
i love porting across systems.
















-- 
-----------------------
conan@vax1.acs.udel.edu
CONAN THE BARBARIAN