From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Thu, 17 Jun 2004 09:05:36 +0000 From: Bengt Kleberg Message-ID: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit References: , <200406162350.i5GNoFF20502@zamenhof.cs.utwente.nl> Subject: Re: [9fans] any success with current plan9port on sunos5.8? Topicbox-Message-UUID: a4cb571c-eacd-11e9-9e20-41e7f4b1d025 Axel Belinfante wrote: ...deleted > I tried the 'do only define __EXTENSIONS__ where necessary approach' > and it turned out to be pretty painful, when used to compile all. > I'll explain. > > I found that some more files needed it, or else compilation would fail. strangely enough i only had 1 file (plan9/src/cmd/9term/SunOS.c) that failed to compile. perhaps you have a newer tarball than i do? > Worse, I found that some files (well, at least one) needed it, > but without showing this by failing compilation. > The case being lib9/dirread.c : without __EXTENSIONS__ being > defined I somehow end up with a dirread that reads nothing > (could be completely my fault, by messing something up > by playing with __EXTENSIONS__). this did not happen for me. ie, both ls and acme worked after re-compiling without __EXTENSIONS__. presumably i made a mistake somewhere. > The point I'm trying to make is: > in this dirread case, the fact that something is broken > kind of hits you in the face as soon as you run acme, > or even plain ls: no files at all. However, there could be > a zillion things that are broken in a more subtle way. > Having to find those by stumbling over them I would find painful. without a test suite, things are indeed difficult. > Furthermore I got the impression that the echo-disabling > code in 9term still/again needs some work: on sunos5.8 > when prompting for a password, telnet succeeds to disable echo > but ssh and vncviewer fail. I did have an own version where those > worked too, I'll find time to have a look at the differences. > sorry i do not do this. not tested. bengt