From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d193121409914eeb X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-24 08:05:08 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!uunet!world!gnewman From: gnewman@world.std.com (Gary Newman) Subject: Re: No tag stack in vi Message-ID: Organization: XMX Corporation, Bedford, MA X-Newsreader: TIN [version 1.2 PL2] References: <38fuin$qdv@mrnews.mro.dec.com> Date: Mon, 24 Oct 1994 13:19:23 GMT Philip Shearer @ZUO-DC EBS-Team (pbs@zuunix.zuo.dec.com) wrote: : gnewman@world.std.com (Gary Newman) writes: : : Shmuel Einstein and Assoc (scotty@netcom.com) wrote: : : : Hey guys, how come in OSF/1 vi, there's no tag stack? You can tag to : : : : Ahhh. Thanks for confirming this. I thought that the vi that comes : : with SUNOS has tag stacks too (although undocumented, I believe). : : : : I sure miss the tag stacks in OSF/1. : I am not sure what you mean by a "tag stack" but I asume that you mean : the abilty to use ^T and ^] with a tags file produced with ctags(1) [snip] In SUNOS vi, at least, when you jump to a tag (say foo), and then from there jump to a tag (say bar). The tags are on a stack, so popping off the top tag (I think it was the :po command that did this) brings you back to the tag foo. like so: in file x.c type :ta foo vi switches to file y.c at line where foo is declared. in file y.c type :ta bar vi switches to file z.c at line where bar is delcared. in file z.c type :po and vi switches back to file y.c where foo is declared in file y.c type :po and vi switches back to file x.y where you started it all -- Gary Newman gnewman@xmx.com XMX Corp. voice: (508) 670-8444 46 Manning Road Fax: (508) 670-8448 Billerica, MA 01821