[24832] trunk/base/src/port/port.tcl
James Berry
jberry at macports.org
Sat May 5 19:04:09 PDT 2007
Hi Randall,
On May 5, 2007, at 5:53 PM, Randall Wood wrote:
>
> On 5 May 2007, at 20:41, source_changes at macosforge.org wrote:
>
>> Revision 24832 Author jberry at macports.org Date 2007-05-05 17:41:51
>> -0700 (Sat, 05 May 2007) Log MessageStore readline history in
>> ~/.macports/.history instead of ~/.port_history
>
> Why ~/.macports/.history and not ~/.macports/history (why a .file
> in a .dir)?
Well, my reasoning may have been a bit lame, but it seemed like since
it's not normally a file anybody wants to read (while there are other
files in ~/.macports that they do) that it was just as well to keep
it hidden and out of the way.
> And while I'm asking why not use ~/Library/Application Support/
> Macports instead of ~/.macports? Isn't it the Apple way to use the
> Library instead of .dirs?
Very good question. I'd be happy to hear feedback from other
developers. I'd happy with either.
>> Modified Paths
>> trunk/base/src/port/port.tcl
>> Diff
>> Modified: trunk/base/src/port/port.tcl (24831 => 24832) --- trunk/
>> base/src/port/port.tcl 2007-05-06 00:35:02 UTC (rev 24831) +++
>> trunk/base/src/port/port.tcl 2007-05-06 00:41:51 UTC (rev 24832)
>> @@ -2434,13 +2434,14 @@ proc process_command_file { in } { global
>> current_portdir + global darwinports::autoconf::macports_user_dir
>> # Initialize readline set isstdin [string match $in "stdin"] set
>> name "port" set use_readline [expr $isstdin && [readline init
>> $name]] - set history_file [file normalize "~/.${name}_history"]
>> - + set history_file [file normalize "$
>> {macports_user_dir}/.history"] + # Read readline history if
>> {$use_readline} { rl_history read $history_file
>> _______________________________________________
>> macports-changes mailing list
>> macports-changes at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/macports-changes
>
>
>
> Randall Wood
> rhwood at mac.com
> http://shyramblings.blogspot.com
>
> "The rules are simple: The ball is round. The game lasts 90
> minutes. All the
> rest is just philosophy."
>
>
More information about the macports-dev
mailing list