Change the column size in console port session for cli and shell in Nodegrid

Change the column size in console port session for cli and shell in Nodegrid

The current default settings for columns is 80, so CLI commands with long parameters and values, or shell commands outputs get wrapped around, and sometimes, it makes hard to see them properly.

A workaround is to set the columns to be larger than the default.

Follow these steps to change the column size.

1. Launch the terminal emulator ( e.g. putty )
2. Start serial session with console port using admin credentials
3. Go to shell by entering command shell sudo su -
4. type command,
   stty columns 160 ( it can be any  value larger than 80 )
5. Now, shell output size will be 160 
6. Exit from shell with command exit and check the column size in cli ( admin )
7. Save the current profile. This profile can be used for future sessions (so that there is no need to set columns again)

Note: This fix will work in most of the terminal emulators. i.e Teraterm

    • Related Articles

    • How to Telnet and SSH to the Nodegrid Serial Ports

      Note: by default, Telnet access is turned off with your Nodegrid Serial Console. Authorized users can use Telnet or SSH to connect directly to the console of a managed device if all of the following are true: Telnet / SSH protocol is enabled under ...
    • Network Configuration via CLI

      Example of configuring the ETH0 interface via CLI (please, replace the network values with your own information). Log in as admin to the Nodegrid console port or HDMI Type the following commands (in bold): [admin@nodegrid /]# cd ...
    • Nodegrid Serial Console: Pinouts, Cables and Connectors

      The tables below show the serial port pinout information of the NSC TxxR (Cisco Pinout) and NSC Txx (Legacy Pinout).  NSC TxxR - Cisco-like Pinout Pin Signal Name Input/Output 1 CTS IN 2 DCD IN 3 RxD IN 4 GND N/A 5 GND N/A 6 TxD OUT 7 DTR OUT 8 RTS ...
    • Event Notifications are displayed on the CLI session

      Problem: When a user connects to the CLI session, event notifications are displayed as part of the CLI session like: 2021 Jan 01 00:00:00 nodegrid Event Notification from nodegrid. Reported on 2020-01-01T00:00:00Z. Event ID 200: A user logged into ...
    • Power Control within Serial Session

      Nodegrid Serial Console features the Power Control integration which gives authorized users the ability to power on, power off and reset/reboot the serial devices, within the serial session, by using an escape character (default escape character is ...