curl ;-)
Regards
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cyg
-create-dirs option. I
only want to put the setup-2.9.4321.exe in the destination folder without
giving the destination filename, i.e, let curl use the filename appeared
in the remote site/webpage to name the downloaded file automatically.
Any hints for my purpose?
Regards
--
.: Hongyi Zhao [ h
case, the setup-2.9.4321.exe should be put into the ./miktex/
setup/ with the original filename, but I always find that the
setup-2.9.4321.exe is put into the current working directory. Any hints
on this issue?
Best regards.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom
myscript's pathname, the batch will fail to run.
>
>Hmm, perhaps the argument mangling at program startup is using the
>ANSI codepage (i.e. GBK in this case) when it should be using UTF-8?
But, if I convert my batch file into UTF-8 (without BOM, CR/LF line
endings) format, I
On Fri, 19 Feb 2010 12:40:15 +0800, Hongyi Zhao
wrote:
>@echo off
>C:\cygwin\bin\bash --login "%~dp0myscript"
I've found a more strange thing: If I change the batch file into the
following form, then it will be run smoothly:
@echo off
C:\cygwin\bin\bash --login %~dp0my
[snipped]
>
>> What should I do to solve this problem?
>
>If you must run from a batch file, convert the path to POSIX using
>'cygpath' before bash sees it.
Then, what contents should the batch file included in?
Thanks in advance.
--
.: Hongyi Zhao [ hongyi.zhao
On Fri, 19 Feb 2010 12:40:15 +0800, Hongyi Zhao
wrote:
[snip]
>What should I do to solve this problem?
ps. I use windows xp sp3.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports: http://cygwin.com/problems.html
FAQ: h
irectly, it will no problem.
What should I do to solve this problem?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
On Mon, 8 Feb 2010 02:31:34 -0500, Christopher Faylor
wrote:
>c:\cygwin\bin\bash script
What's the differences between the following two invoking methods:
c:\cygwin\bin\bash script
and
c:\cygwin\bin\bash --login script
Regards.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Fr
Hi all,
Is it possible to run a bash script using cygwin without login to the
cygwin's terminal? For example, in order to run the script, just
double click on it.
Best regards.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports: http://cygwi
code should I use for this
purpose?
Best regards.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info
On Sat, 12 Dec 2009 23:28:08 -0500, Chris Sutcliffe
wrote:
>cd "`cygpath -u "$APPDATA"`"
Good, thanks.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin
On Sat, 12 Dec 2009 20:14:56 -0800, Steven Monai
wrote:
>This command:
>
> cd "$APPDATA"
>
>works for me.
Good, thanks.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports: http://cygwin.com/problems.html
FAQ:
Hi all,
I want to change to current directory to %appdata% folder by using
some command within cygwin. Is this possible?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq
udes the following line only:
C:\cygwin\bin\bash --login "%~dp0test.sh"
In this case, the above code will doesn't take effect. But the
following one will run successfully:
awk 'NR==FNR{a[$0]++} NR>FNR&&!a[$0]' file1 file2
I cann't figured out the reason.
eturned by
the switch --socks5. Why does this happen? Any hints will be highly
appreciated.
Best regards.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documenta
Do you trim the part after the @ sign manually by hand or
automatically by your mail transport agent (MTA) / news reader? What's
the MTA / news reader used by you?
Best regards.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Problem reports:
n Tuesday, October 13, 2009 at 13:44, dave.korn.cygwin wrote:
>>> Hongyi Zhao wrote:
>
>
>> I want to use wget to grab the following web page:
>>
>> http://www.cybersyndrome.net/pla5.html
>
> Then, you can tell wget to use your local privoxy as an http proxy, which i
On Tuesday, October 13, 2009 at 13:44, dave.korn.cyg...@googlemail.com wrote:
> Hongyi Zhao wrote:
>> Hi all,
>>
>> Tor (http://www.torproject.org/) is a great free software.
>>
>> When I installed Tor on my winxp system, then I have a local socks
>> pro
Hi all,
Tor (http://www.torproject.org/) is a great free software.
When I installed Tor on my winxp system, then I have a local socks
proxy server: 127.0.0.1:9050
Now, I want to use wget through this SOCKS proxy provided by Tor under
cygwin.
Any hints on this issue?
Thanks in advance.
Hongy
Hi all,
I want to send some message to a specific or a group of IP(s). Is/are
there some IP messager tool(s) within cygwin?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http
Hi all,
Are there some tools within cygwin to do the following task:
convert html to rss feeds.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
On Wed, 11 Mar 2009 04:37:46 +, Dave Korn
wrote:
> It's bash shell metacharacters. The '&' character terminates a command and
>puts it into the background. The simplest way is to use single quotes ' '
>around the URL you want to cygstart.
Thanks a
pdf&mode=pdf
The above codes will fail, while the following ones will does the
trick:
MyWileyID = 108568046
cygstart
http://www3.interscience.wiley.com/cgi-bin/fulltext?ID=$MyWileyID\&PLACEBO=IE.pdf\&mode=pdf
Any hints on this issue?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.
On Sat, 07 Mar 2009 16:31:07 +, Dave Korn
wrote:
> cygstart "http://www.google.cn";
>
> The "cygstart" utility can launch anything that you can type in the "Start
>Menu" -> "Run" box.
Thanks a lot.
--
.: Hongyi Zhao [ hongyi.zha
Hi all,
I want to opena url, say http://http://www.google.cn by the system's
default explorer, such as IE, from within a cygwin/bash script. What
should I write this code?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.c
Hi all
Are there some tools from cygwin to manipulate the windows's clipboad?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Document
Hi all,
I've written a cygwin/bash script and want to run it by a customized
hotkey laterly, it this possible?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwi
in
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named socket
>>>
--
.: Hongyi Zhao [ hongyi.zhao AT g
gwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
File "", line 1
import socket
^
SyntaxError: invalid syntax
>>>
Could you please give me some hints?
--
.: Hongyi Zhao
Hi all,
The cygwin doesn't has the root user by default. How can I add it and
then login as root only when I require root privilege to do something?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Pr
w are there some rsync servers of cygwin so that I use
them to synchronize my local repository to the latest version
Regards,
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwi
On Fri, 09 Jan 2009 07:36:26 -0700, Eric Blake wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>According to Hongyi Zhao on 1/9/2009 6:38 AM:
>> But I cann't figure this out, see the following results on my box:
>>
>> $ echo [ -f *.cache-2 ]
>
On Fri, 09 Jan 2009 06:12:27 -0700, Eric Blake wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>According to Hongyi Zhao on 1/8/2009 8:55 PM:
>> if [ -f *.cache-2 ] rm *.cache-2
>>
>> But it seems that this -f parameter in the _if_ command will not wo
On Fri, 9 Jan 2009 00:42:21 -0500, Christopher Faylor
wrote:
>On Fri, Jan 09, 2009 at 11:55:46AM +0800, Hongyi Zhao wrote:
>>Hi all,
>>
>>I want to delete the all of the cache-2 files under a directory, so I
>>use the following line to do this:
>>
>>if [
On Thu, 08 Jan 2009 22:01:26 -0600, "Yaakov (Cygwin/X)"
wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA256
>
>Hongyi Zhao wrote:
>> I want to delete the all of the cache-2 files under a directory, so I
>> use the following line to do this:
>>
>&g
ts on this issue?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwi
On Thu, 8 Jan 2009 16:46:26 + (UTC), Eric Blake
wrote:
>Hongyi Zhao gmail.com> writes:
>
>>
>> Hi all,
>> 1- I only know that use the following command to obtain the the above
>> path's stem:
>>
>> findtexmf psfonts_t1.map
>
>cd &
On Thu, 8 Jan 2009 16:46:26 + (UTC), Eric Blake
wrote:
>Hongyi Zhao gmail.com> writes:
>
>>
>> Hi all,
>> 1- I only know that use the following command to obtain the the above
>> path's stem:
>>
>> findtexmf psfonts_t1.map
>
>c
the cygwin/bash, if the space are included in the path, it will
be troublesome.
4- Furthermore, the cygwin use the following path as the initial part
of its path:
/cygdrive/c/...
So, how can I can get my path and then cd to that path within
cygwin/bash? I've tried a bit but failed.
Reg
rks for me just
>fine. There is one known problems: it does not work properly on a UNC
>styled path. At the moment I have no plans to continue developing it.
>Maybe if people are interested...
Thanks a lot, I'll try to use it on my box.
Regards,
--
.: Hongyi Zhao [
positional parameters, starting with $0.
>
>http://cygwin.com/acronyms/#RTFM
Thanks for your detailed explanations.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/
e., _\_, should be used instead of the bash convention,
i.e., _/_, as the delimitor of path.
5- In your case,
>d:\> bash -c ./myscript
actully, in the usage, the file myscript must ba put into the bash's
directory, i.e., C:\cygwin\bin. This is not a convenient solution.
Regards,
--
.
On Sun, 4 Jan 2009 12:07:31 +0100, Spiro Trikaliotis
wrote:
>Hello,
>
>* On Sun, Jan 04, 2009 at 06:20:20PM +0800 Hongyi Zhao wrote:
>
>> I've some cygwin/bash scripts and I want to invoke them without log
>> into the Cygwin's bash terminal. Is this possible
dig
>that up in my archives if you interested.
Very good, would you kindly give me a copy of this utility if you've
found it?
Regards,
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem repo
Hi all,
I've some cygwin/bash scripts and I want to invoke them without log
into the Cygwin's bash terminal. Is this possible?
Regards,
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Probl
in $FILELIST; do
PACKAGE_DIR="release/"`dirname $thefile`
mkdir -p $PACKAGE_DIR
chmod +rw $DOWNLOAD_DIR"/"`basename $thefile`
cp -f $DOWNLOAD_DIR"/"`basename $thefile` $PACKAGE_DIR
done
--
These are the case of m
he same time on your behalf by setup.exe. If you truly have
>a case where it didn't, then we need more details in order to fix the bug.
I see. Thanks again.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubs
p tool cann't
decide the dependence among packages for me automatically.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: ht
setup.ini file, where should I put these pakcages? More specifically,
should I use the field value of _install:_ or the field value of
_source:_ to construct the local directory tree for my cygwin's
repository?
Regards,
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Free
On Mon, 22 Dec 2008 07:19:44 -0700, Eric Blake wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>According to Hongyi Zhao on 12/22/2008 6:54 AM:
>> Hi all,
>>
>> I've tried to compile GCC 4.3.2 / 4.4.0 under my CYGWIN_NT-5.1
>> 1.5.25(0.
Hi all,
I've tried to compile GCC 4.3.2 / 4.4.0 under my CYGWIN_NT-5.1
1.5.25(0.156/4/2) but failed. Can anyone have the successful
experience on doing this? Would anyone kindly give me some hints?
Thanks in advance.
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Fr
52 matches
Mail list logo