Back around 2006, I did a crash project on IBM 4690 OS. At some point I got into the included editor and by the second time I hit control-K, it all started coming back to me.
That project also had to use 16 bit small memory model which brought me back to the ancient Turbo Pascal / C days.