💾 Archived View for bbs.geminispace.org › u › Arkaeriit › 2921 captured on 2024-05-26 at 17:06:29. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-10)

➡️ Next capture (2024-07-09)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🐦 Arkaeriit

Re: "Editing Near-ASCII Binary Files"

In: s/vim

Thanks for this great tip!

🐦 Arkaeriit

2023-07-09 · 11 months ago

Original Post

🌒 s/vim

Editing Near-ASCII Binary Files — I am experimenting with a near-ASCII file format containing text messages and binary markers (high bit set). Vim is surprisingly useful: it will display files in a reasonable-for-debugging way by displaying hex values for high characters. It preserves these during editing, and will even allow you to enter non-ascii characters: In Insert mode, [preformatted] will insert 0xAB. o will similarly take 3 octal digits. Just numbers for decimal digits.

💬 stack [mod] · 1 comment · 1 like · 2023-07-07 · 11 months ago