Re: Command-line interpreter does not show prompt in comint
Devon McCormick <[email protected]> Sun, 21 May 2023 19:09:48 -0400
| Newsgroups | gmane.emacs.windows |
|---|---|
| Message-ID | <CAGdEmpFh5bnJo9R+qvd72XGg68rPjtYFmesCNrjbXfykur2QjQ@mail.gmail.com> |
--0000000000004f420e05fc3c42b3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the idea but it appears that this interpreter in fact has no option to be run non-interactively, so I don't think it's that. On Sun, May 21, 2023 at 5:00=E2=80=AFPM Francis Wright <[email protected].= uk> wrote: > 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 m= ode >> 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 f= ix >> this issue. However, I have no clue what this is. >> >> Does anyone know what I can tell the interpreter writers they should loo= k >> 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 >> >> --=20 Devon McCormick, CFA Quantitative Consultant --0000000000004f420e05fc3c42b3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:times ne= w roman,serif;font-size:large">Thanks for the idea but it appears that this= interpreter in fact has no option to be run non-interactively, so I don= 9;t think it's that.</div></div><br><div class=3D"gmail_quote"><div dir= =3D"ltr" class=3D"gmail_attr">On Sun, May 21, 2023 at 5:00=E2=80=AFPM Franc= is Wright <<a href=3D"mailto:[email protected]">[email protected]= k</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"= ><div dir=3D"ltr">My guess is that the command interpreter thinks it is bei= ng run non-interactively, as would be the case if the input came from a fil= e, in which case a possible fix would be for the command interpreter to acc= ept 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= "ltr" class=3D"gmail_attr">On Sun, 21 May 2023 at 20:30, Devon McCormick &l= t;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= m</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"= ><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:"t= imes new roman",serif;font-size:large">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 provid= es information about being in debug mode or not.=C2=A0 Unfortunately, emacs= under comint (and eshell) does not display the prompt.=C2=A0 When I had th= is problem with another interpreter, it was quickly fixed in a subsequent r= elease leading me to believe there is something that can be done easily on = the interpreter side of things to fix this issue.=C2=A0 However, I have no = clue what this is.</div><div class=3D"gmail_default" style=3D"font-family:&= quot;times new roman",serif;font-size:large"><br></div><div class=3D"g= mail_default" style=3D"font-family:"times new roman",serif;font-s= ize:large">Does anyone know what I can tell the interpreter writers they sh= ould look into?=C2=A0 Is there something on the comint side I can do to get= it to stop swallowing the prompt?</div><div class=3D"gmail_default" style= =3D"font-family:"times new roman",serif;font-size:large"><br></di= v><div class=3D"gmail_default" style=3D"font-family:"times new roman&q= uot;,serif;font-size:large">Thanks,</div><div class=3D"gmail_default" style= =3D"font-family:"times new roman",serif;font-size:large"><br></di= v><div class=3D"gmail_default" style=3D"font-family:"times new roman&q= uot;,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;marg= in-bottom:0pt"><span style=3D"font-size:13.3333px;font-family:Arial;color:r= gb(67,67,67);font-weight:bold;vertical-align:baseline;white-space:pre-wrap;= background-color:transparent">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:0p= t;margin-bottom:0pt"><span style=3D"font-size:13.3333px;font-family:Arial;c= olor:rgb(68,68,68);vertical-align:baseline;white-space:pre-wrap;background-= color:transparent">Quantitative Consultant</span></p><br></div></div></div>= </div></div> </blockquote></div> </blockquote></div><br clear=3D"all"><div><br></div><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d= iv dir=3D"ltr"><div><div dir=3D"ltr"><p dir=3D"ltr" style=3D"color:rgb(51,5= 1,51);font-size:12px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><sp= an style=3D"font-size:13.3333px;font-family:Arial;color:rgb(67,67,67);font-= weight:bold;vertical-align:baseline;white-space:pre-wrap;background-color:t= ransparent">Devon McCormick, CFA</span></p><p dir=3D"ltr" style=3D"color:rg= b(51,51,51);font-size:12px;line-height:1.38;margin-top:0pt;margin-bottom:0p= t"><span style=3D"font-size:13.3333px;font-family:Arial;color:rgb(68,68,68)= ;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"= >Quantitative Consultant</span></p><br></div></div></div></div> --0000000000004f420e05fc3c42b3--