From 48dcfd22f9c2db5cf6745eaec0ff28895858c638 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 21 Jul 2025 00:19:52 +0300 Subject: support <==> and <===> for printing octal and hexadecimal numbers * These are famously in DEC TECO-11, but also in Video TECO. * The implementation is tricky. They need to use lookahead states, but this would be inacceptable during interactive execution. Therefore only if executing from the end of the command line `==` and `===` are allowed to print multiple values. The number is therefore also not popped form the stack immediately but only peeked. It's popped only when it has been decided that the command has ended. * This may break existing macros that use multiple `=` in a row to print multiple values from the stack. You will now e.g. have to insert whitespace to separate such `=` commands. --- TODO | 1 + 1 file changed, 1 insertion(+) (limited to 'TODO') diff --git a/TODO b/TODO index 6f044b5..b2aab0f 100644 --- a/TODO +++ b/TODO @@ -344,6 +344,7 @@ Features: The DEC behavior could be achieved by always searching till the end of the buffer, but excluding all matches beyond the target range. * ^A, :Gq, T, ^T and stdio in general + * :=, :==, :=== to inhibit the linefeed. * ^W was an immediate action command to repaint the screen. This could be a regular command to allow refreshing in long loops. Video TECO had ET for the same purpose. -- cgit v1.2.3