IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

2024/howe - Nice accent eh-ward

mini vi

Author:

To build:

    make all

Bugs and (Mis)features:

The current status of this entry is:

STATUS: known bug - please help us fix

For more detailed information see 2024/howe in bugs.html.

Try:

    ./try.sh

Judges’ remarks:

This is not your grandmother’s 👵 emacs(1) 🤓, nor is it as limited as ed(1), eh (🇨🇦)?

The source (and of this program) has fun with an UTF-8 conforming accent, in a manor of speaking 😉.

TL;DR - to exit type Q or press CTRL+C.

As mentioned in the COMMANDS section of prog.html, try these commands:

    | Key cmd  | Action                                                     |
    |----------|------------------------------------------------------------|
    | h j k l  | Left, down, up, right cursor movement                      |
    | H J K L  | Page top, page down, page up, page bottom                  |
    | b w      | Word left, word right                                      |
    | |        | Goto column (count) of physical line                       |
    | /ERE     | Find first occurrence of ERE pattern after the cursor      |
    | n        | Find next occurrence of ERE                                |
    | G        | Goto line (count) number; 1G top of file, G bottom         |
    | \        | Toggle text selection                                      |
    | d motion | Delete text selection or region given by motion            |
    | y motion | Yank (copy) text selection or region given by motion       |
    | P        | Paste last deleted or yanked text region before the cursor |
    | i        | Insert text mode before cursor, ESC or CTRL+C ends insert  |
    | u        | Toggle undo of last edit                                   |
    | x        | Delete character after the cursor, i.e., dl                |
    | W        | Write buffer to file                                       |
    | Q        | Quit                                                       |
    | CTRL+C   | Quit                                                       |

NOTE: Any other key will redraw the screen.

Author’s remarks:

Building

Simply type make to build. There are two macros that can be customised:

What’s Interesting

Furthermore:

Updates

Inventory for 2024/howe

Primary files

Secondary files


Jump to: top