Re: Weirdness with vi
Moin Tomasz Papszun,
> Of course, make sure that /tmp has the sticky bit.
missing write access in /tmp can also cause other funny things. I remember
a version of bash that dumped core, when pressing the <TAB> key, if there
was no write access to /tmp possible :-(
But back to vi - unfortunately Debian has a default vi that is quite useless
for system adminstration as its based on /usr/lib/terminfo, and /usr may not
be mounted in this case. The next uglyness is that a full elvis, which is
the best vi that qualifies for system adminstration, is only available in
conjunction with X. So the only vi left for system administration is the
tini-elvis, which behaves unusual in many cases, which is bad if system
administration is done blind ahead over a slow line.
At last a warning !not! to use vim. This vi has the ugly bug^h^h^hfeature
to know that MS-DOS files end with \r\n. So vim will suppress the leading^M
normaly shown by real vi versions. I've seen it many times that such a^M
caused a script to break, and a programmer unable to find the bug for hours.
Bye Michael
--
mailto:kraehe@copyleft.de UNA:+.? 'CED+2+:::Linux:1.2:13'UNZ+1'
http://www.xml-edifact.org/ CETERUM CENSEO MSDOS ESSE DELENDAM
Reply to: