From: Erik Troan <ewt@redhat.com>
Subject: Re: midi player? & more
Date: Fri, 16 Feb 1996 11:14:24 -0500 (EST) [thread overview]
Message-ID: <fd5248f989dc8e9d3fa5697254bad2e5.axp-list@archive.invalid> (raw)
In-Reply-To: <199602161447.JAA23929@postman.osf.org>
On Fri, 16 Feb 1996, Fred Roy wrote:
> I did not know that `more' was broken on Red Hat's Linux/Alpha (because
> I am still using BLADE_0.3...), but I noticed that BLADE's /bin/more was
> looking much to `less'. Anyway I've made some changes inside the source
> code for `more' which makes it work on Linux/Alpha (i.e. on BLADE_0.3,
> at least). Perhaps I just reivented the wheel...
Well, more on Red Hat is less, as it is on Blade.
> Then I noticed that ioctl() was called with (sometimes) a pointer to a
> `struct termio' as 3rd argument, while (on Linux/Alpha/BLADE_0.3)
> the Vxx array indexes differed beetween termio.c_cc[] and termios.c_cc[]
> ... and in system headers VMIN * & co are overriden to suit the
> `struct termio' variants only when <termio.h> is included ... and it's
> not the case in more.c.
>
> So I've changed in my more.c file all occurences of c_cc[Vxx] by
> c_cc[_Vxx] (Vxx in {VKILL, VERASE, VTIME, VMIN}) and now it seems ok.
>
> I don't kwnow if the various <*/termio*.h> and <sys/ioctl.h> headers have
> been changed for Linux/Alpha till the BLADE_0.3 release; if not, would
> some housekeeping be a good idea ?
You may have just saved me a lot of trouble... David MT should be able
to give a yay or nay to this patch.
Erik
-------------------------------------------------------------------------------
Always hoped that I'd be an apostle. Knew that I would make it if I tried.
Then when we retire we can write the gospels so they'll all talk about
us when we die. - "The Last Supper" from Jesus Christ Superstar
| Erik Troan = http://sunsite.unc.edu/ewt/ = ewt@sunsite.unc.edu |
next prev parent reply other threads:[~1996-02-16 16:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.91.960214150019.20706B-100000@redhat.com>
1996-02-16 14:47 ` midi player? & more Fred Roy
1996-02-16 16:14 ` Erik Troan [this message]
1996-02-16 15:46 David Mosberger-Tang
-- strict thread matches above, loose matches on Subject: below --
1996-02-16 19:59 Bob Manson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox