This writing is based on Linux kernel 2.6.21.5.
If skb is linear (i.e., skb->data_len == 0), the length of skb->data is skb->len.
A call to fgetc() or getchar() will return EOF if the end-of-file has been reached.
As far as I know, GNU C Library defines EOF to be (-1).
Those who are unwary will think that those functions return a char.
Now a char has a range from 0x00 to 0xFF because its size is one byte.
However, if EOF is returned as a char, which must take one value from the range, there will be no way to differentiate whether or not the returned char is actually a byte read from the stream or EOF to signal that the end-of-file has been reached already.
ACPI-fied or driverized extention keys on keyboard on laptop are just stupid. There are 100 keys, they need even more and ugly.
'Fn' on laptops. Why all extentions: backlight, sound volume, etc. cannot be done for one hand: Fn+1 Fn+2.. Fn+q Fn+w.. Fn+a Fn+s?
I doubt this frozen 'Fn' thing is even needed at all. Again, more flexible UI and keyboard in the first place are needed! EOF
Ordinary headphones with volume potentiometer. What if i need just next/prev song and stop/start playback commands? By sensing resistance of the load/output current on amplifier all can be acheived (by two buttons):
* either left or right resistance is high (no volume, small current) -- prev./next
* both are high -- stop if playing, play if stoped (or on/off chain + application decides)
http://hq.fsmlabs.com/~cort/papers/lazy/lazy.nohead.html
Abstract:
In this article I provide a practical analysis of programming practices and education. The phrase ``Good programmers are lazy'' is very often offered to students as a guide to good programming. This statement is very wrong and reflects some of the problems with attitudes in computer science today.
I claim to be a `sed` lover, not guru (generally bad term), not geek. Since seders is closed private group (stupid, huh), i'd like to post something interesting and useful here.
Tutorials, i know, and could find in google all have silly examples and suck. Let's do a HOWTO for real-life stuff.
> Would this make for a better links than elinks?
Run Borland Pascal 7.0 in dosbox to see what Turbo Vision was. Help system there is a nice browser, nither of today's lynx, links or elinks or whole www has. Pictures and flash are mostly spam, many don't know how to turn off.
dialog -> ncurses -> |stdout(ESC) -> tty -> vga_console |-> video RAM/frame buffer
That error message is issued because a version mismatch occurs when the Linux kernel module to be inserted into the working kernel was not compiled with the source code that was used to compile the working Linux kernel.
As an example, let's use Realtek 8139 as the NIC.
In Linux kernel 2.6.21.5, I traced from drivers/net/8139cp.c starting at the place where an SKB is admitted at the very first time:
cp_rx_poll(): desc = &cp->rx_ring[rx_tail]; | status = le32_to_cpu(desc->opts1); | len = (status & 0x1fff) - 4; | V dev_alloc_skb(): skb->len = 0 | V
shown concepts: o `sh && sed && stty && dd` flexible patterns and no `find`, built-in `dd` are needed; mc, ncurses, readline are not o key-vectors (tab is fixed origin) o +,-,[,] keys - flexible UI config. * tty backend needed: true windowing (move, overlap), stack-based coloring (easy multi-context highlighting).
http://article.gmane.org/gmane.linux.kernel/683845
Told ya, Al: where's your example of fixing your text editor?
http://kerneltrap.org/Quote/Common_Convention#comment-297182
____
sed '' << 'EOF' http://thread.gmane.org/gmane.comp.shells.dash/73 Let's listen to silence again now... Update: `set -F[rnd:$(read_ethernet_now)]` -- another choice ( # if there's no that much network activity: wget