image
image

|


Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
Thread Tools
  #1  
Old November 10th, 2001, 12:02 PM
Registered User
 
Join Date: Aug 2001
Location: Arlington, VA
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Iolaire is on a distinguished road
Unix path in window toolbar?

Since I'm unfamiliar with the Unix paths and many things require you to know that path to a file now - is there a way to make the window toolbar show the Unix path to the current folder?
i.e. /applications/utilities/ or even the "apple path": Macintosh HD:Applications:Utilities.

Alternately if that can not be done is there a small fast utility that will give it to you in a copyable field?
Thanks,
iolaire
Reply With Quote
  #2  
Old November 10th, 2001, 03:07 PM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
My overly complex prompt

I use
Quote:
set prompt = "%B: %?%b%{\033]0;%n@%m:%c3\007%}%B %T; %b"
This puts the exit status of the last command, and the time it exited, in bold, and between : and ; (this allows cutting and pasting entire lines, since the shell ignores things between : and ; ) on the main window ( like : 0 15:01 ; ). In the title bar goes "username@computername:/where/I/am"
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
Reply With Quote
  #3  
Old November 14th, 2001, 05:20 PM
Kartoffel's Avatar
5038 Member
 
Join Date: Jun 2001
Location: Houston, Texas
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Kartoffel is on a distinguished road
You can have your .bash_login set the window title. Mine is set up with the form <b>[username]@[hostname] :: [path]</b>

<tt>TITLEBAR='\[\033]0;\u@\h :: \w\007\]'
export PS1="${TITLEBAR}\n[\w]\$ "</tt>
__________________
A locked gun cabinet and a primaeval Macintosh desktop-publishing system, green with age, attested to the owner's previous forays into officially discouraged realms of behavior.
-- Dr. X's lab, from Neal Stephenson's Diamond Age
Reply With Quote
  #4  
Old November 14th, 2001, 11:51 PM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
There are lots of other escape sequences, that one is not in the man page for tcsh, I'm not sure where it is documented. I should have mentioned where I cribbed from.

http://slashdot.org/article.pl?sid=0...59&mode=thread

Browse through there, there's some truly weird stuff people have worked out.
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
Reply With Quote
  #5  
Old November 15th, 2001, 01:32 PM
Registered User
 
Join Date: Feb 2001
Location: San Francisco
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
sinebubble is on a distinguished road
TITLEBAR

Kartoffel,
You-Are-The-Man=Kartoffel; export You-Are-The-Man

I love that tip. I routinely have 10 ssh sessions running and I'm tired of shift-command-t 'ing each window just to get a hostname in the titlebar. Wow!
__________________
G3 500MHz Pismo
UltraSPARCII 500MHz Netra
Reply With Quote
  #6  
Old November 15th, 2001, 03:31 PM
genghiscohen's Avatar
Membrum virile
 
Join Date: Sep 2001
Location: Sea of Tranquility
Posts: 805
Thanks: 0
Thanked 0 Times in 0 Posts
genghiscohen is on a distinguished road
Ummm, are these answers providing a little more detail than the original question was seeking?
When you open the Customize Toolbar window, one of the available choices that you can add is Path.
Just my $0.02 worth...
__________________
--
"No left turn unstoned."
(PowerBook 15" 1.5 GHz/80/1.5 GB, eMac 1 GHz/80/768 MB, SuperDrive, 250 GB FireWire HD, Lexmark Z65 printer, Epson Perfection 1200U scanner)
Reply With Quote
  #7  
Old November 15th, 2001, 08:12 PM
Registered User
 
Join Date: Aug 2001
Location: Arlington, VA
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Iolaire is on a distinguished road
Thanks for all the help!

Thanks for all the help!
I must say that genghiscohen is thinking along the same lines as me.

I have selected Customize Toolbar Path, this is what got me seeking the full path in a text format. What I'm seeking is in a normal finder window to have the UNIX path rather than the drop down "Mac" path given in the Customize toolbar Path in a paste-able method.

i.e. no path button but instead:
/applications/utilities/
or
Macintosh HD:Applications:Utilities
--- in the finder window not a shell window

My thinking is that the toolbar can be customized and thus someone should be able to do the same for the finder window as they suggest doing for the shell windows.

Don't ask me exactly how I would benefit from this feature, but I find it very helpful on the PC at work (usually creating a shortcut or sending a link to a networked file via email). I think it would help me get familiar with the deep folders that we are working with now on X.
Thanks,
iolaire
Reply With Quote
  #8  
Old November 15th, 2001, 08:29 PM
Registered User
 
Join Date: Feb 2001
Location: San Francisco
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
sinebubble is on a distinguished road
paths in finder windows

Ah, just like in Windows, you mean.
__________________
G3 500MHz Pismo
UltraSPARCII 500MHz Netra
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
[HOWTO] - Clone a finder window. MacLuv HOWTO & FAQs 2 May 21st, 2004 10:12 PM
[HOWTO] - Cool Keyboard/Mouse Combos zootbobbalu HOWTO & FAQs 45 October 8th, 2003 06:36 AM
Starting finder window from Terminal Ripcord Mac OS X System & Mac Software 2 June 22nd, 2003 06:57 PM
Path Finder (ex-SNAX) - great Finder replacement celeborn Mac OS X System & Mac Software 2 January 18th, 2003 10:48 PM


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