* rxvt hanging after latest cygwin update
@ 2003-09-08 7:12 Thomas V. Fischer
0 siblings, 0 replies; 4+ messages in thread
From: Thomas V. Fischer @ 2003-09-08 7:12 UTC (permalink / raw)
To: cygwin
Hey all,
I just upgraded my cygwin installation to the new release made available at
the beginning of the month.
Since this upgrade, my rxvt launch script doesn't work anymore.
I have the following dos-batch script:
start /i /min /separate /b $PATH2CYG\bash --login -c "/startrxvt.sh 12
&"
The startrxvt.sh script looks like this:
#!/bin/bash
#Redirect IO to allow parent terminal to closr
exec 0< /dev/null
exec 1> ~/.xdmcp-errors
exec 2>&1
# Select font size
FONTSIZE=12
if [ -n "$1"]; then FONTSIZE=$1; fi
rxvt -bg black -fg green -fn "-*-Lucida
Console-*-*-*-*-$FONTSIZE-*-*-*-*-*-*-*" -sr -sl 1024 -e
"/bin/bash --login -i -x" &
#
The rxvt window opens but hangs. I don't see the scroll bar and there are no
prompts. The window doesn't refresh, resize... nothing happens. I have to
kill it in order to get rid of it.
This script has worked for a long time and works on another machine which I
haven't upgraded yet.
My system is running WindowsXP-SP1
If i run the commands manually, everything works ok.
Thnks for your help
---
Thomas Fischer, MCSE mailto:tvfischer@wanadoo.fr
mailto:tvfischer@worldonline.fr
Apple, WinNT, e-Mail, Groupware
mailto:tfischer@slb.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rxvt hanging after latest cygwin update
2003-09-12 8:31 Thomas V. Fischer
2003-09-12 9:00 ` Corinna Vinschen
@ 2003-09-12 15:30 ` Andrew DeFaria
1 sibling, 0 replies; 4+ messages in thread
From: Andrew DeFaria @ 2003-09-12 15:30 UTC (permalink / raw)
To: cygwin
Thomas V. Fischer wrote:
> Hello all,
>
> I figured out what was wrong.
>
> It seems to be the statement 'exec 2>&1' that is no longer working.
>
> Rgds
> ----- Original Message -----
> From: "Thomas V. Fischer" <tvfischer_l@worldonline.fr>
> To: <cygwin@cygwin.com>
> Sent: Monday, September 08, 2003 09:12
> Subject: rxvt hanging after latest cygwin update
>
>
>> Hey all,
>>
>> I just upgraded my cygwin installation to the new release made available
>
> at
>
>> the beginning of the month.
>>
>> Since this upgrade, my rxvt launch script doesn't work anymore.
>>
>> I have the following dos-batch script:
>>
>> start /i /min /separate /b $PATH2CYG\bash --login -c "/startrxvt.sh 12
>> &"
>>
>> The startrxvt.sh script looks like this:
>>
>> #!/bin/bash
>>
>> #Redirect IO to allow parent terminal to closr
>> exec 0< /dev/null
>> exec 1> ~/.xdmcp-errors
>> exec 2>&1
>
Question: Why are you doing this? What do you mean by "allow parent
terminal to closr[sic]"?
>>
>>
>> # Select font size
>> FONTSIZE=12
>> if [ -n "$1"]; then FONTSIZE=$1; fi
>>
>> rxvt -bg black -fg green -fn "-*-Lucida
>> Console-*-*-*-*-$FONTSIZE-*-*-*-*-*-*-*" -sr -sl 1024 -e
>> "/bin/bash --login -i -x" &
>> #
>>
>> The rxvt window opens but hangs. I don't see the scroll bar and there are
>
> no
>
>> prompts. The window doesn't refresh, resize... nothing happens. I have to
>> kill it in order to get rid of it.
>> This script has worked for a long time and works on another machine which
>
> I
>
>> haven't upgraded yet.
>>
>> My system is running WindowsXP-SP1
>>
>> If i run the commands manually, everything works ok.
>>
>> Thnks for your help
>>
>>
>> ---
>> Thomas Fischer, MCSE mailto:tvfischer@wanadoo.fr
>> mailto:tvfischer@worldonline.fr
>> Apple, WinNT, e-Mail, Groupware
>> mailto:tfischer@slb.com
>>
>
>
> ===
> Obligatory witty line: RAM disk is *not* an installation procedure.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rxvt hanging after latest cygwin update
2003-09-12 8:31 Thomas V. Fischer
@ 2003-09-12 9:00 ` Corinna Vinschen
2003-09-12 15:30 ` Andrew DeFaria
1 sibling, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2003-09-12 9:00 UTC (permalink / raw)
To: cygwin
On Fri, Sep 12, 2003 at 10:29:19AM +0200, Thomas V. Fischer wrote:
> Hello all,
>
> I figured out what was wrong.
>
> It seems to be the statement 'exec 2>&1' that is no longer working.
$ cat foo.sh
#!/bin/bash
exec 0</dev/null
exec 1>~/.foobar
exec 2>&1
ls qwert foo.sh
$ bash --login -c "./foo.sh"
$ cat .foobar
ls: qwert: No such file or directory
foo.sh
$
Well...
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rxvt hanging after latest cygwin update
@ 2003-09-12 8:31 Thomas V. Fischer
2003-09-12 9:00 ` Corinna Vinschen
2003-09-12 15:30 ` Andrew DeFaria
0 siblings, 2 replies; 4+ messages in thread
From: Thomas V. Fischer @ 2003-09-12 8:31 UTC (permalink / raw)
To: cygwin
Hello all,
I figured out what was wrong.
It seems to be the statement 'exec 2>&1' that is no longer working.
Rgds
----- Original Message -----
From: "Thomas V. Fischer" <tvfischer_l@worldonline.fr>
To: <cygwin@cygwin.com>
Sent: Monday, September 08, 2003 09:12
Subject: rxvt hanging after latest cygwin update
> Hey all,
>
> I just upgraded my cygwin installation to the new release made available
at
> the beginning of the month.
>
> Since this upgrade, my rxvt launch script doesn't work anymore.
>
> I have the following dos-batch script:
>
> start /i /min /separate /b $PATH2CYG\bash --login -c "/startrxvt.sh 12
> &"
>
> The startrxvt.sh script looks like this:
>
> #!/bin/bash
>
> #Redirect IO to allow parent terminal to closr
> exec 0< /dev/null
> exec 1> ~/.xdmcp-errors
> exec 2>&1
>
> # Select font size
> FONTSIZE=12
> if [ -n "$1"]; then FONTSIZE=$1; fi
>
> rxvt -bg black -fg green -fn "-*-Lucida
> Console-*-*-*-*-$FONTSIZE-*-*-*-*-*-*-*" -sr -sl 1024 -e
> "/bin/bash --login -i -x" &
> #
>
> The rxvt window opens but hangs. I don't see the scroll bar and there are
no
> prompts. The window doesn't refresh, resize... nothing happens. I have to
> kill it in order to get rid of it.
> This script has worked for a long time and works on another machine which
I
> haven't upgraded yet.
>
> My system is running WindowsXP-SP1
>
> If i run the commands manually, everything works ok.
>
> Thnks for your help
>
>
> ---
> Thomas Fischer, MCSE mailto:tvfischer@wanadoo.fr
> mailto:tvfischer@worldonline.fr
> Apple, WinNT, e-Mail, Groupware
> mailto:tfischer@slb.com
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-12 15:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-08 7:12 rxvt hanging after latest cygwin update Thomas V. Fischer
2003-09-12 8:31 Thomas V. Fischer
2003-09-12 9:00 ` Corinna Vinschen
2003-09-12 15:30 ` Andrew DeFaria
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).