Question QUESTION: Hello Robert,
i am a unix newbie
my system is
SunOS 5.6 Generic_105181-39 sun4u sparc
(school machine and i have account)
it has already screen installed.
(http://www.gnu.org/software/screen/)
my question is
can i install another screen under MY ACCOUNT?
because that one installed on the machine seems to have problems now.
ANSWER: Hi Gump,
If you mean can you install screen under a non-root user's account, then the answer is no. The system administrator must reconfigure/reinstall screen if it is not working properly. While some software you can most certainly install as a non-root user, screen is not one of them. I took a look at building screen from source and there is no configurable option to install screen as a non-root user.
Try to have the sysadmin reinstall the software or somehow manage to get yourself root access to the box.
Sorry!
-Robert
---------- FOLLOW-UP ----------
QUESTION: thanks for ur excellent opinion.
can i modify the source to obtain my goal?
simplely interesed in it.
ANSWER: Hi Gump,
I suppose you could modify the source to obtain your goal - that's what is great about open source. Unfortunately, tweaking C source code is mostly out of my expertise and I think what you are proposing is fairly advanced programming. Sorry I can't assist on that.
Good luck and my hat's off to you if you can do it!
-Robert
---------- FOLLOW-UP ----------
QUESTION: thanks Robert,
i have 2 further questions.
1.when i ran screen
it output
"You are not the owner of /tmp/uscreens/S-xxxx."
but the user was me.
i dont remember when i started that screen.
now how can i fix it?
or how do i tell sysadmin to fix it?
2.if i try to emulate Sunos 5.6 on my pc ,i found
Sunos 5.6 was Solaris 2.6(it that right?),what should i download?
i found this site http://www.sunfreeware.com/indexintel26.html
but i dont know what to download.
Answer My answers are as follows:
1) Look at the permissions on /tmp/uscreens/S-xxx and see if your username is not the owner with write permissions, then you need the person who administrates the system to delete the file or you need to get superuser (root) access to the box and delete the file.
2) To be honest, I'm not a SunOS guy. I do know you can download the latest SunOS from http://www.sun.com for the x86 architecture if that's what your PC has. It's on SunOS 10 now, I believe. Try the latest version. If I were you, I wouldn't try to run it in emulation. I'd start with an actual system running it. So, install the latest version of SunOS and then start working with screen on your own terms if that means rebuilding the source code to be able to install it as a non-root user.