Clear system information
Clear screen
/usr/bin/clear
Reset a service
Reset terminal
/usr/bin/reset
Set operational options
Bash builtin set command
<OPTION>
builtin $3
Control console behaviors
Reconfigure console keyboard layout
sudo dpkg-reconfigure -f dialog keyboard-configuration && sudo systemctl restart keyboard-setup
Control terminal behaviors
Set key behaviors
Enable/disable getting help using question mark (default enabled)
enable disable
${vyos_op_scripts_dir}/toggle_help_binding.sh $5
Set terminal pager to default (less)
VYATTA_PAGER=${_vyatta_default_pager}
Set terminal pager
<PROGRAM>
VYATTA_PAGER=$4
Set terminal to given number of rows (0 disables paging)
<NUMBER>
if [ "$4" -eq 0 ]; then VYATTA_PAGER=cat; else VYATTA_PAGER=${_vyatta_default_pager}; stty rows $4; fi
Set terminal to given number of columns
<NUMBER>
stty columns $4