[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62623] Unable to write bytes in REPL
From: |
anonymous |
Subject: |
[bug #62623] Unable to write bytes in REPL |
Date: |
Mon, 13 Jun 2022 23:59:56 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62623>
Summary: Unable to write bytes in REPL
Project: MIT/GNU Scheme
Submitter: None
Submitted: Tue 14 Jun 2022 03:59:54 AM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Keywords:
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 14 Jun 2022 03:59:54 AM UTC By: Anonymous
Evaluating (write-u8 65) at the REPL will produce this error:
;The object #[textual-i/o-port 12 for console], passed as an argument to
#[compiled-procedure 13 ("binary-port" #x3) #x1c #x23a9984], is not the
correct type.
This is because the REPL's output port is not a binary port:
(binary-port? (current-output-port)) ; returns #f
(textual-port? (current-output-port)) ; returns #t
Would it be possible to make the REPL's output port both a textual port and a
binary port, so that bytes can be written at the REPL?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62623>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #62623] Unable to write bytes in REPL,
anonymous <=