The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - General (http://hintsforums.macworld.com/forumdisplay.php?f=16)
-   -   fink selfupdate (http://hintsforums.macworld.com/showthread.php?t=7322)

osxpez 11-25-2002 05:03 PM

And the winner is ...
 
multi-gnome-terminal! It's installed! And it seems nice as well; tabs, easy to configure (via menus and prefs windows), easy to make unbloaty when it comes to screen real estate and fast to start. It's not as speedy as Eterm, but then not as slow as xterm. On a scale from 1 to 10 where xterm is 1 and Eterm is 10 m-g-r places itself somewhere around 7.

sao: HUGE thanks for helping me out!

Titanium Man 11-25-2002 09:34 PM

More good news for you OSXPEZ:

% fink --version
Package manager version: 0.11.0
Distribution version: 0.5.0.cvs

sao 11-25-2002 10:22 PM

Timan,

I think that Fink-0.5.0 bindist is not yet officially released, just the source distribution.


Cheers...

Titanium Man 11-25-2002 10:48 PM

Eh? Not officially released yet? Well, since my version of fink is 5.0, hopefully it will be within the next few days.

sao 11-26-2002 12:37 AM

osxpez,

Great!... so m-g-t won after all. Now, I will be waiting for some of your usage tips and tricks :)

Sorry I had to go last night (it was 4 AM in Singapore).

About "compiling qt3 failure", the good news is that probably all of kde will be in the 0.5.0 binary distro very soon.


Timan,

Yes, very soon (bindist). As I can understand from a post by David R. Morrison at the fink-dev list on 25-11:
Quote:

" I have put a preliminary version of the 0.5.0 source distribution up on
sourceforge..........

.........I have built all of the .debs for 0.5.0 and I'll get them moved to the
bindist location fairly soon"....

Cheers...

osxpez 11-26-2002 01:38 AM

Good news on that bindist! Holler at me when you see it arrive.

Usage tips: Well, I thought I should be able to tell you about splitting windows however you fancy, moving tabs bewteen windows and such, but it seems we have a pretty ancient m-g-t here... 1.3.8 vs latest 1.6.1. It's still a pretty useful though, so have patience while they catch up.

What I did first was to find the Prefs window and switch of menu, tool, and button bars. You can still reach most action through right-clicks in the terminal window. Then it's just like your other terminal, though you can right-click and choose "New Shell" and a new tab will appear with your new shell. If you know your root pwd (I don't know mine for sure) you can choose "New root" and it will start a new shell which starts with asking you for root password and then you will have a root prompt. I'm looking for a way to use sudo here instead. Please let me know if you find out how this is done.

The m-g-t has some goody-features for like showing a background image (like Eterm) and such.

sao 11-26-2002 05:08 AM

osxpez,

Thanks for the tips. I will soon start using m-g-t, I started checking the man pages.

Well, I was busy the last couple of hours, as I was replacing "xfree86-base" to "xfree86-base-threaded", and "xfree86-rootless" to "xfree86-rootless-threaded".

At the moment, only a very few packages do *not* work with the standard xfree86-base, and require xfree86 with the "threaded" option:

I know of the packages "libxine", "xine-ui", "kxine" and I'm sure more will come. But, the reasons why I changed are because I found out that "kdemultimedia" depends on "libxine" which depends on the "-threaded" stuff and that I had recently installed the package "xine-ui".

For those who want to know how to change to "-threaded":

1- If you installed xfree86-base and xfree86-rootless with Fink, make sure you remove both packages with:

'sudo dpkg -r --force-depends xfree86-base'
'sudo dpkg -r --force-depends xfree86-rootless'

and if you also installed the -shlibs packages, remove them as well:

'sudo dpkg -r --force-depends xfree86-base-shlibs'
'sudo dpkg -r --force-depends xfree86-rootless-shlibs'

After that, you can run:

'fink install xfree86-base-threaded'
'fink install xfree86-rootless-threaded'

(you can simplify by giving fink just one command, but like this is a bit more clear for beginners)


2- If you are using Fink, and installed XFree86 from the "Xonx" project and you would like to change and install with Fink the "-threaded" packages, run:

'sudo dpkg --force-all --remove system-xfree86'
'sudo rm -rf /etc/X11 /usr/X11R6 /Applications/XDarwin.app'

And then:

'fink install xfree86-base-threaded'
'fink install xfree86-rootless-threaded'

'fink reinstall xaw3d'

( Or, you could do part of it with one command (all in one line) like for example:

sudo dpkg --force-all --remove system-xfree86; sudo rm -rf /etc/X11 /usr/X11R6 /Applications/XDarwin.app; fink install xfree86-rootless-threaded )


The only adverse effect of using the "-threaded" packages is that 'matlab' for Jaguar will not work (it looks like "matlab" freezes as soon as 3D plotting commands are used that involve opengl stuff), but if you don't care about using 'matlab', I know that the xfree86-threaded packages are perfectly stable.

Sorry about changing the subject.


Cheers...

osxpez 11-26-2002 06:31 AM

I think it's bang on target with this thread sao. Though in my case I have not installed Xfree with fink so I might get away without all that stuff. (I use OroborOSX and XDarwin).

sao 11-26-2002 10:22 AM

TiMan,

Code:

Sao  @ ~  $ fink -V
Package manager version: 0.11.0
Distribution version: 0.5.0.cvs

I confirmed with Martin Costabel, this is the source distribution, and as I understood from before, the binary distribution is not far away now.

He told me he thinks that the binary distribution (bindist) is ready and just awaiting some final tests.


Cheers...

osxpez 11-26-2002 05:51 PM

MGT tips
 
More tips & tricks for multi-gnome-terminal: I haven't figured out how to edit the "New this" and "New that" menu items. But it seems the "Command" menu item does about the same. First of all you couldn't really hide the Menu toolbar since the right-click pop-up menu does not contain all items you need. When you want to be able to open new tabs with custom commands do like sp:

From the Settings menu choose "Edit Commands". Then give the command a name and enter the comman line and then click OK. That's all there is to it.

I have a Command named "sudo" there now with the command line "sudo su -". When I choose it (from the File menu) I get a new tab with a prompt asking me for my sudo password (if the token has expired that is) and then a prompt where I am logged in as root. I also have a Command with the commandline something like this:

sudo ssh -X -l peter -L 80:host1:80 -L 443:host1:443 -L 2080:host2:80 hostname.domain.se

Which gives me a new tab asking for first my sudo password and then my password at hostname.domain.se and then a prompt on that host. At the same time I have opened ssh tunnels to host1 and host2 on the intranet at work allowing me to browse the intranet web servers from home. I used to use "screen" for this, but this (Commands in multi-gnome-terminal) is easier to manage. (I also have some Netinfo entries giving localhost the correct aliasing intranet names so that it's rather transparent.)

sao 11-26-2002 11:19 PM

osxpez,

Cool tips...and thanks for sharing, now finally I have time to try them all.

Well, after changing to xfree86-base-threaded, checked my installation and found out that Xemacs wouldn't run:
Code:

dyld: xemacs can't open library: /usr/X11R6/lib/libXaw3d.7.dylib  (No such file or directory, errno = 2)
Nov 26 19:22:50 Sao crashdump: Crash report written to:
/Users/pm/Library/Logs/CrashReporter/xemacs.crash.log

I tried:

'fink reinstall xaw3d'
'fink reinstall xaw3d-shlibs'

But it was not enough, so I ran 'fink rebuild xemacs'. Even then, Xemacs wouldn't start.

I checked the fink-developer list and read a post by Jeff Whitaker:
Quote:

I've updated xaw3d so that it no longer installs in /usr/X11R6. Unfortunately, this will break all apps linked with libXaw3d. So, I've taken the liberty of updating those packages (in 10.2 unstable) that depend on xaw3d to have a revisioned depends (>= 1.5-5). As part of this update, I've bumped the rev number of these packages (xfrisk,xemacs,siag,mowitz,gv,xfig,transfig) to force a recompile when a "update-all" is issued.
So, after I ran 'fink selfupdate-cvs', which gave me fink distribution-0.5.0.cvs, I ran 'fink update-all'. My machine was working all night as it updated a lot of packages (kde, gnome, and many others). And now Xemacs is working and the version installed is xemacs-21.5.9-3.


And everything else is working normal.


Cheers...

osxpez 11-27-2002 01:47 AM

What would you need xemacs for when there's vim? :)

Curious about the xemacs install though. Did it include all modules. I'm specifically interested in wether the xxml module is bundled and working. And if the module distribution within xemacs works.

Not that I would need it since I'm a vim'er, but I know quite a few poor emacs suckers. :)

Titanium Man 11-27-2002 01:54 AM

Thanks for the tips, sao and OSXPEZ. Maybe I should post a new thread for this, but sao, is there any reason to switch to xfree86-base-threaded other than getting a few packages such as libxine? Thanks.

sao 11-27-2002 07:00 AM

TiMan,

No, the only reason I did the change to the "-threaded" packages was because I like to play with new things...like the 'xine video player' and 'cdat' (climate data analysis tools). And I saw several of the "experts" using it too.

I'm just nosy. :)


Cheers...

sao 11-27-2002 08:24 AM

osxpez,

Luckily, I come from a Macintosh background and don't participate in the editors wars... :)

Thus, I can enjoy and use both, Xemacs for some things, vim for others. ;)

So, besides Xemacs, I also installed and use vim-6.1-4. But, I mostly use "gvim" which I like very much.

I don't know about the xxml module, will find out and let you know.


Cheers...

osxpez 11-27-2002 10:41 AM

Not even the eternal war between good (vim) and evil (emacs)? :) No, just kidding. But i get curious when you say you use both. Nosy as I am (yes, me too) I gotta ask why and for which tasks you choose one or the other? I only use emacs when I have to (meaning when I pair program with someone who prefers emacs) and when I want to play emacs Tetris.

sao 11-27-2002 02:25 PM

osxpez,

I have two children, and I love them both. :)

No, seriously, both xemacs and gvim are my babies, and in that sense so is nano, nedit, lyx, bluefish. All which I never knew before and now I installed and explore.

and play tetris...


Cheers...

sao 11-28-2002 12:47 PM

osxpez,

As you said......m-g-t is very cool !. I started playing with it a bit and inmediately loved the "tabs". Saved a lot of real state by compiling, surfing the web, reading and writing files all in the same window!

It remembers me of the "pwm" window manager, which allows multiple client windows to be attached to the same frame. I used to have several xterms and applications neatly organized with it.

pwm web site (screenshot):

http://modeemi.cs.tut.fi/~tuomov/pwm...hots/pwm-1.jpg

Now, if I could combine it with m-g-t and chimera, I will have everything tabbed for ever ! :D

I had to juggle a little bit at the beginning with 'Edit Commands' in order that the commands include some means to keep the shell from exiting. And got a couple of times error messages saying "could not log in" when executing a command in a 'New Shell'.

Also, I am using an Apple mouse, so I 'option-click' the window to call the menu when hiding the toolbar and menubar.

To use an image (xpm) for background is very easily done, and you can even use pseudo-transparency if you like it.


Cheers...

osxpez 11-28-2002 05:34 PM

Glad to hear liked MGT. Maybe soon we'll have a newer version with window splitting as well.

FYI. You can use JPEG pictures for backround.

sao 11-28-2002 11:25 PM

osxpez,

Yes, I was looking at screenshots of the latest version, and window splitting looks good and the "Edit commands" is quite improved.

http://multignometerm.sourceforge.ne...eenshots.shtml

By the way, here is a copy of the message I get sometimes, when opening a "new shell":
Code:

        There has been an error trying to log in.

        If you are using Linux 2.2.x with glibc 2.1.x, this is probably
        due to incorrectly setup Unix98 ptys.

        Please read linux/Documentation/Changes for how to set them up
        correctly.

After I click the 'ok' button, it goes away and m-g-t works fine. Did you saw this message before ?


Cheers...


All times are GMT -5. The time now is 05:35 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.