Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Old 05-27-2003, 12:10 PM   #1
hafnerd
Prospect
 
Join Date: May 2003
Posts: 39
pico

when i bought my flat panel iMac, it came w/ OS X and i had to send for jaguar updater (2 disks from apple). i also (excited at concept of learning unix) bought Unix Utilites from dsdmall.com. i installed OroborOSX which has X 11 version of pico.

now jaguar came w/ pico but i cannot launch it. i like pico. could the install of OroborOSX package have disabled pico that came w/ jag? when i access pico from terminal, i get the following:

[termianl:~] me% pico
dyld: pico Undefined symbols:
_tgetent
Trace/BPT trap

what does it mean? called apple, but person suggested reinstall. ouch. can i unistall OroborOSX and reactivate pico that came w/ Jaguar?
hafnerd is offline   Reply With Quote
Old 05-27-2003, 03:02 PM   #2
aixccapt99
Major Leaguer
 
Join Date: Feb 2003
Posts: 263
Can you post the results of
you% which pico
and
you% locate pico

Basically, that tries to figure out the path to the copy of pico you are launching when you simply type 'pico', as well as to list all filenames containing pico, which should help us find the copy you want.

The quick fix is probably to make a shell alias that points 'pico' to /the/copy/you/want/of/pico, rather than letting the shell search through your $PATH and pick the wrong one.
aixccapt99 is offline   Reply With Quote
Old 05-27-2003, 10:08 PM   #3
hafnerd
Prospect
 
Join Date: May 2003
Posts: 39
[betty:/usr/local/bin] me% which pico
/usr/local/bin/pico
[betty:/usr/local/bin] me% locate pico
/Applications/OroborOSX.app/Contents/Resources/Launch Menu Items/pico.x11app
/Applications/PCalc 2/PCalc Help/images/helpicon.gif
/Applications/Utilities/Grab.app/Contents/Resources/appicon.icns
/Applications/Utilities/Grab.app/Contents/Resources/appicon.tiff
/Applications/Utilities/NetInfo Manager.app/Contents/Resources/appicon.icns
/Applications/X11-Apps/pico.x11app
/Developer/Applications/Project Builder.app/Contents/Resources/appicon.icns
/Developer/Applications/ProjectBuilderWO.app/Contents/Resources/appicon.icns
/Developer/Applications/ProjectBuilderWO.app/Contents/Resources/appicon.tiff
/Developer/Applications/ProjectBuilderWO.app/Contents/Resources/progressIndicatorPanel.nib/appicon.tiff
/Developer/Documentation/Essentials/AquaHIGuidelines/art/popupiconbutton.gif
/Library/Receipts/pico-4.0.pkg
/Library/Receipts/pico-4.0.pkg/Contents
/Library/Receipts/pico-4.0.pkg/Contents/Info.plist
/Library/Receipts/pico-4.0.pkg/Contents/PkgInfo
/Library/Receipts/pico-4.0.pkg/Contents/Resources
/Library/Receipts/pico-4.0.pkg/Contents/Resources/English.lproj
/Library/Receipts/pico-4.0.pkg/Contents/Resources/English.lproj/pico-4.0.info
/Library/Receipts/pico-4.0.pkg/Contents/Resources/pico-4.0.bom
/Library/Receipts/pico-4.0.pkg/Contents/Resources/pico-4.0.loc
/Library/Receipts/pico-4.0.pkg/Contents/Resources/pico-4.0.sizes
/Library/Receipts/pico-4.0.pkg/Contents/Resources/ReadMe.txt
/Library/Receipts/pico-4.0.pkg/Contents/Resources/uninstall-pico-4.0
/Library/Receipts/pico-4.0.pkg/Contents/Resources/Welcome.txt
/Library/Receipts/pico-4.0.pkg/Icon?
/usr/bin/pico
/usr/local/bin/pico
/usr/local/Bochs/picobsd-img
/usr/local/Bochs/picobsd-img/.bochsrc
/usr/local/Bochs/picobsd-img/.DS_Store
/usr/local/Bochs/picobsd-img/a.img
/usr/local/Bochs/picobsd-img/BIOS-bochs-990925a
/usr/local/Bochs/picobsd-img/out.bochs
/usr/local/Bochs/picobsd-img/README
/usr/local/Bochs/picobsd-img/VGABIOS-elpin-2.20
/usr/local/man/man1/pico.1.gz
/usr/local/pgsql/doc/html/spi-spiconnect.html
/usr/local/pgsql/doc/html/spi-spicopytuple.html
/usr/local/pgsql/doc/html/spi-spicopytupledesc.html
/usr/local/pgsql/doc/html/spi-spicopytupleintoslot.html
/usr/share/man/man1/pico.1
hafnerd is offline   Reply With Quote
Old 05-27-2003, 10:47 PM   #4
aixccapt99
Major Leaguer
 
Join Date: Feb 2003
Posts: 263
try
/usr/bin/pico
and see if that's the functioning program you're looking for.

If so, look around this site to see how to make a shell alias (format is different in tcsh vs bash, etc) that will point the command "pico" to that instead of /usr/local/bin/pico.
aixccapt99 is offline   Reply With Quote
Old 05-28-2003, 01:31 AM   #5
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
hafnerd,

The pico you want is /usr/bin/pico.
Code:
151 [Sao @/Users/pm] % otool -LV /usr/bin/pico
/usr/bin/pico:
        /usr/lib/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
        time stamp 1041105878 Sun Dec 29 04:04:38 2002
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 60.0.0)
        time stamp 1039863485 Sat Dec 14 18:58:05 2002
Which is installed by the BSD.pkg:
Code:
154 [Sao @/Users/pm] % grepbom /usr/bin/pico
........../usr/bin/pico 136,380 Sun Jul 28 10:54:37 2002
   ====> /Library/Receipts/BSD.pkg/Contents/Archive.bom
You could move away /usr/local/bin/pico which is giving you problems, or make a shell alias to /usr/bin/pico as aixccapt99 adviced you, or as I told you in your "other" post at the Unix beginners forum, try to reinstall the BSD subsytem from the Jaguar install CD.
sao is offline   Reply With Quote
Old 05-28-2003, 03:13 PM   #6
hafnerd
Prospect
 
Join Date: May 2003
Posts: 39
Unhappy crud.

i reinstalled the developer tools and tried to access the directory as instructed. still only get

[termianl:~] me% pico
dyld: pico Undefined symbols:
_tgetent
Trace/BPT trap

*sigh* odd.
hafnerd is offline   Reply With Quote
Old 05-28-2003, 10:13 PM   #7
aixccapt99
Major Leaguer
 
Join Date: Feb 2003
Posts: 263
try:
cd /usr/bin
then:
./pico

If that produces what you want (ie, your nice terminal-based text program), then the simplest solution, which I've already mentioned, is a shell alias. If you are unfamiliar with that, basically you write a line in a text file that says to your shell "when I type pico, give me /usr/bin/pico instead of searching through my $PATH and choosing the first one you find." The formatting of the line, and the proper name of the text file, is different depending on the shell you're using (if you haven't changed it, it's tcsh), so that's why I suggested you search for that information.
aixccapt99 is offline   Reply With Quote
Old 05-29-2003, 10:50 AM   #8
hafnerd
Prospect
 
Join Date: May 2003
Posts: 39
Thumbs up excellent..., but

that worked. you rock. however, how can i open a document...say, .ssh. i know how to get the the directory of .ssh, and i want to edit the contents of <known_hosts>. how would a access that document file (known_hosts)?
hafnerd is offline   Reply With Quote
Old 05-29-2003, 12:04 PM   #9
yellow
Moderator
 
Join Date: Jan 2002
Posts: 10,677
Code:
/usr/bin/pico ~/.ssh/known_hosts
yellow is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 10:24 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.