Text this: Gain-controlled taming of recurrent modulation instability