LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-19-2010, 05:31 AM   #1
sjremya
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: open suse
Posts: 26

Rep: Reputation: 1
Problem with ctags in putty


Hi all

When I use linux on cent os / fedora , i was able to use ctags -R to get the list of occurrence of tags. I am able to select the tags by entering the tag number also

But when I use putty and use ctags -R in that, it displays only one occurrence even though i used -R option .

How to get the list of tags in putty by using ctags ?? I am using vim editor

Please help me out


Thanks in advance

SJR

Last edited by sjremya; 08-19-2010 at 05:50 AM. Reason: to make it more clear
 
Old 08-19-2010, 06:34 AM   #2
sjremya
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: open suse
Posts: 26

Original Poster
Rep: Reputation: 1
Hi all

got a solution for this, as follows. Better solutions are welcome always

-> Give command ctags -R in the directory which has 'n' number of files,. It will create a tag file with all recurrent occurrence of the sub-routines in the directory.

->Go to any file, place the cursor over any sub-routine, which we r trying to tag, and type ctrl+ ] . It leads you to the occurrence of the subroutine.

->After giving this, if u have to find multiple occurrence of the same subroutine, type esc + : tn or esc + : tnext . It will go to the next occurrence.

This I have tried in putty. But when we use vim editor with other distributors like Cent Os / Fedora , it displays the list of tags when we give ctrl + ] itself. We have a chance to select one among this by giving serial number.


You can come back to the start point by giving ctrl +T .


Regards
SJR
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem of using vim + cscope + ctags + taglist neversetsun Linux - Software 3 06-06-2011 12:38 AM
Putty logs me out / Putty throws me out after I log in ytd Linux - General 15 08-09-2009 03:03 AM
ctags not working dale_chip Linux - Software 0 11-27-2008 08:06 AM
How can I use 'ctags' ? pune_arun Linux - Newbie 0 05-08-2007 03:17 AM
ctags doubt dileepkk Linux - Newbie 0 12-30-2004 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration