PDA

View Full Version : Panther and X11 issues




homeshire
Nov 5, 2003, 03:11 PM
I've noticed a couple things/problems that seem to have popped up in X11. When I enter the command printenv DISPLAY, I should get a response from the terminal. Instead, I get nothing but a new prompt. That shouldn't happen. The response should be something like 0,1 , or some such. Also, when I enter the command diskutil repairPermissions/ , I get what appears to be a canned response/ explanation of the command and what it is/does, but the command itself does not run. There may be other issues, but these are 2 that I've noticed.
I recently ran fink selfupdate, and then fink update-all. many hours later, upon it's completion, I seemed to have a # of problems, but they largely resolved themselves after some fooling around (which I shouldn't indulge in, I don't really know what I'm doing), except for these two. Can anyone help me or explain what's going on? thanks



encro
Nov 6, 2003, 08:28 AM
If your using the default shell (bash) then
add this line to your ~/.bash_profile:

export=DISPLAY :0.0



If you have switched back to tcsh then
add this line to your ~/.tcshrc:

setenv DISPLAY :0.0

PaisanoMan
Nov 7, 2003, 07:09 AM
Originally posted by homeshire
Also, when I enter the command diskutil repairPermissions/ , I get what appears to be a canned response/ explanation of the command and what it is/does, but the command itself does not run. ...

That's because you're typing it incorrectly. Diskutil giving you usage information -- i.e. information about the parameters it expects. Make sure you type the command exactly as shown, spaces and all:

diskutil repairPermissions /

Take note of that second space.

homeshire
Nov 7, 2003, 07:45 AM
paisano man --

I thought I knew that and was typing it correctly, as you point out, despite how I had it in my post. However, I must have been mistaken because I did indeed get it to work properly, and it can only be because I finally entered the command correctly. thanks

encro --

regrettably, I am not clever enough to figure out how to execute your advice. thanks

in the meantime, I'm off to X11 help, looking for more trouble.

switchingGeek
Nov 7, 2003, 09:58 AM
Apparently the new shell automaticall clears the screen after each command.

STUPID!!! Could it be any dumber?

The fix is an Macosxhints.com as usual.

http://www.macosxhints.com/article.php?story=20031031185759986

Hope this solves your problem!!

Enjoy!!

daveL
Nov 7, 2003, 11:46 AM
Originally posted by switchingGeek
Apparently the new shell automaticall clears the screen after each command.

STUPID!!! Could it be any dumber?

The fix is an Macosxhints.com as usual.

http://www.macosxhints.com/article.php?story=20031031185759986

Hope this solves your problem!!

Enjoy!!
This is an exaggeration. *Some* commands, like vi, less, man, return the screen to the state it was in before you ran the command (which is not the same as clearing it). And it's a function of the terminal emulation you are using, not the "new shell".