Record begin/end entries in segment.
Add seg_append().