unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: multi-tty breakage on MS-Windows
Date: Sat, 22 Sep 2007 15:00:47 +0200	[thread overview]
Message-ID: <uwsuizwg0.fsf@gnu.org> (raw)
In-Reply-To: <uhcm5qfwm.fsf@gnu.org> (message from Eli Zaretskii on Sat, 08 Sep 2007 19:29:45 +0300)

> Date: Sat, 08 Sep 2007 19:29:45 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
> 
> >   >   . "emacs -nw" crashes on startup; backtrace attached below.
> > 
> > This is a known problem, Jason Rumney stated that this does not work
> > in his message announcing that multi-tty was ported to Windows. 
> > Can you please help fixing it? 
> 
> I will, if I find enough time.

I fixed a few problems, and now "emacs -nw" starts on Windows.  Please
test.

Some problems that are still to be fixed, before "emacs -nw" can be
considered operable on Windows:

  o Colors don't work.  Details:

     . Emacs knows it has 16 colors, but draws only white on black and
       reverse video.  (Try "M-x list-colors-display".)

     . Mode line and menu bar are not in reverse video, as they should
       be.

     . Under a debugger, each face returns the value 7 (white on
       black) as character attribute from w32_face_attributes.

  o Ctrl-C keystrokes are swallowed and don't get to Emacs input
    queue.  For example, "C-x C-c" will not kill Emacs.

  o The screen buffer dimensions are not restored by Emacs when it
    exits.  You will see that the scroll bar of the DOS box is not
    restored, for example.  (Use the Properties of the DOS box to
    restore manually.)

After these problems are solved, I think we need to decide whether it
makes sense to use several tty's on Windows.  I know that one use case
for the multi-tty Emacs on Posix platforms is to connect to the same
Emacs session remotely; I think this use case doesn't make much sense
on MS-Windows (but if I'm wrong, please correct me).  Are there other
use cases? if so, what are they?

If we find legitimate use cases for multi-tty on MS-Windows, more
coding will be needed to provide the Windows equivalents of opening
a non-default tty device, emulate suspension, etc.

  parent reply	other threads:[~2007-09-22 13:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08  9:56 multi-tty breakage on MS-Windows Eli Zaretskii
2007-09-08 15:32 ` Dan Nicolaescu
2007-09-08 16:29   ` Eli Zaretskii
2007-09-08 17:24     ` Dan Nicolaescu
2007-09-08 17:48       ` martin rudalics
     [not found]       ` <E1IUCJC-0000YJ-0c@fencepost.gnu.org>
2007-09-10  3:35         ` Dan Nicolaescu
2007-09-10  4:44           ` dhruva
2007-09-10 23:54           ` Richard Stallman
2007-09-08 19:48     ` Stephen J. Turnbull
2007-09-09 20:05       ` Richard Stallman
2007-09-22 13:00     ` Eli Zaretskii [this message]
2007-09-22 21:16       ` Jason Rumney
2007-09-23  4:16         ` Eli Zaretskii
2007-09-23 11:37           ` Jason Rumney
2007-09-23 13:18             ` dhruva
2007-09-23 13:28               ` Jason Rumney
2007-09-25  9:01       ` Jason Rumney
2007-09-26 15:24         ` Eli Zaretskii
2007-09-09 19:51   ` Stefan Monnier
2007-09-09 20:03     ` David Kastrup
2007-09-10  3:21       ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2007-09-08 18:18 Angelo Graziosi
2007-09-09 21:18 Angelo Graziosi

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=uwsuizwg0.fsf@gnu.org \
    --to=eliz@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).