Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Newb: Does using BBEdit come to the same thing as 'PICO' etc?

Newb: Does using BBEdit come to the same thing as 'PICO' etc?
Thread Tools
Mac Enthusiast
Join Date: May 2001
Status: Offline
Reply With Quote
Jun 23, 2003, 09:54 AM
 
Hi,

For no logical reason at all I break out in a sweat if I have to use the CL.

Does it come to the same thing if I use BBEdit? I can still open hidden files etc and I just find it more familliar.

If so, what settings do I use as the file creator and line break? (Generic Mac OSX file/generic text file and Mac/UNIX respectively)

Many thanks

Simon
London Uk
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jun 23, 2003, 11:28 AM
 
CLI tools like vi and pico don't set a type/creator. UNIX files generally use UNIX linefeeds.

You can use BBEdit for some of these files. However, if it's a file that you don't have permission to edit, you'll have a problem with BBEdit, whereas you can just prepend "sudo" to your CLI command and have no issue.

If you're going to muck around in the command line, just take it slowly and get comfortable. If pico is too complex, you could try one of the GUI X11-based tools.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Mac Enthusiast
Join Date: May 2001
Status: Offline
Reply With Quote
Jun 23, 2003, 11:42 AM
 
Originally posted by Arkham_c:
CLI tools like vi and pico don't set a type/creator. UNIX files generally use UNIX linefeeds.

You can use BBEdit for some of these files. However, if it's a file that you don't have permission to edit, you'll have a problem with BBEdit, whereas you can just prepend "sudo" to your CLI command and have no issue.

If you're going to muck around in the command line, just take it slowly and get comfortable. If pico is too complex, you could try one of the GUI X11-based tools.
Arkham_c,

What if I logged in as root and used BBEdit from there?
Could I set the creator to 'Generic OSX text file' and the line endings to 'UNIX'?

Can you suggest a 'GUI X11-based tool'? I have X11 installed...

Thanks

Simon
     
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
Jun 23, 2003, 03:18 PM
 
Actually the full version of BBEdit will tell if you need root priviledges and will open a dialog box so you can still edit it. Very nice. It also has command line tools so you can pipe Unix commands to BBEdit or open files from the command line. Very nice program. Much nicer than any equivalent for the CLI or X11.
     
Mac Enthusiast
Join Date: May 2001
Status: Offline
Reply With Quote
Jun 23, 2003, 03:30 PM
 
Originally posted by clarkgoble:
Actually the full version of BBEdit will tell if you need root priviledges and will open a dialog box so you can still edit it. Very nice. It also has command line tools so you can pipe Unix commands to BBEdit or open files from the command line. Very nice program. Much nicer than any equivalent for the CLI or X11.
clarkgoble,

Ok... So I *can* use BBEdit instead of Pico or whatever?

Which version of BBEdit do I need? Is this only in V7?

What do I do about the creator type/line endings?

Thanks!

Simon
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Jun 23, 2003, 04:31 PM
 
Originally posted by simonmartin:

Which version of BBEdit do I need? Is this only in V7?

What do I do about the creator type/line endings?
IIRC, BBEdit 6.1 was the first version to support a UI for opening 'hidden' files. 6.5 added the ability to override root file permisions (by prompting you for your sudo authentication.

As for line endings, choose 'unix'. Type and creator are irrelevant since they're ignored by unix apps.
Gods don't kill people - people with Gods kill people.
     
Dedicated MacNNer
Join Date: Apr 2002
Location: Red Bluff, CA
Status: Offline
Reply With Quote
Jun 24, 2003, 12:33 PM
 
Though you specifically mentioned BBEdit, I thought id bring up the fact that you can use any cocoa text editor, including TextEdit or Hydra, to open a hidden file (including ones you have to use sudo to edit them if you use an app like Rooter). I layed out how to do this in this thread:
http://forums.macnn.com/showthread.p...hreadid=163976
     
Mac Enthusiast
Join Date: May 2001
Status: Offline
Reply With Quote
Jun 24, 2003, 12:52 PM
 
Originally posted by darkcore:
Though you specifically mentioned BBEdit, I thought id bring up the fact that you can use any cocoa text editor, including TextEdit or Hydra, to open a hidden file (including ones you have to use sudo to edit them if you use an app like Rooter). I layed out how to do this in this thread:
http://forums.macnn.com/showthread.p...hreadid=163976
darkcore

That's a good tip, thanks.

Simon
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:03 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2