Many thanks and it works fine. Cheers, Xiaobo On Thu, Jan 8, 2009 at 10:04 AM, Ray Van Dolson <rayvd at bludgeon.org> wrote: > 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 at centos.org > http://lists.centos.org/mailman/listinfo/centos > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090108/12439aee/attachment-0005.html>