how to hide the console window.

2012-02-23 Thread tianlijian
how to hide the console window. the bat code is: @echo off REM batch file directory set BATCH_FILE_DIR=%~dp0 set PATH=/usr/sbin;/bin;/usr/bin;%PATH% REM %BATCH_FILE_DIR%bin\bash.exe -c /usr/sbin/sshd start sshd by wei %BATCH_FILE_DIR%bin\bash.exe -c /usr/sbin/sshd echo success... REM

Re: how to hide the console window.

2012-02-23 Thread tianlijian
hi how to hide the console window. the bat code is: @echo off REM batch file directory set BATCH_FILE_DIR=%~dp0 set PATH=/usr/sbin;/bin;/usr/bin;%PATH% REM %BATCH_FILE_DIR%bin\bash.exe -c /usr/sbin/sshd start sshd by wei %BATCH_FILE_DIR%bin\bash.exe -c /usr/sbin/sshd echo

how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread tianlijian
how to let cygwin does not mount /bin /usr/bin automaticlly? -- 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

Re: how to let cygwin does not mount /bin /usr/bin automaticlly?

2009-09-22 Thread tianlijian
I use a older version of 1.7, which do not mount `/bin', `/usr/bin' automatically. It works well. On Tue, Sep 22, 2009 at 11:04 PM, Dave Korn dave.korn.cyg...@googlemail.com wrote: tianlijian wrote: how to let cygwin does not mount /bin /usr/bin automaticlly?  Lots of things won't work

Re: set the PS1 env with SGR cause cusor problem

2009-04-18 Thread tianlijian
According to tianlijian on 4/17/2009 8:14 PM: 1. add the export PS1='[\[\e[1;34m\]\W\[\e[0m\]]\$ ' to /etc/profile or ~/.bash_profile .    The statement mush be putted in the configuration file, can not execute the bash command line, otherwise the problem will not occur. 2. type the command 'one

Re: set the PS1 env with SGR cause cusor problem

2009-04-17 Thread tianlijian
1. add the export PS1='[\[\e[1;34m\]\W\[\e[0m\]]\$ ' to /etc/profile or ~/.bash_profile . The statement mush be putted in the configuration file, can not execute the bash command line, otherwise the problem will not occur. 2. type the command 'one two three four five six' in the command line. 3