Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-readchar Python library to read characters and key strokes
4.2.2 textproc Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.2.2Version of this port present on the latest quarterly branch.
Maintainer: longros@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-11-18 17:50:33
Last Update: 2026-10-13 07:35:09
Commit Hash: 5e7b9b3
Also Listed In: devel
License: MIT
WWW:
https://github.com/magmax/python-readchar
Description: #
Library to easily read single chars and key strokes. The idea is to have a portable way to read single characters and key-strokes.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}readchar>0:textproc/py-readchar@${PY_FLAVOR}
To install the port: #
cd /usr/ports/textproc/py-readchar/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-readchar
  • pkg install py312-readchar
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-readchar listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-readchar
Package flavors (<flavor>: <package>) #
  • py312: py312-readchar
distinfo: #
TIMESTAMP = 1787415468 SHA256 (magmax-python-readchar-v4.2.2_GH0.tar.gz) = fe6e320636b185a67eb412d7ad8eb2946a4381be3c07eb92193cecd728c12bff SIZE (magmax-python-readchar-v4.2.2_GH0.tar.gz) = 13332

Packages (timestamps in pop-ups are UTC): #
py39-readchar
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest--3.0.5--
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py311-readchar
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---3.1.0_1-
FreeBSD:14:quarterly---3.1.0_1-
FreeBSD:15:latest--n/a3.1.0_1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py312-readchar
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest4.2.24.2.2--4.2.2
FreeBSD:14:quarterly4.2.24.2.2--4.2.2
FreeBSD:15:latest4.2.24.2.2n/a-n/a
FreeBSD:15:quarterly4.2.24.2.2n/a-n/a
FreeBSD:16:latest4.2.24.2.2n/a-n/a
 
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-coverage>0 : devel/py-coverage@py312
  2. py312-pexpect>0 : misc/py-pexpect@py312
  3. py312-pytest-cov>=0 : devel/py-pytest-cov@py312
  4. py312-pytest>0 : devel/py-pytest@py312
  5. py312-wheel>=0 : devel/py-wheel@py312
  6. py312-pytest>=7,1 : devel/py-pytest@py312
  7. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
This port is required by: #
for Run #
  1. devel/py-inquirer

Configuration Options: #
No options to configure
Options name: #
textproc_py-readchar
USES: #
localbase python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/magmax/python-readchar/tar.gz/v4.2.2?dummy=/
Collapse this list.

Number of commits found: 15 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.2.2
13 Oct 2026 07:35:09
commit hash: 5e7b9b3613fed369917eb4f894e6a5e7d90fbf4dcommit hash: 5e7b9b3613fed369917eb4f894e6a5e7d90fbf4dcommit hash: 5e7b9b3613fed369917eb4f894e6a5e7d90fbf4dcommit hash: 5e7b9b3613fed369917eb4f894e6a5e7d90fbf4d files touched by this commit
Christos Longros (longros) search for other commits by this committer
Update maintainer email address

Update to longros@FreeBSD.org

Approved by:	jrm (mentor)
Differential Revision:	https://reviews.freebsd.org/D60621
4.2.2
22 Aug 2026 21:40:19
commit hash: 1638effe58926a2a1ae1ee4fd549c1a33cdf4646commit hash: 1638effe58926a2a1ae1ee4fd549c1a33cdf4646commit hash: 1638effe58926a2a1ae1ee4fd549c1a33cdf4646commit hash: 1638effe58926a2a1ae1ee4fd549c1a33cdf4646 files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Christos Longros
textproc/py-readchar: Update 4.2.1 => 4.2.2, take maintainership

Changelog:
- Fix pytest 9 compatibility.
- Add Android as a supported platform.
https://github.com/magmax/python-readchar/releases/tag/v4.2.2

- Remove unnecessary USES=dos2unix.
- Fix warnings from portclippy.

PR:		297766
Sponsored by:	UNIS Labs
Co-authored-by:	Vladimir Druzenko <vvd@FreeBSD.org>
4.2.1
16 Oct 2025 23:15:11
commit hash: c79f7de82d50b4238754875682ad886f0c5fed8dcommit hash: c79f7de82d50b4238754875682ad886f0c5fed8dcommit hash: c79f7de82d50b4238754875682ad886f0c5fed8dcommit hash: c79f7de82d50b4238754875682ad886f0c5fed8d files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
textproc/py-readchar: update 3.1.0 → 4.2.1
3.1.0_1
16 Oct 2025 15:02:30
commit hash: e9adc04947313a160372a22ad4b4e34197c0d919commit hash: e9adc04947313a160372a22ad4b4e34197c0d919commit hash: e9adc04947313a160372a22ad4b4e34197c0d919commit hash: e9adc04947313a160372a22ad4b4e34197c0d919 files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
textproc/py-readchar: Return to pool
3.1.0_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
3.1.0
16 Oct 2023 11:28:36
commit hash: a2183d188c42d22da761d299998cf4822a2e9a3acommit hash: a2183d188c42d22da761d299998cf4822a2e9a3acommit hash: a2183d188c42d22da761d299998cf4822a2e9a3acommit hash: a2183d188c42d22da761d299998cf4822a2e9a3a files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
textproc/py-readchar: update to 3.1.0

Changelog:
- https://github.com/magmax/python-readchar/releases/tag/v3.0.6
- https://github.com/magmax/python-readchar/releases/tag/v3.1.0

PR:		274459
Approved by:	0mp (maintainer)
3.0.5
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3.0.5
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
3.0.5
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.0.5
20 Jan 2022 09:52:29
commit hash: 5542bf4511575a1cd946d6f4e87ffadb85c71356commit hash: 5542bf4511575a1cd946d6f4e87ffadb85c71356commit hash: 5542bf4511575a1cd946d6f4e87ffadb85c71356commit hash: 5542bf4511575a1cd946d6f4e87ffadb85c71356 files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
textproc/py-readchar: Update to 3.0.5

Changes:	https://github.com/magmax/python-readchar/releases/tag/v3.0.5
3.0.4
15 Apr 2021 14:24:33
commit hash: 6258f1a36f5b2d41fc3aab0d6220a8e9e3743a7ccommit hash: 6258f1a36f5b2d41fc3aab0d6220a8e9e3743a7ccommit hash: 6258f1a36f5b2d41fc3aab0d6220a8e9e3743a7ccommit hash: 6258f1a36f5b2d41fc3aab0d6220a8e9e3743a7c files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
textproc/py-readchar: Update to 3.0.4
2.0.0
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2.0.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.0.0
18 Nov 2020 17:50:25
Revision:555653Original commit files touched by this commit
0mp search for other commits by this committer
Add textproc/py-readchar

Library to easily read single chars and key strokes.  The idea is to have a
portable way to read single characters and key-strokes.

WWW: https://github.com/magmax/python-readchar

Number of commits found: 15