Many thanks and it works fine.<br>Cheers, Xiaobo<br><br><div class="gmail_quote">On Thu, Jan 8, 2009 at 10:04 AM, Ray Van Dolson <span dir="ltr"><<a href="mailto:rayvd@bludgeon.org">rayvd@bludgeon.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Thu, Jan 08, 2009 at 09:57:51AM +0800, Xiaobo Zhu wrote:<br>

> Hi,<br>
> When I connect to a Cisco router and issue the show ip interface command, the<br>
> output is similar as follows:<br>
><br>
> Interface                  IP-Address      OK? Method Status<br>
> Protocol<br>
> Ethernet0/0               192.168.12.1      YES NVRAM  up<br>
> up<br>
> Serial0/0                  unassigned      YES NVRAM  administratively down<br>
> down<br>
> Ethernet0/1               unassigned      YES NVRAM  administratively down<br>
> down<br>
> Loopback0               1.1.1.1            YES NVRAM  up<br>
> up<br>
><br>
> Will anyone please tell me how to select text in block instead of line,  so<br>
> that I can get the IP address on all interface, in gnome-terminal as well as in<br>
> vim.<br>
> Many thanks!<br>
><br>
> Xiaobo<br>
<br>
</div></div>You should be able to do this in visual mode in VIM.  Paste your output<br>
above into vim and then hit CTRL-C CTRL-V and select away.<br>
<br>
Ray<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br>