Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 03:53:56 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Ralf Mardorf" <ralf.mardorf@rocketmail.com>
Cc:        FreeBSD quest <freebsd-questions@freebsd.org>
Subject:   Re: Editors are broken after update
Message-ID:  <20130121035356.ab12a4e7.freebsd@edvax.de>
In-Reply-To: <op.wq7onwv1uwjkcr@freebsd>
References:  <op.wq7byyojuwjkcr@freebsd> <20130120103845.76c1a963.freebsd@edvax.de> <op.wq7gdrdiuwjkcr@freebsd> <20130120120340.e29b1144.freebsd@edvax.de> <op.wq7onwv1uwjkcr@freebsd>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Jan 2013 14:20:10 +0100, Ralf Mardorf wrote:
> Since I only run "mcedit" without a file, the error message is grotesque  
> and btw.

Exactly - it is, and probably misleading as it implies that
mcedit is trying to access something that doesn't even exist,
even with a maximum of imagination.



> $ ls -l /usr/home
> total 2
> drwxr-xr-x  26 rocketmouse  rocketmouse  1536 Jan 20 13:07 rocketmouse
> $ ls -l /home
> lrwxr-xr-x  1 root  wheel  8 Dec 18 19:19 /home -> usr/home

That is a valid symlink on a FreeBSD installation (and has been
a default for a long time), so /home/rocketmouse will equal
/usr/home/rocketmouse, _not_ user/home/rocketmouse as shown
in the error message.



> Thank you for the hints. I take the issues with a good portion of humor.

I think this isn't funny anymore - an editor that stops working
without explaining the reason in an understandable way...



> This might explain why you're confused regarding to the /home path:
> 
> $ cat /etc/fstab
> # Device		Mountpoint	FStype	Options		Dump	Pass#
> /dev/ad4s1b		none		swap	sw		0	0
> /dev/ad4s1a		/		ufs	rw		1	1
> /dev/ad4s1e		/tmp		ufs	rw		2	2
> /dev/ad4s1f		/usr		ufs	rw		2	2
> /dev/ad4s1d		/var		ufs	rw		2	2
> /dev/acd0		/cdrom		cd9660	ro,noauto	0	0
> #proc                   /proc           procfs  rw              0       0

No, looks perfectly valid. On my other system, for example, I
have /home being /export/home with the proper symlink, and no
problems at all.



> $ mc
> 
> does start midnight commander, but if I push "4 Edit" I get the same error  
> message.

Okay, so the problem lies deeply within the editor.



> I did "dump -0Launf [...]" everything and will continue later. Hopefully  
> with some fun, when starting with audio, instead of mcedit.

In worst case, try portdowngrade (or use svn to obtain an older
copy of the mc port where the editor hasn't been disimproved yet).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130121035356.ab12a4e7.freebsd>