This topic got beaten to death a while ago (at least in net.unix). The answer is no, it is not in the public domain. Parts of vi (and ex) are based on ed, so at least part of the code belongs to AT&T. The rest of vi belongs to the regents of UCB. Marty Sasaki sasaki at harvard.{arpa,uucp}