Terminal - Basic Terminal commands are handled by a server side listener. "greet {text}" and "date" are sample commands.
Welcome to PrimeFaces Terminal, how are you today?
prime $
    <p:focus for="terminal" />

    <p:terminal id="terminal" widgetVar="term"
                welcomeMessage="Welcome to PrimeFaces Terminal, how are you today?" />

    <p:commandButton type="button" value="Clear" icon="ui-icon-trash" onclick="PF('term').clear()" style="margin-top:10px"/>
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.3-SNAPSHOT on Mojarra-2.3.2.