I'd recommend providing at least some context, preferably as an SSCCE. Maybe its just me, but I have no clue what you mean by Enter, buffering, ignore, or last entry.