Judge orders woman beaten by her children's father to send him letters in prison.