<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Guillermo,
<div><br>
</div>
<div>Unfortunarely, your request would not be straightforward, since many features of the TeXShop Editor</div>
<div>are automatically provided by Apple's TextEdit Cocoa class, and would have to be overridden for</div>
<div>your desired feature.</div>
<div><br>
</div>
<div>A Google search revealed a Unix command = you already have which would do the</div>
<div>ttask in an easier way. Issue the command</div>
<div>
<pre style="overflow: auto; font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; font-size: 14px; background-color: rgb(254, 254, 252); color: rgb(88, 88, 88); padding: 1.8em 6px 1.8em 16px; margin-bottom: 1.5em; border: 1px solid rgb(226, 226, 218); border-radius: 5px; line-height: 1.5em;">tr -cd '\11\12\15\40-\176' < file-with-binary-chars > clean-file</pre>
</div>
<div>This command accepts a file as input and writes a second output file. It removes</div>
<div>all characters except ASCII characters with the given octal values. So it allows</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>octal 11<span class="Apple-tab-span" style="white-space:pre">
</span>trab</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>octal 12<span class="Apple-tab-span" style="white-space:pre">
</span>linefeed</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>octal 15<span class="Apple-tab-span" style="white-space:pre">
</span>carriage rerurn</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>octal 40 rhrough octal 176</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>all the good keyboard characters</div>
<div><br>
</div>
<div>Richard Koch</div>
<div><br>
</div>
</body>
</html>