Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!munnari.oz.au!csc!ccadfa!usage!basser!metro!kylie!christie From: christie@kylie.oz (Chris Tham) Newsgroups: comp.sys.ibm.pc Subject: Re: Asked before: 'less' for DOS? Message-ID: <1140@kylie.oz> Date: 4 Oct 89 00:33:11 GMT References: <2430@bingvaxu.cc.binghamton.edu> <5959@tekgvs.LABS.TEK.COM> Reply-To: christie@kylie.oz (Chris Tham) Organization: Optech Research Pty. Ltd. Lines: 34 In article <5959@tekgvs.LABS.TEK.COM> keithe@tekgvs.LABS.TEK.COM (Keith Ericson) writes: >In article <2430@bingvaxu.cc.binghamton.edu> cjoslyn@bingvaxu.cc.binghamton.edu (Cliff Joslyn) writes: >> >>I'm a dedicated MKS user, but alas, we lack a 'less'. Is there one >>hanging around for ftp? >> > >The following MKS ksh alias is _kinda'_ close... > >alias more='pg -p "page %d --More--" -n -s' Sorry for the belated reply, I'm finally catching up on articles!!! I have an old version of less (v48 I think) ported to MS-DOS, but it requires a TERMCAP database (in /etc/termcap) and a good console driver (preferably nansi, zansi or fansi). I'm willing to post that, but I might be converting v97 to MS-DOS RSN (Real Soon Now) and this time I might see if I can get it working with PC Curses so it writes directly to the screen using BIOS calls (which makes it faster and doesn't require any console device driver). Mail me for more information. BTW, from memory, my port of less was done on Microsoft C 4.0 using a public domain termcap library ported to MS-DOS plus various hacks to make it run on MS-DOS. It supported all of less's features including calling of editor etc. etc. I don't have ftp because we are running ACSnet. I can make it available for fetchfile but I doubt that would help you. -- Internet: christie@kylie.otr.oz "I'm Pink, therefore I'm Spam" JANET: christie%kylie.oz@uk.cc.ucl.cs Phone: +612 235-0255 UUCP: {uunet,hplabs,mcvax,ukc,nttlab}!munnari!christie@kylie.otr.oz Mail: Optech Research Pty Ltd, Level 60 MLC Centre Sydney NSW 2000 AUSTRALIA