GNU bug report logs -
#51912
[PATCH 0/2] gnu: Add cl-terminal-keypress.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51912 in the body.
You can then email your comments to 51912 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#51912
; Package
guix-patches
.
(Wed, 17 Nov 2021 05:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 17 Nov 2021 05:45:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Foo Chuan Wei (2):
gnu: Add cl-trivial-raw-io.
gnu: Add cl-terminal-keypress.
gnu/packages/lisp-xyz.scm | 73 +++++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
base-commit: 02a67810e566e8402e0b927c81ae39391762767d
--
2.25.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51912
; Package
guix-patches
.
(Wed, 17 Nov 2021 05:47:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 51912 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/lisp-xyz.scm (cl-trivial-raw-io, ecl-trivial-raw-io,
sbcl-trivial-raw-io): New variables.
---
gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4b17c173c9..b63c89012a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18719,6 +18719,37 @@ terminals.")
(define-public ecl-clinenoise
(sbcl-package->ecl-package sbcl-clinenoise))
+(define-public sbcl-trivial-raw-io
+ (let ((commit "b1a3c876305baa0dead419841de7b3e433a75867")
+ (revision "1"))
+ (package
+ (name "sbcl-trivial-raw-io")
+ (version (git-version "0.0.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kingcons/trivial-raw-io")
+ (commit commit)))
+ (file-name (git-file-name "trivial-raw-io" version))
+ (sha256
+ (base32 "19290zw2b64k78wr62gv30pp7cmqg07q85vfwjknaffjdd73xwi1"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("sbcl-alexandria" ,sbcl-alexandria)))
+ (home-page "https://github.com/kingcons/trivial-raw-io")
+ (synopsis "Trivial portability for raw *nix IO in Common Lisp")
+ (description
+ "For all your portable CL raw POSIX I/O needs! We export three simple
+symbols: @code{with-raw-io}, @code{read-char}, and @code{read-line}.")
+ (license license:bsd-2))))
+
+(define-public cl-trivial-raw-io
+ (sbcl-package->cl-source-package sbcl-trivial-raw-io))
+
+(define-public ecl-trivial-raw-io
+ (sbcl-package->ecl-package sbcl-trivial-raw-io))
+
(define-public sbcl-periodic-table
(package
(name "sbcl-periodic-table")
--
2.25.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#51912
; Package
guix-patches
.
(Wed, 17 Nov 2021 05:47:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 51912 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/lisp-xyz.scm (cl-terminal-keypress,
ecl-terminal-keypress, sbcl-terminal-keypress): New variables.
---
gnu/packages/lisp-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index b63c89012a..fbf1a0ac8e 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18750,6 +18750,48 @@ symbols: @code{with-raw-io}, @code{read-char}, and @code{read-line}.")
(define-public ecl-trivial-raw-io
(sbcl-package->ecl-package sbcl-trivial-raw-io))
+(define-public sbcl-terminal-keypress
+ (let ((commit "2ef48c045aa627229764b2aa393a83d392d93d08")
+ (revision "1"))
+ (package
+ (name "sbcl-terminal-keypress")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eudoxia0/terminal-keypress")
+ (commit commit)))
+ (file-name (git-file-name "cl-terminal-keypress" version))
+ (sha256
+ (base32 "11c4krpq5x55qkchx6ykcnb455ssb4r3jjywx3c3irfrkj733ybp"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("trivial-raw-io" ,sbcl-trivial-raw-io)))
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)))
+ (home-page "https://github.com/eudoxia0/terminal-keypress")
+ (synopsis "Read keyboard events in the terminal from Common Lisp")
+ (description
+ "This is a library for reading semi-raw user input from terminals.
+Semi-raw as in, we can't detect if the user pressed the @code{Control} key
+alone, and the function keys are a mystery. What is supported, however, is:
+
+@itemize
+@item Regular characters
+@item Control+[key]
+@item Alt+[key]
+@item Control+Alt+[key]
+@end itemize")
+ (license license:expat))))
+
+(define-public cl-terminal-keypress
+ (sbcl-package->cl-source-package sbcl-terminal-keypress))
+
+(define-public ecl-terminal-keypress
+ (sbcl-package->ecl-package sbcl-terminal-keypress))
+
(define-public sbcl-periodic-table
(package
(name "sbcl-periodic-table")
--
2.25.1
Reply sent
to
Guillaume Le Vaillant <glv <at> posteo.net>
:
You have taken responsibility.
(Fri, 19 Nov 2021 10:06:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
:
bug acknowledged by developer.
(Fri, 19 Nov 2021 10:06:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 51912-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Patches pushed as 4cc345faf950fe47afd38ce9657ce8d5d69acaf9 and
following.
Thanks.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 17 Dec 2021 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 102 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.