image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old May 13th, 2001, 03:27 PM
gumse's Avatar
Member
 
Join Date: Mar 2001
Location: Sweden
Posts: 403
Thanks: 0
Thanked 0 Times in 0 Posts
gumse is on a distinguished road
A good line to have in your /usr/share/init/tcsh/aliases is:

alias bb 'open -a "/Volumes/app/BBEdit 6.0 Folder/BBEdit 6.0/BBEdit 6.1 for OS X"'
(substitute your own BBEdit path)

Then you can edit text files with the command "bb filename" from Terminal. Sure beats vi.

NB! If you have started BBEdit earlier you might have to Quit to make sure it starts as the current user (if you have su'd to root in Terminal for example) otherwise you may not have r/w privileges.
__________________
G4 500 MP 1024 MB RAM
LaCie Electron 22" Display
OS X 10.3.9
iMacDV
MacMini
iSight
iPod + iPod Mini
Sony PC100E FireWire Cam
Static IP via a FreeBSD server/gateway
a lot of other Mac's running Macos 7.5 to 9.1 and NetBSD.
A Few Wintel's on the side (I only use them when I get paid by the hour)
Reply With Quote
  #2  
Old May 13th, 2001, 04:52 PM
AdmiralAK's Avatar
Simply Daemonic
 
Join Date: Oct 2000
Location: Classified
Posts: 5,787
Thanks: 0
Thanked 0 Times in 0 Posts
AdmiralAK is on a distinguished road
BBEdit is a GUI not a CLI program
(at least I think that is the case in OS X as well)

In the CLI I prefer EMACS



Admiral
__________________
<<------------------------------>>
Seid ihr bereit fuer Club Admiralty ????
Club Admiralty: Http://www.club-admiralty.com
Copyright 1996-present
Bonified Gadget Geek :-)
<<------------------------------>>
Reply With Quote
  #3  
Old May 13th, 2001, 05:17 PM
gumse's Avatar
Member
 
Join Date: Mar 2001
Location: Sweden
Posts: 403
Thanks: 0
Thanked 0 Times in 0 Posts
gumse is on a distinguished road
Well, to GUI or not to GUI... :-)

Of course BBEdit is a GUI program, but thats kind of the point. But when you start it from the CLI, is it still 100% a GUI ?? :-)

I prefer BBEdit over emacs for 90% of the work i do. Kind of nice to write "bb fancy.pl" , edit the file, save , quit, rather than all the ESC-Ctrl stuff that I never seem to remember...

But then again, who am I to judge...
"Only pawn in game of life" :-)
__________________
G4 500 MP 1024 MB RAM
LaCie Electron 22" Display
OS X 10.3.9
iMacDV
MacMini
iSight
iPod + iPod Mini
Sony PC100E FireWire Cam
Static IP via a FreeBSD server/gateway
a lot of other Mac's running Macos 7.5 to 9.1 and NetBSD.
A Few Wintel's on the side (I only use them when I get paid by the hour)
Reply With Quote
  #4  
Old May 15th, 2001, 12:29 PM
Registered User
 
Join Date: Apr 2001
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
TimMcG is on a distinguished road
Why not GUI from the terminal?

Part of the reason for using OS X is the Mac GUI support on top of UNIX, and the ability to run Mac applications.

If I wanted to stay at the command line and run vi or emacs, I could stick with FreeBSD or Linux. Since I have a Mac with Mac applications like BBEDit, why not use them?


I use BBEdit from the command line, and think it works great.
Reply With Quote
  #5  
Old May 20th, 2001, 08:31 PM
TommyWillB's Avatar
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,000
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
Run BBEit as "root"

One of the things you can do from the command line is to run things as root. So not only can you launch BBEdit, but then BBEdit will have full access to read/write to the entire file system.

To do this use the same comman as above, but do it logged into the Termainal as root...

root# open '/Volumes/[drive]/[path to BBEdit]/BBEdit 6.1 for OS X/BBEdit 6.1.2 for OS X'
__________________
TommyWillB
Intel iMac 250GB external drive
TommyWillB.com hosted on Mac OS X 10.4.x / Apache 1.3.x / PHP 4.x

Last edited by TommyWillB; May 20th, 2001 at 08:38 PM.
Reply With Quote
  #6  
Old May 22nd, 2001, 03:13 AM
Registered User
 
Join Date: Feb 2001
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
devinci is on a distinguished road
pico!

I find myself (dont hit me) more of a pico person. I'm acquinted with VI, but I find it annoying.

As for a gui solution, I find OSX textedit quite good. :]

Used BBedit on OS9 and earlier. For some reason I didnt really like it. Maybe because it was an overpriced text editor. :X Simpletext was good enough for me! :X

Reply With Quote
  #7  
Old May 22nd, 2001, 10:19 PM
TommyWillB's Avatar
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,000
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
Try that with SimpleText

I was hooked on BBEdit the first time I did a complex Regular Expression Search/Replace on 100's of files... in many nested sub-directories... filtered by filename. I've never used anything but BBEdit since.

Plus all of the commands are mappable to keys... and it is a breeze to save files to Unix/NT/MacOS all with the correct line breaks.

About a year after I started using it they added the ability to open files directly over an FTP connection. All of the other Mac and Windows text editors have been copying this feature ever since. (Dreamweaver probably does this feature best...)

Yeah... vi! I've used it, but never with my vi mug too far away...

__________________
TommyWillB
Intel iMac 250GB external drive
TommyWillB.com hosted on Mac OS X 10.4.x / Apache 1.3.x / PHP 4.x
Reply With Quote
  #8  
Old May 23rd, 2001, 07:52 AM
gumse's Avatar
Member
 
Join Date: Mar 2001
Location: Sweden
Posts: 403
Thanks: 0
Thanked 0 Times in 0 Posts
gumse is on a distinguished road
Tommy,
I totally agree with you and I Love that mug...
__________________
G4 500 MP 1024 MB RAM
LaCie Electron 22" Display
OS X 10.3.9
iMacDV
MacMini
iSight
iPod + iPod Mini
Sony PC100E FireWire Cam
Static IP via a FreeBSD server/gateway
a lot of other Mac's running Macos 7.5 to 9.1 and NetBSD.
A Few Wintel's on the side (I only use them when I get paid by the hour)
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I preview HTML in IE with BBedit? chicoco25 Mac OS X System & Mac Software 1 June 2nd, 2003 11:10 AM
BBEdit Screen Flash? kermit64 Mac OS X System & Mac Software 5 September 28th, 2002 01:13 PM
BBEdit Question tench Mac OS X System & Mac Software 2 September 26th, 2002 09:16 PM
Option+Command+S in BBEdit 6.5.2 crashes & Interarchy 5.0.1 won't upload!! laguila Mac OS X System & Mac Software 5 August 27th, 2002 08:48 PM
IE view-source to BBEdit? xegan Mac OS X System & Mac Software 1 October 6th, 2001 01:04 PM


All times are GMT -5. The time now is 08:16 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.