Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vi: /dev/pts/2: No such file or directory



On Sun, 9 Aug 2009, Thomas Klausner wrote:

> When I run vi on a file on 5.99.15/amd64, there's a short flashing
> text message on the screen before it opens the buffer.
>
> I've just used screen to capture it, it says:
> Error: /dev/pts/2: No such file or directory
>
> It's not fatal or anything, sometimes I don't even notice it, however,
> I wonder what the error here is...

do you have ptyfs in /etc/fstab or otherwise mounted?

% mount
/dev/wd0a on / type ffs (local)
/dev/wd0e on /var type ffs (log, local)
/dev/wd0f on /home type ffs (local)
kernfs on /kern type kernfs (local)
ptyfs on /dev/pts type ptyfs (local)
/var/cvs/NetBSD-current/src on /usr/src type umap (nosuid, nodev, local)
/var/cvs/NetBSD-current/xsrc on /usr/xsrc type umap (nosuid, nodev, local)
/var/cvs/pkgsrc-current on /usr/pkgsrc type umap (nosuid, nodev, local)
/var/cvs/pkgsrc-wip on /usr/pkgsrc/wip type null (nosuid, nodev, local)

why vi wants ptyfs I don't know, but /dev/pts/2 is stderr, AFAIK

iain



Home | Main Index | Thread Index | Old Index