On Tue, 11 Aug 1998, James wrote:
> yeah, it's not too funny when that happens! (or more commonly, i discover
> i have about 3 vi sessions working together, all on the same file... is it
> possible to split the screen in half, showing 2 virtual terminals? or do i
> have to use X)
Try using vim. It's an all-around kick-ass version of vi that does both
things for you. For one if you open a file which is 'in use' in another
vim session, it gives you a warning (although it won't stop you, it's up
to you to exit, switch to all your vt's typing fg, etc :)). For a second
it can open any number of windows with the ctrl-W functionality (ctrl-W
and then 'n' for a new window, then Ctrl-W plus the vi arrow keys to move
between windows).
Adam