all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
Subject: Re: gdb-ui almosts works in NT
Date: Tue, 1 Apr 2003 22:06:17 +0100	[thread overview]
Message-ID: <16009.65353.101403.890085@nick.uklinux.net> (raw)
In-Reply-To: <u4c3cl2m4i8.fsf@george.floobin.cx>

 > >> The output from the inferior could be sent directly to the
 > >> input/output buffer but the author of this part of the code from
 > >> gdba.el (Tom Lord?) used cat because:
 > >> 
 > >> ;; We want to use comint because it has various nifty and familiar
 > >> ;; features. We don't need a process, but comint wants one, so create
 > >> ;; a dummy one.
 > > 
 > > I don't understand why is this important; perhaps someone else does.

I don't know if its important but it gives the user features like accessing
previous input (C-p) and to send signals to the inferior (although this can
probably be done from the GUD buffer).

 > FYI, IELM had a similar problem, which has been fixed like so:
 > 
 >     ;; Was cat, but on non-Unix platforms that might not exist, so
 >     ;; use hexl instead, which is part of the Emacs distribution.
 >     (condition-case nil
 > 	(start-process "ielm" (current-buffer) "hexl")
 >       (file-error (start-process "ielm" (current-buffer) "cat")))

There appear to be two problems:

1) gdb-ui doesn't output to the I/O buffer in NT.
2) cat might not exist in NT.

To solve 1) I propose to get rid of the I/O buffer in NT. Then 2) would
no longer be an issue as cat (or hexl) would not be needed in NT. To do this
(and cover Windows NT/2K/9X/ME?) what case should I consider?

(eq system-type 'windows-nt)?
(memq system-type '(ms-dos windows-nt))?
something else?

Nick

  reply	other threads:[~2003-04-01 21:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-31 21:04 gdb-ui almosts works in NT Nick Roberts
2003-04-01  4:28 ` Eli Zaretskii
2003-04-01 18:55   ` Edward O'Connor
2003-04-01 21:06     ` Nick Roberts [this message]
2003-04-01 21:31       ` Stefan Monnier
2003-04-02  4:12         ` Eli Zaretskii
2003-04-02 14:14           ` Stefan Monnier
2003-04-03  3:49             ` Eli Zaretskii
2003-04-03  7:55               ` Jason Rumney
2003-04-02  4:08       ` Eli Zaretskii
2003-04-02 17:28   ` Jonathan Luntz
  -- strict thread matches above, loose matches on Subject: below --
2003-04-03 17:29 Nick Roberts
2003-04-03 17:52 ` Jonathan Luntz
     [not found] <3E84A28A.2090407@umich.edu>
2003-03-31  6:45 ` Eli Zaretskii
2003-03-31 15:29   ` Stefan Monnier
2003-03-31 16:38   ` Jonathan Luntz
2003-03-31 19:17     ` Eli Zaretskii

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=16009.65353.101403.890085@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    /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.