lkml.org 
[lkml]   [2001]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pasting arbitrary input to consoles


On Thu, Dec 27, 2001 at 03:51:57PM -0700, Andreas Dilger wrote:
> Well, you could also make the voice-aware shell as the default shell for
> a given user

Interesting idea, though you'd need to auto login one of the consoles (since
the shell won't be up at the login prompt).

> For X you could also make the voice recognition system an input method

We're currently using the XTest extension, which works well. There are a number
of techniques you can use for X.

I just wrote a proof-of-concept for a truly hideous console solution:

o Read the first line of /dev/vcs0
o Write the to-be-pasted text to /dev/vcs0
o Select the text via ioctl on /dev/tty0
o Restore the first line of /dev/vcs0
o Paste via ioctl on /dev/tty0

Hehehe. It works. And it's good just for the gross-out value.

Thanks,
b.c.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.064 / U:9.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site