Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! sjremya's Avatar
    Join Date
    May 2010
    Location
    India
    Posts
    39

    Problem with ctags in putty (using vim editor)


    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

  2. #2
    Just Joined! sjremya's Avatar
    Join Date
    May 2010
    Location
    India
    Posts
    39
    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

  3. #3
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    All I can advise is look into your putty menus and make sure it is
    not intercepting keystrokes you want to send to the remote
    application. In the extreme, try a different communication
    program.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! sjremya's Avatar
    Join Date
    May 2010
    Location
    India
    Posts
    39
    @rcgreen ...

    thanks for the reply .......

    What are the other communication program, which can be used to communicate from WINDOWS to a remote LINUX machine??

    except minicom / hyper terminal...

    regards
    SJR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •