From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b8f4ce1397d82e8e X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-23 20:01:15 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!Germany.EU.net!EU.net!uunet!cs.utexas.edu!swrinde!news.uh.edu!uuneo.neosoft.com!nmtigw!peter From: peter@nmti.com (Peter da Silva) Subject: Re: Tilde expansion in vi and ex Message-ID: Sender: peter@nmti.com (peter da silva) Organization: Network/development platform support, NMTI References: <1994Jul22.134729.13017@ultb.isc.rit.edu> Date: Sun, 24 Jul 1994 01:22:58 GMT In article <1994Jul22.134729.13017@ultb.isc.rit.edu>, Greg Pratt wrote: > Under Ultrix (and SunOS, for that matter), I could specify ":r ~/filename" > and expect "filename" in my home directory to be read into the current > buffer. Under OSF/1 2.0, however, it produces this error: > Too many file names > The same problem, not surprisingly, shows up under ex (since this was an ex- > style command). But does anyone know _why_ it is happening? You have some command in your .cshrc that generates output when invoked in this way. Look for an unguarded "set prompt" or an "stty". (as an aside, that csh doesn't call .login on an "rlogin" is a serious mistake, since it encourages people to put spam like "stty" into their .cshrc files. It should call a ".rlogin" or similar file in that case). -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?"