[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql fcba876d0e 251/427: Solve the tty (pty) issue in M
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql fcba876d0e 251/427: Solve the tty (pty) issue in MySQL. |
Date: |
Tue, 13 Dec 2022 02:59:49 -0500 (EST) |
branch: elpa/emacsql
commit fcba876d0e43cd712ec61270120bf629cc29851a
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Solve the tty (pty) issue in MySQL.
---
emacsql-mysql.el | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/emacsql-mysql.el b/emacsql-mysql.el
index 0811a32320..89e51797b7 100644
--- a/emacsql-mysql.el
+++ b/emacsql-mysql.el
@@ -22,10 +22,14 @@
(nil "LONGTEXT")))))
(defun emacsql-mysql (dbname)
- (let* ((buffer (generate-new-buffer " *emacsql-mysql*"))
+ (let* ((process-connection-type t)
+ (buffer (generate-new-buffer " *emacsql-mysql*"))
(mysql emacsql-mysql-executable)
- (process (start-process "emacsql-mysql" buffer mysql
- "-rfBNL" "--skip-pager" dbname))
+ (command (mapconcat #'shell-quote-argument
+ (list mysql "-rfBNL" "--skip-pager" dbname)
+ " "))
+ (process (start-process-shell-command
+ "emacsql-mysql" buffer (concat "stty raw &&" command)))
(connection (make-instance 'emacsql-mysql-connection
:process process
:dbname dbname)))
- [nongnu] elpa/emacsql a7728339ba 216/427: Switch to custom middleware., (continued)
- [nongnu] elpa/emacsql a7728339ba 216/427: Switch to custom middleware., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ab53199d07 232/427: Fix escaping issue in middleware., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6ad267f93b 229/427: Change :value to :scalar., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1146f2e26a 233/427: Flesh out the changes in the README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ed77eac846 237/427: Add string prepared statements., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 847196cafa 226/427: Set tty to raw in psql., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 3e5ce21b0d 242/427: Tweak the new implementation notes., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a459708684 244/427: Move tests into their own directory., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4db068920d 247/427: Provide MySQL front-end., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql dce6736e04 249/427: Oops, add new MySQL module to the Makefile., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql fcba876d0e 251/427: Solve the tty (pty) issue in MySQL.,
ELPA Syncer <=
- [nongnu] elpa/emacsql fb0e2d5423 256/427: Fix typecase typo., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a6e859f1b5 260/427: Normalize darwin OS., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4332bd67ec 271/427: Flesh out the main header a bit more., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4e9297233d 273/427: Don't rely on C99 mode., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 7963261ef3 270/427: Bump to version 1.0.0., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6f6533ab70 272/427: Add Cygwin note., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 45f43323ad 275/427: Check the compiler error code., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 2f606fdd2d 300/427: Fix with-transaction macro to return results., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 76acd4f8a1 304/427: Add a test for reserved word escaping., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a6155464c7 274/427: Try to build the package locally if possible., ELPA Syncer, 2022/12/13