Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!uflorida!mailer.cc.fsu.edu!prism!gs26 From: gs26@prism.gatech.EDU (Glenn R. Stone) Newsgroups: comp.unix.aix Subject: Re: Has anyone got less to work under AIX-3.1 on a RS6000 ? Message-ID: <17570@hydra.gatech.EDU> Date: 26 Nov 90 21:46:51 GMT References: Distribution: comp Organization: Dead Poets Society Lines: 20 In michael@uni-paderborn.de (Michael Schmidt) writes: >I just tried to install the more replacement less on our rs6000. All >comilations went fine, I got a working executable. But, ... the >behaviour is strange. >When viewing a file you have to type in FOUR chracters.... Aha. POSIX strikes again. Compile less for a System V machine, and it works like a charm..... 'cept that you have to diddle with the malloc() code, because malloc() is a void in AIX3, not an int.... You obviously tried to compile it for a Berkeley setup, and got the POSIX line discipline problem.... you can MAKE it run in a Berkeley environment, but it's not worth your time. Oh, and make sure to link with -lcurses instead of -lterminfo..... libterminfo.a don't exist under AIX3. -- Glenn R. Stone gs26@prism.gatech.edu