From: Paul Sture on
In article <barmar-181615.02210415012010(a)news.eternal-september.org>,
Barry Margolin <barmar(a)alum.mit.edu> wrote:

> In article <hiot4b$a1p$2(a)news.eternal-september.org>,
> Wes Groleau <Groleau+news(a)FreeShell.org> wrote:
>
> > Barry Margolin wrote:
> > > What about the dot-files in your home directory? How do you edit your
> > > .profile if you can't see it? Or if you use SSH, you need to edit your
> > > ~/.ssh/config file.
> >
> > If you can't see .profile, then you're not using Terminal.
> >
> > And if you're not using Terminal, why do you need to edit .profile ?
>
> Just because you use Terminal for running commands doesn't mean you use
> it to edit files. It's not actually a problem for me, I use Emacs for
> text editing. But there are probably people who use TextEdit, BBedit,
> etc.
>
> And at work, we have to use a web form to upload SSH keys. I keep them
> in my ~/.ssh directory, but the browser's file dialogue doesn't show
> this. That's why I needed to create a visible symlink.

I use TinkerTool to switch on Finder's display of system/hidden files on
the rare occasions I want this, but leave it switched off for normal use.

--
Paul Sture
From: Paul Sture on
In article <00c16980$0$8200$c3e8da3(a)news.astraweb.com>,
JF Mezei <jfmezei.spamnot(a)vaxination.ca> wrote:

> Jolly Roger wrote:
>
> > I manage servers for a living. Accessing such files in the graphical
> > user interface not only unnecessary - in some cases it's more trouble
> > than it's worth, IMO. Are you not familiar with command-line text
> > editors?
>
> I am sorry, but I didn't move from VMS to Xserve to move from 1990s
> Xwindow text editor (TPU) to a 1970s text editor (which vi is).

vim is a bit more advanced than vi. One important thing to remember
about it is that it is available on any *nix system in standalone
console mode. The fundamentals of it are worth learning for that alone
IMHO.

> TextWrangler seems OK, but it is not X, so I cannot type "edit
> mumble.conf" on the server and have the textwrangler pop up on my
> workstation.

I'd somehow missed the edit command method for opening TextWrangler.
Thanks for bringing it to my attention.

For those who haven't come across it:

man edit

--
Paul Sture
From: Steven Fisher on
In article <019522d7$0$24647$c3e8da3(a)news.astraweb.com>,
JF Mezei <jfmezei.spamnot(a)vaxination.ca> wrote:

> In Finder, one can "Go -> Go To Folder" and specify any valid "unix"
> path name (for instance /etc/postfix) and you get a finder window with
> the contents of that file.
>
> But in file selection dialogues, I can't seem to be able to get to this.
>
> In my mind, this used to be possible.

Pretty sure it wasn't. There's a few exceptions... TextWrangler, for
instance, has an Open Hidden command.


Steve
From: Nick Naym on
In article paul.nospam-025003.16465815012010(a)pbook.sture.ch, Paul Sture at
paul.nospam(a)sture.ch wrote on 1/15/10 10:46 AM:

> In article <barmar-181615.02210415012010(a)news.eternal-september.org>,
> Barry Margolin <barmar(a)alum.mit.edu> wrote:
>
>> In article <hiot4b$a1p$2(a)news.eternal-september.org>,
>> Wes Groleau <Groleau+news(a)FreeShell.org> wrote:
>>
>>> Barry Margolin wrote:
>>>> What about the dot-files in your home directory? How do you edit your
>>>> .profile if you can't see it? Or if you use SSH, you need to edit your
>>>> ~/.ssh/config file.
>>>
>>> If you can't see .profile, then you're not using Terminal.
>>>
>>> And if you're not using Terminal, why do you need to edit .profile ?
>>
>> Just because you use Terminal for running commands doesn't mean you use
>> it to edit files. It's not actually a problem for me, I use Emacs for
>> text editing. But there are probably people who use TextEdit, BBedit,
>> etc.
>>
>> And at work, we have to use a web form to upload SSH keys. I keep them
>> in my ~/.ssh directory, but the browser's file dialogue doesn't show
>> this. That's why I needed to create a visible symlink.
>
> I use TinkerTool to switch on Finder's display of system/hidden files on
> the rare occasions I want this, but leave it switched off for normal use.

I have TinkerTool, but I found that another freebie, "Invisibility Toggler"
-- available from macupdate (http://is.gd/6kUUu) and similar sites, as well
as the developer's current site (http://tjmsoftware.thejoshmeister.com) --
so much more convenient: A single click toggles the invisibles on; a second
click toggles them back off. It's a rather old app, but works flawlessly on
Leopard and, according to the developer (read the fine print under his Snow
Leopard video review at http://is.gd/6kYEA), works with Snow Leopard as
well.

--
iMac (24", 2.8 GHz Intel Core 2 Duo, 2GB RAM, 320 GB HDD) � OS X (10.5.8)

From: Jolly Roger on
In article <paul.nospam-3F87BF.16545215012010(a)pbook.sture.ch>,
Paul Sture <paul.nospam(a)sture.ch> wrote:

> In article <00c16980$0$8200$c3e8da3(a)news.astraweb.com>,
> JF Mezei <jfmezei.spamnot(a)vaxination.ca> wrote:
>
> > Jolly Roger wrote:
> >
> > > I manage servers for a living. Accessing such files in the graphical
> > > user interface not only unnecessary - in some cases it's more trouble
> > > than it's worth, IMO. Are you not familiar with command-line text
> > > editors?
> >
> > I am sorry, but I didn't move from VMS to Xserve to move from 1990s
> > Xwindow text editor (TPU) to a 1970s text editor (which vi is).
>
> vim is a bit more advanced than vi. One important thing to remember
> about it is that it is available on any *nix system in standalone
> console mode. The fundamentals of it are worth learning for that alone
> IMHO.

Yep - you can usually counting on it being available on most any system.
Learn it once, and use it everywhere. It pays to be skilled in vi/vim.

> > TextWrangler seems OK, but it is not X, so I cannot type "edit
> > mumble.conf" on the server and have the textwrangler pop up on my
> > workstation.
>
> I'd somehow missed the edit command method for opening TextWrangler.
> Thanks for bringing it to my attention.
>
> For those who haven't come across it:
>
> man edit

Yep. I almost mentioned it, but figured he wasn't worth it.

(Personally I still prefer command-line editing for such files.)

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR