image
image

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

Reply
 
Thread Tools
  #1  
Old April 20th, 2007, 09:15 PM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,462
Thanks: 3
Thanked 10 Times in 9 Posts
Mikuro is on a distinguished road
Terminal replacement

Can anyone recommend a simple, modern Terminal replacement? All I really want is a version of Terminal that lets me select and manipulate text like a normal program. For example, if I select a bunch of text and hit Delete, I'd like it to actually delete that text, instead of just the single last character I typed.

I've already tried iTerm and GLterm, both of which handle text exactly like Terminal.

Any help will go a long way towards saving my sanity.

<This post has been severely edited for length and vitriol.>
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.2

I'm now a four-browser man. How on earth did this happen?!

Useful programs: PithHelmet, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #2  
Old April 21st, 2007, 03:22 AM
Volunteer Tech
 
Join Date: Apr 2005
Posts: 576
Thanks: 0
Thanked 3 Times in 3 Posts
Kees Buijs will become famous soon enough
Quote:
Originally Posted by Mikuro View Post
Can anyone recommend a simple, modern Terminal replacement? All I really want is a version of Terminal that lets me select and manipulate text like a normal program. For example, if I select a bunch of text and hit Delete, I'd like it to actually delete that text, instead of just the single last character I typed.

I've already tried iTerm and GLterm, both of which handle text exactly like Terminal.

Any help will go a long way towards saving my sanity.

<This post has been severely edited for length and vitriol.>
You could do some trick with export / import and use textedit. It sure is not the way to go, but for some purposes i use this. If you paste the clipboard, it will be accepted as keyboard input thus being added to the file (or as i use more often as command stream).


Good luck, Kees
Reply With Quote
  #3  
Old April 21st, 2007, 08:58 AM
Registered User
 
Join Date: Jun 2002
Location: USA
Posts: 2,509
Thanks: 1
Thanked 3 Times in 3 Posts
MisterMe will become famous soon enough
Quote:
Originally Posted by Mikuro View Post
...

I've already tried iTerm and GLterm, both of which handle text exactly like Terminal.

...
Perhaps, you should explain why you want to manipulate text. It sounds like you want a terminal with addressable screen coordinates which will allow you to interact with text anywhere on the screen. You can do this with MacWise, Terminal, iTerm, or GLTerm. However, your host must allow this.
Reply With Quote
  #4  
Old April 21st, 2007, 01:21 PM
Registered User
 
Join Date: Oct 2006
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Flying Meat is on a distinguished road
An example of where this might be handy, would help.
The command line is not really intended to be a GUI editor.

You could try using BBedit, or maybe even TextWrangler.
Both have the ability to run commands from within the application, and get the output back in editable documents.
Reply With Quote
  #5  
Old April 21st, 2007, 02:44 PM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,462
Thanks: 3
Thanked 10 Times in 9 Posts
Mikuro is on a distinguished road
Haha, perhaps I shouldn't have edited my original post so much.

Basically, the funky text control is driving me crazy in two ways:

It makes it an awful chore to do the same command many times with just one or two different parameters. Heaven forbid I want to delete/overwrite an entire pathname! I'm sure there's a historical reason for this (maybe even a good one), but all I really want is the flexibility of a normal text field — put the text into that field, hit return, and have it execute that text. The only thing I can imagine losing with this functionality is that retro feel, and really, I can live without that! (Again, I'm sure there are reasons, but I don't think they could possibly apply to me.)

I've tolerated that funkiness in the past because the "option-click to position cursor" feature (in Terminal > Window Settings > Emulation) at least gave me some flexibility. (I assume this is what you're talking about, MisterMe.) But that won't even work consistently. Sometimes it works as expected, but sometimes it just beeps and changes my entire command entry to the last successful command I entered (similar to pressing the up arrow). I have no idea why. It generally happens after I paste in a command and try to change a few flags. However, even if I could get that working normally, it's gotten to the point where I'm using Terminal too much to accept such a half-baked solution anyway.

I actually have started writing complete commands in BBEdit, then copying and pasting them into Terminal, as has been suggested. This is obviously a pain in the neck, though. It also forces me to give up Terminal's most useful text-entry feature: dragging files from the Finder to insert lists of properly-escaped file paths into the command line.

Edit: Actually, I missed it in my first look, but iTerm has an optional Cocoa text field in its toolbar that lets you enter commands for execution. Unfortunately, it does not accept dropped files properly, and it's very small. It'll be good to have it in my toolbox, but I'm still hoping for something better.
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.2

I'm now a four-browser man. How on earth did this happen?!

Useful programs: PithHelmet, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #6  
Old April 21st, 2007, 03:02 PM
macbri's Avatar
Mac (r)evolution
 
Join Date: Jun 2005
Location: Ireland
Posts: 251
Thanks: 1
Thanked 0 Times in 0 Posts
macbri is on a distinguished road
If you get to grips with command-line substitution that might help. For example replacing "Disk2" with "Disk3" in the previous command:

Code:
du -dh /Volumes/Disk2/data
^Disk2^Disk3
Reply With Quote
  #7  
Old April 21st, 2007, 03:03 PM
Registered User
 
Join Date: Oct 2006
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Flying Meat is on a distinguished road
As for loosing the ability to drag files/folders to the terminal to enter paths, there is a nice contextual menu add-on, PathSnagger, that can copy the path to the clipboard for pasting.
Certainly not as sweet as dragging the object to the terminal window, but it helps bridge the gap...

Also, I believe that BBedit can run a selected command right from the BBedit document. Try installing the BBedit unix tools?..

In the Terminal window, (you probably already know these, but) control+a takes you to the beginning of the command line, control+e takes you to the end.
I think there is a modifier key to go forward and back, in one word jumps, as well... ehhh. scratch that last bit for now.

Last edited by Flying Meat; April 21st, 2007 at 03:05 PM. Reason: double checked...
Reply With Quote
  #8  
Old April 21st, 2007, 03:16 PM
jbarley's Avatar
One more, for the road!
 
Join Date: Jul 2005
Location: An Island called Vancouver
Posts: 369
Thanks: 0
Thanked 2 Times in 2 Posts
jbarley will become famous soon enough
Quote:
Originally Posted by Mikuro View Post
It also forces me to give up Terminal's most useful text-entry feature: dragging files from the Finder to insert lists of properly-escaped file paths into the command path.
Maybe check out "PathSnagger",
note- this url is for a universal binary, he also has the original ppc version on his web site.

http://www.bergenstreetsoftware.com/...agger1.1UB.dmg

this adds a contextual menu item to all files, that lets you grab the full path and then paste it wherever you wish.
Sort of helps overcome what you lose when using a text editor.

jb.
__________________
ROFL: (Rolling on the floor laughing.) Typically used by people who are too lazy to press the rest of the keys on their keyboard needed to communicate in English.
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


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