On Thursday 14 February 2008 22:52, Martinb_ARM_NOMMU_KISSDVD wrote:
> (repost with the 1.9.1 results)
>
> After reading the README, TODO and some part of the source I want to report
> the following behaviour
>
> Im still using the lash (1.2) and Im starting to switch to hush
> (I already need hush for scripting and I want to remove lash so I can spare
> some space on the flashrom)
>
> Problem is a bit hard to explain but in general I just see strange
> characters if I use the backspace and cursor keys
>
> To make it simple to explain I give some output on strace
> 1e output is strace attached to a working lash (1.2.0)
> and I do type the keys <a> <b> <cursor left> <backspace>
>
> read(0, "a", 1) = 1
> write(1, "a", 1) = 1
> read(0, "b", 1) = 1
> write(1, "b", 1) = 1
> read(0, "\33", 1) = 1
> read(0, "[", 1) = 1
> read(0, "D", 1) = 1
> write(1, "\10", 1) = 1
> read(0, "\177", 1) = 1
> write(1, "\10b \10\10", 5) = 5
> read(0,
>
> so this is giving me the correct results
>
> If I do the exact same thing from hush (1.9.1) I get:
>
> / # strace -p66
> Process 66 attached - interrupt to quit
> select(4, [0 3], [], NULL, NULL) = 1 (in [0])
> read(0, "a", 4000) = 1
> select(4, [0 3], [3], NULL, NULL) = 1 (out [3])
> write(3, "a", 1) = 1
This is very strange that you see select()! I see just read():
# strace -p8185
Process 8185 attached - interrupt to quit
read(0, "e", 1) = 1
write(1, "e", 1) = 1
read(0, "x", 1) = 1
write(1, "x", 1) = 1
read(0, "i", 1) = 1
write(1, "i", 1) = 1
read(0, "t", 1) = 1
write(1, "t", 1) = 1
read(0, "\n", 1) = 1
write(1, "\n", 1) = 1
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigaction(SIGWINCH, {SIG_DFL}, {0x80c6a2d, [WINCH], SA_RESTORER|SA_RESTART,
0x80486eb}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGTSTP, {0x8086707, [], SA_RESTORER|SA_RESTART, 0x80486eb}, NULL,
8) = 0
rt_sigaction(SIGINT, {0x80866f7, [INT], SA_RESTORER|SA_RESTART, 0x80486eb},
{SIG_IGN}, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[], NULL, 8) = 0
ioctl(255, TIOCSPGRP, [2328]) = 0
_exit(0) = ?
Process 8185 detached
#
Can you do this: "strace -o logfile ./busybox hush", and then type "exit"
into hush prompt, and send complete logfile to the list?
bzip2 it if it's big. Also attach your .config.
I guess it's a NOMMU build?
> I do understand that most people will comment "update toolchain" but thats
> not a option at this time (Im working on this)
No, actially I think toolchain is not a culprit here.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox