FG
💻 Software

How to type non-printable ASCII characters in Mac OS X Terminal?

Fresh7 days ago
Mar 15, 202660427 views
Confidence Score0%
0%

Problem

To communicate with a serial-type device over a telnet socket, I need to type the null character (ASCII 0) and all other non-printable ASCII characters. On Windows, you hold ALT and type the ASCII code. How do I do this on Mac OS X?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to type non-printable ASCII characters in Mac OS X Terminal?

Low Risk

CtrlSpace sends ASCII NUL. For the general case, System Preferences > Keyboard > Input Sources, scroll down the list and select Unicode Hex Input. You can then use CmdShiftSpace (and, if you disable Spotlight's use of it, CmdSpace) to switch between…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment