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 ...
    • 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 ...
    • 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 ...
    • How to Configure Nodegrid Serial Ports

      To configure the serial ports of your Nodegrid Serial Console, follow the guideline steps below.   WebUI Log in as admin to the Nodegrid Serial Console Web interface. Go to Managed Devices page. Select the serial ports you want to configure, or check ...
    • 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 ...