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

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.

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 wrote: > tianlijian wrote: >> how to let cygwin does not mount /bin /usr/bin automaticlly? > >  Lots of things won't work

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: set the PS1 env with SGR cause cusor problem

2009-04-18 Thread tianlijian
A1 > > 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

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.