shell buffer support