That means you'll be unable to use things like tab-completion or history navigation in your shell right from the start...SpiglerG wrote: fscanf will apply backspaces and other keys before pass the input to the kernel.
No, seriously, just get characters from the keyboard, and do the echo-on-screen and store-in-line-buffer until "RET" is pressed within the shell.
Plus, i fear what you need is more a "fgets" than a "fscanf" ...
install a IRQ handler for it. might helpIn which way could i use irq01?
no, it's not. Using poll-in-a-loop, you'll never be able to use the typematic feature of your keyboard (e.g. if you keep the 'backspace' key pressed because you want to erase much stuff, the scancode don't change but you receive periodic IRQs until key is released).is the same if i'll read the characters in the loop and see if they changed?
Plus you'll be messing everything up as soon as a PS2 mouse will be involved aswell.