Discussion:
missing isql prompt in ntemacs21.3 shell
(too old to reply)
Amit Gupta
2004-06-05 21:59:52 UTC
Permalink
I am connecting to Microsoft Sql Server 2000 using isql. When I do this in
the dos shell I get the following:

c:\home\agupta>isql -U sa -P xxx -S abc
1> use pubs
2> go
1> select count(*) from authors
2> go
---------------
23
(1 row affected)

However when I do this from my shell window in nt-emacs21.3 I get the
following:

c:\home\agupta>isql -U sa -P xxx -S abc
use pubs
go
select count(*) from authors
go
1> 2> 1> 2>
---------------
23

As you can see the number prompts are missing. It seems to be buffering
them. Is there any way to fix this?

Any help would be deeply appreciated.

Thanks.

Amit
Benjamin Riefenstahl
2004-06-07 12:16:24 UTC
Permalink
Hi Amit,
Post by Amit Gupta
As you can see the number prompts are missing. It seems to be
buffering them. Is there any way to fix this?
The buffering is done by isql, most likely. Maybe you can turn it
off there.

On Unix, Emacs would tell isql that is should run in interactive mode
by using a pseudo-tty for communication. Windows doesn't have that
concept.

benny

Loading...