all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dan Nicolaescu <dann@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: TIOCGLTC and TIOCGETC on MSDOS and w32
Date: Tue, 10 Aug 2010 20:21:27 +0300	[thread overview]
Message-ID: <83lj8ev0x4.fsf@gnu.org> (raw)
In-Reply-To: <yxq1va7blui.fsf@fencepost.gnu.org>

> From: Dan Nicolaescu <dann@gnu.org>
> Date: Mon, 09 Aug 2010 15:57:25 -0400
> 
> Are TIOCGLTC and TIOCGETC defined on MSDOS and w32?
> [very likely, but it would be nice if someone with access to these platforms could check]

TIOCGETC and TIOCGLTC are used in a call to ioctl, so any non-Posix
system is highly unlikely to have them, because Posix-style ioctl is
normally absent there.

I ran the preprocessor of sysdep.c and made sure that the resulting
file does not use any of these 2 on both w32 and MS-DOS.

> If they are not, we can completely remove the following code in systty.h:
> 
> #if defined (TIOCGLTC) && !defined (HAVE_TERMIOS)
> #define HAVE_LTCHARS
> #endif
> 
> #if defined (TIOCGETC) && !defined (HAVE_TERMIOS)
> #define HAVE_TCHARS
> #endif
> 
> which would enable remove of more code in other places...

Yes, you can do that.



      parent reply	other threads:[~2010-08-10 17:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-09 19:57 TIOCGLTC and TIOCGETC on MSDOS and w32 Dan Nicolaescu
2010-08-10 16:14 ` Óscar Fuentes
2010-08-10 17:21 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lj8ev0x4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dann@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.