Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: gnewman@world.std.com (Gary Newman)
Subject: Re: No tag stack in vi
Date: Mon, 24 Oct 1994 13:19:23 GMT	[thread overview]
Message-ID: <Cy6ICC.1Kv@world.std.com> (raw)
In-Reply-To: 38fuin$qdv@mrnews.mro.dec.com

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


  reply	other threads:[~1994-10-24 13:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-18  1:42 No tag stack in vi Shmuel Einstein and Assoc
1994-10-21 13:16 ` Gary Newman
1994-10-24  9:25   ` Philip Shearer @ZUO-DC EBS-Team
1994-10-24 13:19     ` Gary Newman [this message]
1994-10-24 14:23     ` Peter da Silva
1994-10-24 15:35       ` Casper H.S. Dik
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox