Re: Issue with server documents

83 views
Skip to first unread message

Patrick Woolsey

unread,
Oct 9, 2012, 7:40:00 PM10/9/12
to textwr...@googlegroups.com
At 02:09 -0700 10/08/2012, weirdbeardmt wrote:
>Have been using Textwrangler for a number of years, and it's a great
>product. My most common use is editing website files. Typically I have
>these on a network fileshare on my home network.
>
>A common scenario I find though is
>
>a) I'm working on some files on the network share
>b) I then take my laptop somewhere off my home network
>c) Obviously the network shares can't be accessed / are disconnected
>d) When I try and close Textwrangler, I get the spinning beach ball of
>death for a while. It eventually closes.


In the last step, that's more the Temporary Spinning Beachball of Can I
Reach That Server? :-)

The key factor here is that though c) may be obvious to you or I, neither
TextWrangler nor the OS can tell whether a server is actually available
without trying to access it.


>A similar issue is the same scenario in reverse (ish)
>
>a) I'm working on some files on the network share
>b) I close the Textwrangler app, but not the individual files in the sidebar
>c) I then take my laptop somewhere off my home network
>d) I open Textwrangler. I get the spinning beach ball of death for a
>while, presumably while it tries to find / open the previously open docs.


In this case, however, TextWrangler can offer you some control over its
behavior via several expert prefs options. Cribbing from the "Expert
Preferences" page of TextWrangler's Help book:

========

Sleep and Auto-Save

[...]

* TextWrangler provides control over whether documents on remote
servers (FTP/SFTP) or unmounted volumes are opened when
automatically reopening documents at application startup. You
can modify its behavior with these settings:

defaults write com.barebones.textwrangler AllowVolumeMount -bool YES

# If set to NO, TextWrangler will not attempt to mount a volume
# containing a document it wants to reopen. defaults to YES.

defaults write com.barebones.textwrangler ReopenRemoteDocuments -bool YES

# If set to NO, TextWrangler will not attempt to open any documents
# that were opened from FTP/SFTP servers. Defaults to YES.

defaults write com.barebones.textwrangler
PromptToReopenRemoteDocuments - bool YES

# If set to YES (the default), TextWrangler will prompt to give you the
# opportunity to skip remote documents.
# If set to NO, TextWrangler will open remote documents without
# asking, if ReopenRemoteDocuments is set to YES.
# Has no effect if ReopenRemoteDocuments is set to NO.

========


Regards,

Patrick Woolsey
==
Bare Bones Software, Inc. <http://www.barebones.com/>
Reply all
Reply to author
Forward
0 new messages