Thread View: mod.computers.apollo
1 messages
1 total messages
Started by Joe Pato
Mon, 06 Jan 1986 23:30
A key definition for editing based on a tags file
Author: Joe Pato
Date: Mon, 06 Jan 1986 23:30
Date: Mon, 06 Jan 1986 23:30
22 lines
1603 bytes
1603 bytes
I've used this key definition for some time to get functionality
similar to "vi -t tag" through the DM.
# Apollo DM key definition for editing a file based on a tags file
# created with "/usr/ucb/ctags -x ... > tags"
# Currently this function is bound to ^a. It prompts you for the routine
# name to search for, and will fail if the routine name is not found or
# if no tags file exists. The window on the tags file is normally
# left open if an error occurs.
kd ^a cv tags; tt; /%@&'Routine Name: '/;dr;
/[~a-zA-Z0-9$_.]/;xc tag_search;/[~@ @@t]/;dr;/[@ @@t]/;
xc tag_line;/[~@ @@t]/;dr;/[~a-zA-Z0-9$_.@@/]/;xc tag_file; wc;
tdm; es 'cv @@'';xp tag_file;tr;es '@@';';
xp tag_line;tr;en;ke # edit a routine based on a tags file
- Joe Pato
Box 1910 - Dept. of Computer Science
Brown University
Providence, R.I. 02912 (USA)
ARPA: jnp%brown@csnet-relay UUCP: {decvax,ihnp4,allegra}!brunix!jnp
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads