|
|
#1 |
|
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? |
|
|
|
|
|
#2 |
|
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. |
|
|
|
|
|
#3 |
|
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 |
|
|
|
|
|
#4 |
|
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. |
|
|
|
|
|
#5 |
|
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
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 |
|
|
|
|
|
#6 |
|
Prospect
Join Date: May 2003
Posts: 39
|
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. |
|
|
|
|
|
#7 |
|
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. |
|
|
|
|
|
#8 |
|
Prospect
Join Date: May 2003
Posts: 39
|
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)?
|
|
|
|
|
|
#9 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Code:
/usr/bin/pico ~/.ssh/known_hosts |
|
|
|
![]() |
|
|