Re: Backspace on Virtual Console causes oops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2001-10-26 at 09:12, Wayne Gowcher wrote:
> Dear All,
> 
> I am having a problem with the backspace key on a
> virtual terminal on a 2.4.2 kernel. If I hit backspace
> when there is input at the command line - no problem
> it deletes the character before the cursor.
> But if I press backspace when there are no characters
> at the command prompt, the kernel throws an oops. The
> process causing the oops is Bash.
> Note, on the Serial console, backspace works fine all
> the time.

I'll make a guess.  With no input at the line, when you hit backspace,
the shell is probably generating a beep.  Your kernel is not handling
that.  I don't remember exactly where the "beep code" was but you can
probably find it pretty quickly.

Pete

> 
> Has anyone ever seen anything like this ? If you have
> how did you solve it ?
> 
> Does anyone know the program flow / program details of
> what happens when backspace is pressed eg :
> 
>     Key In > Key passed to Routine X > Routine X
> passes it to Routine Y etc > Bash receives key.
> 
> Or could someone point me to a doc that may explain
> this ?
> 
> Thx
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux