Mail Archives: cygwin/2004/05/25/14:15:24
> From: Fred Kulack
> Sent: Tuesday, May 25, 2004 4:17 PM
> Interesting tests. I still can't get it to fail...
>
> What terminal are you using? Perhaps there's something weird
> going on with
It is as always started with:
set CYGWIN=notitle glob check_case:strict server=1
bash -c 'rxvt -ls -e /usr/bin/bash --login -i &'
from within cygwin.bat
$ cat .Xdefaults
# XTerm == rxvt as rxvt simulates xterm
rxvt.background: black
rxvt.foreground: grey
rxvt.visualBell: true
rxvt.keysym.7e37: ^A
rxvt.keysym.7e38: ^E
rxvt.cutchars: "/`"'&()*,;<=>?@[]{|}"
rxvt.meta8: true
rxvt.backspacekey: ^H
# Don't juggle display when 'doing' output
rxvt.scrollTtyOutput: false
rxvt.scrollWithBuffer: false
rxvt.scrollTtyKeypress: true
# Local preferences
rxvt.saveLines: 6000
rxvt.scrollBar_right: true
rxvt.scrollColor: #c5c0a5
# Allow four columns of ls output
# ...nicely positioned on 1024x768 pixels
rxvt.geometry: 112x56+20+20
rxvt.font: Lucida Console-12
# Peculiar char spacing
# rxvt.font: Verdana-13
> flow control as descriptors are dup'd for the utilities there?
> I'm using plain old winblows console.
As you can see above, I'm using rxvt - I've found it superior in many ways.
NOTE: You can run it _without_ X, that is what I do.
> Did you try the regular echo instead of the builtin? It may have
> different characteristics with regard to this.
Hmm... not as it seems from a quick test (read below).
> Also, the zz.sh script wouldn't run correctly for me unless I
> made it used
> the magic number #!/bin/bash,
> it was running sh instead of bash and didn't support some of the
> constructs used.
> Some weirdness with sh versus bash mode... I never had to pay much
> attention
> to the relationships there, but perhaps that's related to the cause?
Nah..? I didn't show it (sorry), but I ran the zz.sh script as in:
$ . ../zz.sh
from the bash prompt.
/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E
- test log -
$ md zz && cd zz
$ ls -l
total 0
$ cat ../zz.sh
x=10
while [ $x -lt 20 ]; do echo -en "\r$x ";mkdir $x; x=`expr $x + 1`; done
for d in *; do echo -en "\r$d ";touch $d/aaa-$d; touch $d/bbb-$d; done
command ls -d * | while read d; do /bin/echo -e "\n-$d-"; ls $d ; done
$ . ../zz.sh
19
-10-
aaa-10 bbb-10
-11-
aaa-11 bbb-11
-12-
aaa-12 bbb-12
-13-
aaa-13 bbb-13
-14-
aaa-14 bbb-14
-15-
aaa-15 bbb-15
-16-
aaa-16 bbb-16
-17-
aaa-17 bbb-17
-18-
aaa-18 bbb-18
-19-
aaa-19 bbb-19
$ command ls -d * | while read d; do /bin/echo -e "\n-$d-"; ls $d ; done
-10-
aaa-10 bbb-10
-11-
aaa-11 bbb-11
-12-
aaa-12 bbb-12
-13-
-14-
aaa-13 bbb-13
aaa-14 bbb-14
-15-
aaa-15 bbb-15
-16-
aaa-16 bbb-16
-17-
-18-
-19-
aaa-17 bbb-17
aaa-18 bbb-18
$ aaa-19 bbb-19 <I hit enter once here>
$
--
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/
- Raw text -