bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console switching ioctls


From: Bas Wijnen
Subject: Re: Console switching ioctls
Date: Thu, 25 Aug 2005 18:26:32 +0200
User-agent: Mutt/1.5.10i

Hi,

On Thu, Aug 25, 2005 at 05:01:01PM +0200, Marco Gerards wrote:
> So I am considering a library that is capable of the same things as
> the ioctls.  Would that be a wise choice or is there any way to
> overcome the problems I described?  My choice would be a library that
> should be used for console switching, although it will make us
> incompatible.

If I understand you correctly we're going to be incompatible anyway (except if
we do some dirty hacks, which I wouldn't suggest).

So source code will need to be changed.  With the library, the changes will be
minimal and easy to implement (because there will be library calls for every
ioctl call).  If we make the library do the ioctl calls if compiled on other
systems, the programs using it will still work on all platforms after the
port.  That seems the most elegant solution to me.

Then again, I'd like a library for every other use of ioctl as well, as they
are too low-level, and therefore potentially non-portable.

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://129.125.47.90/e-mail.html

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]