On 2/4/07, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
I can't reproduce this issue. I few questions:
* What fish verion are you using? Does this happen with the latest
version as well?
I'm using the packaged version 1.22.1 on Debian. I built version
1.22.2 and it shows the same behavior.
* What terminal are you using? Does this also happen on xterm?
I'm using rxvt, but xterm does the same, and so does the non-X console.
* If you are using fish 1.22.0 or later try 'touch
~/.config/fish/fish_inputrc', otherwise try 'touch ~/.fish_inputrc'.
Does this help?
No effect.
* If you turn the above script into a bash script, does it still clear
the screen?
Bash version does not clear the screen.
Here's some more info. Running the same command at a prompt works:
for i in 1 2 3 4; echo $i; end
displays the numbers but does not clear the screen. It only happens if
I put it in a script and run it. It happens if I run the script as
"./test.fish" or as "fish test.fish". I captured the output of the
script, and it had a surprise at the end:
1
2
3
4
^[[H^[[2J
Those control codes are what is clearing the screen. I guess the
question is why are those being output. I've attached the output file,
which is identical under version 1.22.1 and 1.22.2. I'll dig into the
source a bit and see if I can figure anything out. Let me know if I
can give any other info which might help. Or if I'm the only one
having this problem, feel free not to waste time on it. :)
Thanks,
Kurt
1
2
3
4
[H[2J
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users