Old High German gram (adjective). Akin to Frankish gram, Old Norse gramr (“‘wroth’”), French and English chagrin.
Gram m.