Martin Costabel | 1 Sep 01:46
Picon

Re: Snow Leopard, TeXShop, & tetex = trouble for me

Mark J. Reed wrote:
> "More POSIX conforming than POSIX requires" would seem to be an
> oxymoron, if not a paradox.  And POSIX explicitly allows "echo -n".

Yes, that's what I mean. Back in the early days of Leopard, when people 
complained about the missing -n in sh's echo, Apple said it is because 
of POSIX conformity.

> Does the builtin echo in sh have any way to suppress a newline?  Maybe
> the venerable "\c"?

Yes, "\c" works, although this is an extension of POSIX echo, just as "-n".

Otherwise use printf or /bin/echo -n instead of echo -n. Or bash instead 
of sh.

--

-- 
Martin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Ben Abbott | 1 Sep 02:02
Picon
Gravatar

Re: Snow Leopard, TeXShop, & tetex = trouble for me

On Aug 31, 2009, at 7:46 PM, Martin Costabel wrote:

> Mark J. Reed wrote:
>> "More POSIX conforming than POSIX requires" would seem to be an
>> oxymoron, if not a paradox.  And POSIX explicitly allows "echo -n".
>
> Yes, that's what I mean. Back in the early days of Leopard, when  
> people complained about the missing -n in sh's echo, Apple said it  
> is because of POSIX conformity.
>
>> Does the builtin echo in sh have any way to suppress a newline?   
>> Maybe
>> the venerable "\c"?
>
> Yes, "\c" works, although this is an extension of POSIX echo, just  
> as "-n".
>
> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash  
> instead of sh.
>
> -- 
> Martin

Would it be appropriate to patch altpdf{la}tex to avoid this problem?

Ben

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
(Continue reading)

vibnwis | 1 Sep 02:39
Picon
Favicon

Re: kdeinit4.app and kde4 apps fail to run


Having googled for that, I found and experimented myself that to allow kde4 apps to work I have to run the /sw/bin/init.sh which the fink environment if I am not wrong. Having opened the X11 term which has the /sw/bin/init in the .xinitrc, I can run mostly all kde4 apps. In other words, I can't run all the kde4 apps until I run X11 term which runs /sw/bin/init.sh.

I have tried various methods by putting /sw/bin/init.sh into the login startup menu. None of those effort product positive results. Does anyone know how to run /sw/bin/init at login.

The only useful apps for me for the moment is Wireshark. However, that doesn't run as kde4.app. I have to run from shell.

Welcome any comments.

--- On Mon, 8/31/09, Alexander Hansen <alexanderk.hansen <at> gmail.com> wrote:

From: Alexander Hansen <alexanderk.hansen <at> gmail.com>
Subject: Re: [Fink-users] kdeinit4.app and kde4 apps fail to run
To: "vibnwis" <vibnwis <at> yahoo.com>
Cc: fink-users <at> lists.sourceforge.net
Date: Monday, August 31, 2009, 10:43 AM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

vibnwis wrote:
> Hi there,
>
> Having installed kde4 through fink, I move on to run the kde apps.
> However, I couldn't get any of kde4 apps running. The icons appear
> blinking in the Dock and disappear after a while. Here are the commands
> I use:
>       
>        1. launchctl load
> /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>        2. sudo chown -R $USER ~/Library/Preferences/KDE
>        3. open /sw/opt/kde4/mac/bin/kdeinit4.app
>
> But if I use command, startkde & which is to start kde 3.5. I could run
> kde4 apps without any problems even I have quited kde 3.5.
>
> I want to get rid of kde 3.5 and run kde4 apps directly from Finder.
> Would someone please help?
>
> thanks
> vibnwis
>

(We don't remember what OS version you're running)

KDE-mac doesn't use startkde.  That's for kde3.5, as you just noticed.
And running kdeinit4 directly probably doesn't do what you want, since
we don't have a full desktop in the -mac variant.

I'm able to run KDE4 apps directly from the Finder, though I haven't
tried all of them.  Do you have specific apps that don't work?

- --
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqb4YAACgkQB8UpO3rKjQ9xAACeNp+uzsQWhShcXei0HnpDB3G9
uTEAn04XlbZWapsY0f7ejuGfvwWpodYy
=zynf
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
Mark J. Reed | 1 Sep 03:02
Picon
Gravatar

Re: Snow Leopard, TeXShop, & tetex = trouble for me

On Mon, Aug 31, 2009 at 7:46 PM, Martin Costabel<costabel <at> wanadoo.fr> wrote:
> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash instead of
> sh.

OK, now I'm confused.  On my Leopard box (10.5.8), /bin/sh is a link
to bash  - hm, a separate copy, actually -  and behaves just like bash
does in 'sh mode' on other platforms, including honoring -n in echo.

--

-- 
Mark J. Reed <markjreed <at> gmail.com>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Ben Abbott | 1 Sep 04:55
Picon
Gravatar

Re: Snow Leopard, TeXShop, & tetex = trouble for me

On Aug 31, 2009, at 9:02 PM, Mark J. Reed wrote:

> On Mon, Aug 31, 2009 at 7:46 PM, Martin  
> Costabel<costabel <at> wanadoo.fr> wrote:
>> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash  
>> instead of
>> sh.
>
> OK, now I'm confused.  On my Leopard box (10.5.8), /bin/sh is a link
> to bash  - hm, a separate copy, actually -  and behaves just like bash
> does in 'sh mode' on other platforms, including honoring -n in echo.

For me on 10.6, if I type ...

$ sh
sh-3.2$ echo $SHELL
/bin/bash

However, the shell initiated by TeXShop appears to be something else.

Bel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Eduardo Pestana | 1 Sep 08:04
Picon
Gravatar

Re: xcode313_2736

Dear Jack
I did as you said.  I ran several times

lsof  | grep mdimport

and the output was frozen at what is shown below at the end of this email.

Please take a look at the last two entries (I copied them right here)

/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office
mdworker  2642  edu  txt      REG      14,2   4907776   7789405 /Library/Spotlight/Microsoft Office.mdimporter/Contents/Frameworks/MetroFramework.framework/Versions/12/MetroFramework

It has been more than 2 years since I stopped using Microsoft Office.  I thought I had removed it completely.

Is it safe to remove the two aforementioned files?

Thanks,
Eduardo








$ lsof | grep mdimport
mdworker  2642  edu  txt      REG      14,2     49264   9556274 /System/Library/Spotlight/Application.mdimporter/Contents/MacOS/Application
mdworker  2642  edu  txt      REG      14,2    121232   1854381 /System/Library/Spotlight/RichText.mdimporter/Contents/MacOS/RichText
mdworker  2642  edu  txt      REG      14,2    103264   5469131 /System/Library/Spotlight/PDF.mdimporter/Contents/MacOS/PDF
mdworker  2642  edu  txt      REG      14,2     42400   6841160 /Applications/TeX/TeXShop.app/Contents/Library/Spotlight/TeX.mdimporter/Contents/MacOS/TeX
mdworker  2642  edu  txt      REG      14,2    153760   5469115 /System/Library/Spotlight/Image.mdimporter/Contents/MacOS/Image
mdworker  2642  edu  txt      REG      14,2     78576   9941500 /Developer/Applications/Xcode.app/Contents/Library/Spotlight/SourceCode.mdimporter/Contents/MacOS/SourceCode
mdworker  2642  edu  txt      REG      14,2     49728   1856285 /System/Library/Spotlight/Archives.mdimporter/Contents/MacOS/Archives
mdworker  2642  edu  txt      REG      14,2     70592   9556292 /System/Library/Spotlight/vCard.mdimporter/Contents/MacOS/vCard
mdworker  2642  edu  txt      REG      14,2     47808   1885741 /System/Library/Spotlight/Bookmarks.mdimporter/Contents/MacOS/Bookmarks
mdworker  2642  edu  txt      REG      14,2     46912   8541711 /Applications/TeX/BibDesk.app/Contents/Library/Spotlight/BibImporter.mdimporter/Contents/MacOS/BibImporter
mdworker  2642  edu  txt      REG      14,2     49616   5469143 /System/Library/Spotlight/SystemPrefs.mdimporter/Contents/MacOS/SystemPrefs
mdworker  2642  edu  txt      REG      14,2    120624   5469106 /System/Library/Spotlight/Audio.mdimporter/Contents/MacOS/Audio
mdworker  2642  edu  txt      REG      14,2     38076   8732272 /Applications/cyberDuck3.1.2folder/Cyberduck.app/Contents/Library/Spotlight/Cyberduck Spotlight Importer.mdimporter/Contents/MacOS/Cyberduck Spotlight Importer
mdworker  2642  edu  txt      REG      14,2     27780   5524942 /Applications/DjView.app/Contents/Library/Spotlight/DjVu.mdimporter/Contents/MacOS/DjVu
mdworker  2642  edu  txt      REG      14,2     61504   2523817 /System/Library/Spotlight/iCal.mdimporter/Contents/MacOS/iCal
mdworker  2642  edu  txt      REG      14,2     89040   5469139 /System/Library/Spotlight/PS.mdimporter/Contents/MacOS/PS
mdworker  2642  edu  txt      REG      14,2     97168   9556280 /System/Library/Spotlight/Automator.mdimporter/Contents/MacOS/Automator
mdworker  2642  edu  txt      REG      14,2     38300     11078 /Applications/Black Ink.app/Contents/Library/Spotlight/CrosswordImporter.mdimporter/Contents/MacOS/CrosswordImporter
mdworker  2642  edu  txt      REG      14,2     63184   8098536 /System/Library/Spotlight/QuickTime.mdimporter/Contents/MacOS/QuickTime
mdworker  2642  edu  txt      REG      14,2    190416    544690 /Library/Spotlight/iWeb.mdimporter/Contents/MacOS/iWeb
mdworker  2642  edu  txt      REG      14,2     69744   9013218 /Applications/NeoOffice.app/Contents/Library/Spotlight/neolight.mdimporter/Contents/MacOS/neolight
mdworker  2642  edu  txt      REG      14,2   1065908    544726 /Library/Spotlight/Wolfram Notebook.mdimporter/Contents/MacOS/Wolfram Notebook
mdworker  2642  edu  txt      REG      14,2   5913168   7789411 /Library/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office
mdworker  2642  edu  txt      REG      14,2   4907776   7789405 /Library/Spotlight/Microsoft Office.mdimporter/Contents/Frameworks/MetroFramework.framework/Versions/12/MetroFramework



On Sun, Aug 30, 2009 at 5:15 PM, Jack Howarth <howarth <at> bromo.med.uc.edu> wrote:
 I believe if the indexing is choking on a corrupted file
you can identify that while the indexing is hung with...

lsof | grep mdimport

from a Terminal window.
           Jack

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
Martin Costabel | 1 Sep 08:05
Picon

Re: Snow Leopard, TeXShop, & tetex = trouble for me

Mark J. Reed wrote:
> On Mon, Aug 31, 2009 at 7:46 PM, Martin Costabel<costabel <at> wanadoo.fr> wrote:
>> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash instead of
>> sh.
> 
> OK, now I'm confused.  On my Leopard box (10.5.8), /bin/sh is a link
> to bash  - hm, a separate copy, actually -  and behaves just like bash
> does in 'sh mode' on other platforms, including honoring -n in echo.

Read "man bash" about the startup procedure. Bash behaves differently 
when it is started under the name "sh".

--

-- 
Martin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Martin Costabel | 1 Sep 08:07
Picon

Re: Snow Leopard, TeXShop, & tetex = trouble for me

Ben Abbott wrote:
> On Aug 31, 2009, at 9:02 PM, Mark J. Reed wrote:
> 
>> On Mon, Aug 31, 2009 at 7:46 PM, Martin  
>> Costabel<costabel <at> wanadoo.fr> wrote:
>>> Otherwise use printf or /bin/echo -n instead of echo -n. Or bash  
>>> instead of
>>> sh.
>> OK, now I'm confused.  On my Leopard box (10.5.8), /bin/sh is a link
>> to bash  - hm, a separate copy, actually -  and behaves just like bash
>> does in 'sh mode' on other platforms, including honoring -n in echo.
> 
> For me on 10.6, if I type ...
> 
> $ sh
> sh-3.2$ echo $SHELL
> /bin/bash

Try `echo -n $SHELL` in sh and in bash...

--

-- 
Martin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Eduardo Pestana | 1 Sep 08:17
Picon
Gravatar

Re: xcode313_2736

Or maybe  remove the whole

/Library/Spotlight/Microsoft Office.mdimporter/

Microsoft Office related directory tree?

Best and thanks,
Eduardo

On Tue, Sep 1, 2009 at 1:34 AM, Eduardo Pestana <epestana.fink.list <at> gmail.com> wrote:
Dear Jack
I did as you said.  I ran several times

lsof  | grep mdimport

and the output was frozen at what is shown below at the end of this email.

Please take a look at the last two entries (I copied them right here)
/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office
mdworker  2642  edu  txt      REG      14,2   4907776   7789405 /Library/Spotlight/Microsoft Office.mdimporter/Contents/Frameworks/MetroFramework.framework/Versions/12/MetroFramework

It has been more than 2 years since I stopped using Microsoft Office.  I thought I had removed it completely.

Is it safe to remove the two aforementioned files?

Thanks,
Eduardo








$ lsof | grep mdimport
mdworker  2642  edu  txt      REG      14,2     49264   9556274 /System/Library/Spotlight/Application.mdimporter/Contents/MacOS/Application
mdworker  2642  edu  txt      REG      14,2    121232   1854381 /System/Library/Spotlight/RichText.mdimporter/Contents/MacOS/RichText
mdworker  2642  edu  txt      REG      14,2    103264   5469131 /System/Library/Spotlight/PDF.mdimporter/Contents/MacOS/PDF
mdworker  2642  edu  txt      REG      14,2     42400   6841160 /Applications/TeX/TeXShop.app/Contents/Library/Spotlight/TeX.mdimporter/Contents/MacOS/TeX
mdworker  2642  edu  txt      REG      14,2    153760   5469115 /System/Library/Spotlight/Image.mdimporter/Contents/MacOS/Image
mdworker  2642  edu  txt      REG      14,2     78576   9941500 /Developer/Applications/Xcode.app/Contents/Library/Spotlight/SourceCode.mdimporter/Contents/MacOS/SourceCode
mdworker  2642  edu  txt      REG      14,2     49728   1856285 /System/Library/Spotlight/Archives.mdimporter/Contents/MacOS/Archives
mdworker  2642  edu  txt      REG      14,2     70592   9556292 /System/Library/Spotlight/vCard.mdimporter/Contents/MacOS/vCard
mdworker  2642  edu  txt      REG      14,2     47808   1885741 /System/Library/Spotlight/Bookmarks.mdimporter/Contents/MacOS/Bookmarks
mdworker  2642  edu  txt      REG      14,2     46912   8541711 /Applications/TeX/BibDesk.app/Contents/Library/Spotlight/BibImporter.mdimporter/Contents/MacOS/BibImporter
mdworker  2642  edu  txt      REG      14,2     49616   5469143 /System/Library/Spotlight/SystemPrefs.mdimporter/Contents/MacOS/SystemPrefs
mdworker  2642  edu  txt      REG      14,2    120624   5469106 /System/Library/Spotlight/Audio.mdimporter/Contents/MacOS/Audio
mdworker  2642  edu  txt      REG      14,2     38076   8732272 /Applications/cyberDuck3.1.2folder/Cyberduck.app/Contents/Library/Spotlight/Cyberduck Spotlight Importer.mdimporter/Contents/MacOS/Cyberduck Spotlight Importer
mdworker  2642  edu  txt      REG      14,2     27780   5524942 /Applications/DjView.app/Contents/Library/Spotlight/DjVu.mdimporter/Contents/MacOS/DjVu
mdworker  2642  edu  txt      REG      14,2     61504   2523817 /System/Library/Spotlight/iCal.mdimporter/Contents/MacOS/iCal
mdworker  2642  edu  txt      REG      14,2     89040   5469139 /System/Library/Spotlight/PS.mdimporter/Contents/MacOS/PS
mdworker  2642  edu  txt      REG      14,2     97168   9556280 /System/Library/Spotlight/Automator.mdimporter/Contents/MacOS/Automator
mdworker  2642  edu  txt      REG      14,2     38300     11078 /Applications/Black Ink.app/Contents/Library/Spotlight/CrosswordImporter.mdimporter/Contents/MacOS/CrosswordImporter
mdworker  2642  edu  txt      REG      14,2     63184   8098536 /System/Library/Spotlight/QuickTime.mdimporter/Contents/MacOS/QuickTime
mdworker  2642  edu  txt      REG      14,2    190416    544690 /Library/Spotlight/iWeb.mdimporter/Contents/MacOS/iWeb
mdworker  2642  edu  txt      REG      14,2     69744   9013218 /Applications/NeoOffice.app/Contents/Library/Spotlight/neolight.mdimporter/Contents/MacOS/neolight
mdworker  2642  edu  txt      REG      14,2   1065908    544726 /Library/Spotlight/Wolfram Notebook.mdimporter/Contents/MacOS/Wolfram Notebook
mdworker  2642  edu  txt      REG      14,2   5913168   7789411 /Library/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office
mdworker  2642  edu  txt      REG      14,2   4907776   7789405 /Library/Spotlight/Microsoft Office.mdimporter/Contents/Frameworks/MetroFramework.framework/Versions/12/MetroFramework



On Sun, Aug 30, 2009 at 5:15 PM, Jack Howarth <howarth <at> bromo.med.uc.edu> wrote:
 I believe if the indexing is choking on a corrupted file
you can identify that while the indexing is hung with...

lsof | grep mdimport

from a Terminal window.
           Jack

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
Mark J. Reed | 1 Sep 11:15
Picon
Gravatar

Re: Snow Leopard, TeXShop, & tetex = trouble for me

On Tue, Sep 1, 2009 at 2:05 AM, Martin Costabel<costabel <at> wanadoo.fr> wrote:
> Mark J. Reed wrote:
>> OK, now I'm confused.  On my Leopard box (10.5.8), /bin/sh is a link
>> to bash  - hm, a separate copy, actually -  and behaves just like bash
>> does in 'sh mode' on other platforms, including honoring -n in echo.
>
> Read "man bash" about the startup procedure. Bash behaves differently when
> it is started under the name "sh".

I know.  That's what I meant by "bash in 'sh mode'".  Pasted from Terminal:

$ sh
sh-3.2$ echo -n Hello
Hellosh-3.2$ exit
$ sh --posix
sh-3.2$ echo -n Hello
Hellosh-3.2$

Are you sure you're not thinking of a developer prerelease of SL
rather than Leopard?

--

-- 
Mark J. Reed <markjreed <at> gmail.com>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Gmane