Howto delete / amend toolchest entries ?

New to SGIs? Need help getting things going? This is the forum for you!
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Howto delete / amend toolchest entries ?

Unread postby whiter » Sun Nov 06, 2005 11:18 am

I want to get rid of some toolchest entries, alter some others, and add some in between existing ones (not to the bottom!)

How can this be achieved using the .auxchestrc file ?
Shall I describe it to you? Or do you want me to get you a box?

unixmuseum
Posts: 2783
Joined: Mon Apr 19, 2004 4:25 pm
Location: Los Angeles, CA

Re: Howto delete / amend toolchest entries ?

Unread postby unixmuseum » Sun Nov 06, 2005 12:51 pm

whiter wrote:I want to get rid of some toolchest entries, alter some others, and add some in between existing ones (not to the bottom!)

How can this be achieved using the .auxchestrc file ?

You need to create a .chestrc in your home directory for this, .auxchestrc will only add to the default toolchest...

User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Unread postby whiter » Sun Nov 06, 2005 1:38 pm

not true.

I just found out you can remove items by adding a line like

Code: Select all

remove Itemname
to the .auxchestrc file. So that leaves the questions about how to add items on a specific location, and how to 'overwrite' an item. (could be done by deleting it first ofcourse, and then re-adding at the specific location. But how to do that?)
Shall I describe it to you? Or do you want me to get you a box?

User avatar
foetz
Moderator
Moderator
Posts: 6546
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Unread postby foetz » Sun Nov 06, 2005 8:39 pm

whiter wrote:not true.

I just found out you can remove items by adding a line like

Code: Select all

remove Itemname
to the .auxchestrc file. So that leaves the questions about how to add items on a specific location, and how to 'overwrite' an item. (could be done by deleting it first ofcourse, and then re-adding at the specific location. But how to do that?)


to modify the toolchest systemwide edit /usr/lib/X11/system.chestrc or /usr/lib/X11/nodesktop.chestrc.

unixmuseum
Posts: 2783
Joined: Mon Apr 19, 2004 4:25 pm
Location: Los Angeles, CA

Unread postby unixmuseum » Sun Nov 06, 2005 8:40 pm

whiter wrote:So that leaves the questions about how to add items on a specific location, and how to 'overwrite' an item. (could be done by deleting it first ofcourse, and then re-adding at the specific location. But how to do that?)
Tried .chestrc yet? ;-)

User avatar
VenomousPinecone
Posts: 2141
Joined: Mon Jun 20, 2005 2:10 pm
Location: Groom Lake, NV

Unread postby VenomousPinecone » Mon Nov 07, 2005 9:48 am

foetz wrote:to modify the toolchest systemwide edit /usr/lib/X11/system.chestrc or /usr/lib/X11/nodesktop.chestrc.


Kick ass, thanks. :D
NOTE You cannot use Virtual Disk Manager to create or to shrink physical hard drives.

User avatar
foetz
Moderator
Moderator
Posts: 6546
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Unread postby foetz » Mon Nov 07, 2005 11:25 am

VenomousPinecone wrote:
foetz wrote:to modify the toolchest systemwide edit /usr/lib/X11/system.chestrc or /usr/lib/X11/nodesktop.chestrc.


Kick ass, thanks. :D


u r welcome :D

User avatar
edefault
Posts: 625
Joined: Fri Nov 28, 2003 5:02 am
Location: Germany
Contact:

Unread postby edefault » Tue Nov 08, 2005 4:19 am

foetz wrote:to modify the toolchest systemwide edit /usr/lib/X11/system.chestrc or /usr/lib/X11/nodesktop.chestrc.


that´s what I always do ;-) and also /usr/lib/X11/remote.chestrc of course
(in case I´m too lazy to walk over to that machine I want to work on).

Btw, just another question:
How do I invoke a program from the local toolchest on a remote machine?
By clicking an item in the _local_ toolchest that makes e. g. Firefox run remotely but display locally _without_ logging in on that remote machine first?

Maybe something like
f.checkexec.sh.le REMOTE-SERVER:/some-directory/some-executable
is possible?

This could possibly work around the library mismatch problems I encountered with Firefox (see another thread).

TIA

Walther
Valueing life is not weakness; disregarding it is not strength. -Mirage-
Image

User avatar
edefault
Posts: 625
Joined: Fri Nov 28, 2003 5:02 am
Location: Germany
Contact:

Unread postby edefault » Tue Nov 08, 2005 4:27 am

edefault wrote:This could possibly work around the library mismatch problems I encountered with Firefox


OK, to be more specific: Firefox/Thunderbird runs fine when invoked on a tcsh prompt after an rlogin user-name@REMOTE-SERVER, but locally goes
    3% 2617:/usr/freeware/mozilla-thunderbird/thunderbird-bin: rld: Fatal Error: Cannot Successfully map soname 'libgtk-1.2.so.1' under any of the filenames /usr/nekoware/lib/libgtk-1.2.so.1:/usr/freeware/mozilla-thunderbird/libgtk-1.2.so.1:/usr/freeware/mozilla-thunderbird/plugins/libgtk-1.2.so.1:/usr/local/thunderbird/lib/mre/mre-1.0.6/libgtk-1.2.so.1:/usr/lib32/libgtk-1.2.so.1:/usr/lib32/internal/libgtk-1.2.so.1:/lib32/libgtk-1.2.so.1:/opt/lib32/libgtk-1.2.so.1:/usr/nekoware/lib/libgtk-1.2.so.1.1:/usr/freeware/mozilla-thunderbird/libgtk-1.2.so.1.1:/usr/freeware/mozilla-thunderbird/plugins/libgtk-1.2.so.1.1:/usr/local/thunderbird/lib/mre/mre-1.0.6/libgtk-1.2.so.1.1:/usr/lib32/libgtk-1.2.so.1.1:/usr/lib32/internal/libgtk-1.2.so.1.1:/lib32/libgtk-1.2.so.1.1:/opt/lib32/libgtk-1.2.so.1.1:

no matter how often I install fw_gtklib_1.2(blabla).

TIA

Walther
Valueing life is not weakness; disregarding it is not strength. -Mirage-
Image

User avatar
foetz
Moderator
Moderator
Posts: 6546
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Unread postby foetz » Tue Nov 08, 2005 4:37 am

to be more flexible you might wanna write a script and call that from the toolchest.

User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Unread postby whiter » Tue Nov 08, 2005 11:45 am

ofcourse I do NOT want to modigy system.chestrc or .chestrc, since I do not want to change any systemwide settings. I'm talking about user-level modifications. Specificaly user-level modifications that do not alter/overwrite/hide anything provided by the systemwide default.

I specificaly asked about .auxchestrc. So the question still remains the same.

Anybody who knows the answer ?
Shall I describe it to you? Or do you want me to get you a box?

unixmuseum
Posts: 2783
Joined: Mon Apr 19, 2004 4:25 pm
Location: Los Angeles, CA

Unread postby unixmuseum » Tue Nov 08, 2005 12:50 pm

whiter wrote:ofcourse I do NOT want to modigy system.chestrc or .chestrc, since I do not want to change any systemwide settings. I'm talking about user-level modifications. Specificaly user-level modifications that do not alter/overwrite/hide anything provided by the systemwide default.

I specificaly asked about .auxchestrc. So the question still remains the same.

Anybody who knows the answer ?
And the answer still remains the same: create a .chestrc in your home directory, altering a copy of the system-wide chestrc... Same principle as creating a .backgrounds in your home directory that's going to overwrite the default desktop backgrounds...

http://techpubs.sgi.com/library/tpl/cgi ... 079-PARENT

User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Unread postby whiter » Tue Nov 08, 2005 1:05 pm

that's not an option.
I'm searching for a way to do it from .auxchestrc.
Shall I describe it to you? Or do you want me to get you a box?

unixmuseum
Posts: 2783
Joined: Mon Apr 19, 2004 4:25 pm
Location: Los Angeles, CA

Unread postby unixmuseum » Tue Nov 08, 2005 7:40 pm

I guess I fail to understand why you'd like toolchest to source the system-wide chestrc and then source your auxchestrc to remove some entries... Wouldn't it make more sense to use .chestrc to do it all in the first place? Just my two cents...

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8145
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Unread postby nekonoko » Tue Nov 08, 2005 9:36 pm

whiter wrote:that's not an option.
I'm searching for a way to do it from .auxchestrc.


That doesn't make any sense. Using .chestrc in your home directory doesn't change system wide settings (just the user), so why should it not be an option? It's no different than using .auxchestrc in your home directory.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Return to “Getting Started, Documentation, Tips & Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest