local terminal initial implementation