Re: Command-line interpreter does not show prompt in comint

Francis Wright <[email protected]> Sun, 21 May 2023 22:00:25 +0100
Newsgroups gmane.emacs.windows
Message-ID <AM6PR07MB4598B61061E1EDA5811F789CE5429@AM6PR07MB4598.eurprd07.prod.outlook.com>
--000000000000fdd34b05fc3a7159
Content-Type: text/plain; charset="UTF-8"

My guess is that the command interpreter thinks it is being run
non-interactively, as would be the case if the input came from a file, in
which case a possible fix would be for the command interpreter to accept an
input option that tells it to behave interactively regardless.

Francis

On Sun, 21 May 2023 at 20:30, Devon McCormick <[email protected]> wrote:

> I run a number of command-line interpreters under emacs (under Windows)
> and this is my preferred interface but recently I have had trouble with a
> new one (q) where the prompt provides information about being in debug mode
> or not.  Unfortunately, emacs under comint (and eshell) does not display
> the prompt.  When I had this problem with another interpreter, it was
> quickly fixed in a subsequent release leading me to believe there is
> something that can be done easily on the interpreter side of things to fix
> this issue.  However, I have no clue what this is.
>
> Does anyone know what I can tell the interpreter writers they should look
> into?  Is there something on the comint side I can do to get it to stop
> swallowing the prompt?
>
> Thanks,
>
> Devon
>
> --
>
> Devon McCormick, CFA
>
> Quantitative Consultant
>
>

--000000000000fdd34b05fc3a7159
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8"><d=
iv dir=3D"ltr">My guess is that the command interpreter thinks it is being =
run non-interactively, as would be the case if the input came from a file, =
in which case a possible fix would be for the command interpreter to accept=
 an input option that tells it to behave interactively regardless.<div><br>=
</div><div>Francis</div></div><br><div class=3D"gmail_quote"><div dir=3D"lt=
r" class=3D"gmail_attr">On Sun, 21 May 2023 at 20:30, Devon McCormick &lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><di=
v class=3D"gmail_default" style=3D"font-family:&quot;times new roman&quot;,=
serif;font-size:large">I run a number of command-line interpreters under em=
acs (under Windows) and this is my preferred interface but recently I have =
had trouble with a new one (q) where the prompt provides information about =
being in debug mode or not.&nbsp; Unfortunately, emacs under comint (and es=
hell) does not display the prompt.&nbsp; When I had this problem with anoth=
er interpreter, it was quickly fixed in a subsequent release leading me to =
believe there is something that can be done easily on the interpreter side =
of things to fix this issue.&nbsp; However, I have no clue what this is.</d=
iv><div class=3D"gmail_default" style=3D"font-family:&quot;times new roman&=
quot;,serif;font-size:large"><br></div><div class=3D"gmail_default" style=
=3D"font-family:&quot;times new roman&quot;,serif;font-size:large">Does any=
one know what I can tell the interpreter writers they should look into?&nbs=
p; Is there something on the comint side I can do to get it to stop swallow=
ing the prompt?</div><div class=3D"gmail_default" style=3D"font-family:&quo=
t;times new roman&quot;,serif;font-size:large"><br></div><div class=3D"gmai=
l_default" style=3D"font-family:&quot;times new roman&quot;,serif;font-size=
:large">Thanks,</div><div class=3D"gmail_default" style=3D"font-family:&quo=
t;times new roman&quot;,serif;font-size:large"><br></div><div class=3D"gmai=
l_default" style=3D"font-family:&quot;times new roman&quot;,serif;font-size=
:large">Devon</div><div><br></div><span>-- </span><br><div dir=3D"ltr"><div=
 dir=3D"ltr"><div><div dir=3D"ltr"><p dir=3D"ltr" style=3D"color:rgb(51,51,=
51);font-size:12px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span=
 style=3D"font-size:13.3333px;font-family:Arial;color:rgb(67,67,67);font-we=
ight:bold;vertical-align:baseline;white-space:pre-wrap;background-color:tra=
nsparent">Devon McCormick, CFA</span></p><p dir=3D"ltr" style=3D"color:rgb(=
51,51,51);font-size:12px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"=
><span style=3D"font-size:13.3333px;font-family:Arial;color:rgb(68,68,68);v=
ertical-align:baseline;white-space:pre-wrap;background-color:transparent">Q=
uantitative Consultant</span></p><br></div></div></div></div></div>
</blockquote></div>

--000000000000fdd34b05fc3a7159--