Well I guess this is what I get when playing around as root on a console and not know what I am doing.
If I go to run the less command to look at a file (i.e. less profile) mandrake does not like it. It scrolls through every file in my /usr/bin directory extremely quickly. For example, here is what the sample output looks like even if I just type "less" in the console:
Quote:
/usr/bin/less: line 1583: yuvsplittoppm*: command not found
/usr/bin/less: line 1584: yuvtoppm*: command not found
/usr/bin/less: line 1585: zcmp*: command not found
/usr/bin/less: line 1586: zdiff*: command not found
/usr/bin/less: line 1587: zeisstopnm*: command not found
/usr/bin/less: line 1588: zforce*: command not found
/usr/bin/less: line 1589: zgrep*: command not found
/usr/bin/less: line 1590: zip*: command not found
/usr/bin/less: line 1591: zipcloak*: command not found
/usr/bin/less: line 1592: zipgrep*: command not found
/usr/bin/less: line 1593: zipinfo*: command not found
/usr/bin/less: line 1594: zipnote*: command not found
/usr/bin/less: line 1595: zipsplit*: command not found
/usr/bin/less: line 1596: zless*: command not found
/usr/bin/less: line 1597: zmore*: command not found
/usr/bin/less: line 1598: znew*: command not found
/usr/bin/less: line 1599: zonetab2pot.py*: command not found
|
Again this is just a sample of the output from the bottom. It scrolls through all 1599 files before it stops and dumps back to a prompt.
I have no idea how I broke this. I believe it was when I was wanting to run less on a file and have its output piped to grep so I could search for something. I believe the command I used was something like "less xyz | grep xyz". Is there a way I can look through the recent commands issued as root as see if I can see exactly what I typed in?
My other problem is that "man" seems to also be affected. If I do just "man" in the console, the system asks me what man page I want. Ok, that works. So then if I try "man less", or "man more", or "man anything", this is what I get:
Quote:
/usr/bin/less: line 1587: zeisstopnm*: command not found
/usr/bin/less: line 1588: zforce*: command not found
/usr/bin/less: line 1589: zgrep*: command not found
/usr/bin/less: line 1590: zip*: command not found
/usr/bin/less: line 1591: zipcloak*: command not found
/usr/bin/less: line 1592: zipgrep*: command not found
/usr/bin/less: line 1593: zipinfo*: command not found
/usr/bin/less: line 1594: zipnote*: command not found
/usr/bin/less: line 1595: zipsplit*: command not found
/usr/bin/less: line 1596: zless*: command not found
/usr/bin/less: line 1597: zmore*: command not found
/usr/bin/less: line 1598: znew*: command not found
/usr/bin/less: line 1599: zonetab2pot.py*: command not found
Error executing formatting or display command.
System command (cd /usr/share/man && (echo ".pl 1100i"; /usr/bin/bzip2 -c -d '/usr/share/man/man1/more.1.bz2'; echo ".\\\""; echo ".pl \n(nlu+10") | /usr/bin/gtbl | /usr/bin/nroff -Tlatin1 -mandoc -c | /usr/bin/less -isrR) exited with status 127.
|
This started happening when the "less" command broke.
Any idea on how to fix this??