From e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jan 2021 14:31:48 +0100 Subject: xml: op-mode: add preprocessor support as known from configuration mode --- op-mode-definitions/terminal.xml | 122 --------------------------------------- 1 file changed, 122 deletions(-) delete mode 100644 op-mode-definitions/terminal.xml (limited to 'op-mode-definitions/terminal.xml') diff --git a/op-mode-definitions/terminal.xml b/op-mode-definitions/terminal.xml deleted file mode 100644 index 9c4e629cb..000000000 --- a/op-mode-definitions/terminal.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - - 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 - - - - - - - - -- cgit v1.2.3