Solution to Alternate Controls

Back to Puzzle

Answer: UNDOING

idea by Curtis Chou, implemented by Rahul Sridhar

We are presented with a text box with the title “untitled” and some filler text. The first thing we should do is experiment with the text box. It appears to work as a basic word processor; entering, selecting, and deleting text works as you might expect.

At some point, we may experiment with keyboard shortcuts in the text box as well. The title of the puzzle alludes to the ALT and CTRL keys. Here, we may notice some unusual behaviour. On a PC, the ALT key can be used to perform shortcut actions normally performed with the CTRL key. Similarly, on a Mac, the CTRL key can be used to perform shortcuts normally performed with the CMD key. Furthermore, not all of the shortcuts do what you might expect them to.

In fact, most of the shortcuts correspond to Microsoft Word shortcuts. The ones that don’t match form a cycle, as shown by the table below:

LetterFunction in MS WordPuzzle Function
ASelect all.Select all.
BApply bold formatting.Apply bold formatting.
CCopy.Increase hanging indent. (T)
DEdit font.Edit font. Note that instead of the options provided in MS Word, the puzzle simply gives you the option to type in the name of a font. Fonts not installed or recognized by your system will not work.
ECenter-align.Center-align.
FFind.Find.
GGo to.Copy. (C)
HReplace.Replace.
IApply italics formatting.Create a new file. (N) In the puzzle, the new file’s name resets to “untitled” and the filler text reappears.
JJustify-align.Justify-align.
KInsert hyperlink.Insert hyperlink.
LLeft-align.Undo last action. (Z)
MIncrease indent.Increase indent.
NCreate a new file.Go to. (G)
OOpen an existing file.Open an existing file. In order to access this functionality in the puzzle, you must save a file first.
PPrint.Print.
QRemove formatting.Remove formatting. In MS Word, this function is used to remove “styles”; it will change the typeface and font, but will leave bold, italics, underlines, and links intact. In the puzzle, we have chosen to remove all of the formatting instead to make the function more clear.
RRight-align.Left-align. (L)
SSave current file.Save current file.
TIncrease hanging indent.Right-align. (R)
UApply underline formatting.Apply underline formatting.
VPaste.Paste.
WClose current file.Removes the text box. You can refresh to recover it.
XCut.Cut.
YRedo last action.Redo last action.
ZUndo last action.Apply italics formatting. (I)

The cycle formed spells out the cluephrase CTRL-Z-ING, which matches the blanks given at the bottom of the puzzle page. The final answer, then, is the correct function for CTRL+Z: UNDOING.

Authors’ Notes

RS: In the original conception of this puzzle, all the commands would use the control key. During implementation, we discovered that modern browsers on PCs will prevent you from overriding Ctrl-N, T, and W, as these shortcuts are reserved by the browser itself. Similarly, it's impossible to override Command N, T, and W on a Mac. We then attempted to switch to using the Option / Alt key, but discovered that Option E, I, and U are reserved on Macs for the rendering of accents, circumflexes, and diaereses via dead keys. We ended up with this hybrid approach, where we try to detect your operating system and use Alt for PCs and Control for Macs.

I adapted the text editor from pell, an elegant and simple Javascript WYSIWYG text editor. It uses the very powerful execCommand feature, which although obsolete, still works well with most modern browsers.