Re: How to select a block in gnome-terminal or in vim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jan 08, 2009 at 09:57:51AM +0800, Xiaobo Zhu wrote:
> Hi,
> When I connect to a Cisco router and issue the show ip interface command, the
> output is similar as follows:
> 
> Interface                  IP-Address      OK? Method Status               
> Protocol
> Ethernet0/0               192.168.12.1      YES NVRAM  up                   
> up     
> Serial0/0                  unassigned      YES NVRAM  administratively down
> down   
> Ethernet0/1               unassigned      YES NVRAM  administratively down
> down   
> Loopback0               1.1.1.1            YES NVRAM  up                   
> up     
> 
> Will anyone please tell me how to select text in block instead of line,  so
> that I can get the IP address on all interface, in gnome-terminal as well as in
> vim.
> Many thanks!
> 
> Xiaobo

You should be able to do this in visual mode in VIM.  Paste your output
above into vim and then hit CTRL-C CTRL-V and select away.

Ray
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux