10 More Discussions You Might Find Interesting
1. SCO
need it to be able to run Seagate STT8000A tape drive. Any suggestions where to go. (5 Replies)
Discussion started by: Mike Gomes
5 Replies
2. Solaris
Hello guys,
I am trying to install ethereal in Solaris10 based on i386 system.
But i can find only packet for sparc.
Any idea?
Thanks a lot! (2 Replies)
Discussion started by: @dagio
2 Replies
3. UNIX for Advanced & Expert Users
Greetings,
Please help me with the following :
Where can I find what means exactly and how to use each of the second
argument of the ioctl() system call in Linux/386 : FIOxxx (file IOCTL
requests), SIOxxx (socket IOCTL requests), TCxxx TIOxxx (terminal
IOCTL requests) ?
... (1 Reply)
Discussion started by: aigoia
1 Replies
4. Solaris
I want to configure my Network card. On solaris 9 i386.
How to know the good Network device. I use prtconf
to display the device list. I'm searching the device name.
Like ifconfig device_name plumb
thanks you (2 Replies)
Discussion started by: simquest
2 Replies
5. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
6. UNIX for Dummies Questions & Answers
Ok when i try to run the install the is what i get
How can i fix this can anyone help (8 Replies)
Discussion started by: Blackrose
8 Replies
7. Filesystems, Disks and Memory
UNIX -openbsd /i386
I think i have messed up with the bios or something. i am seeing this message as soon as the system boots up
////////////////////////////////////////////
Password =
Please Enter The System Logon:
///////////////////////////////////////////
First i though that it... (1 Reply)
Discussion started by: hrk2006
1 Replies
8. BSD
I think i have messed up with the bios or something. i am seeing this message as soon as the system boots up
////////////////////////////////////////////
Password =
Please Enter The System Logon:
///////////////////////////////////////////
First i though that it was due to changing the... (1 Reply)
Discussion started by: hrk2006
1 Replies
9. UNIX for Dummies Questions & Answers
I know it is a silly question, but when I tried to order or download some linux distributions, they have the options for i386, i486, i586, alpha, IA64, M68K, etc..
Does i386 mean intel-80386? Why when I told the webmaster that my pc is intel piii 933, he told me to download the i386 version?... (3 Replies)
Discussion started by: HOUSCOUS
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I am trying to installing solaris on a intel PC, but I am unable to do it.
So my question is where can I find some good documents (I tried sun.com did not find any thing).
If I want to dual boot between Linux and Solaris, would I install solaris first if so why?
Thanks alot
... (5 Replies)
Discussion started by: chamkila
5 Replies
POE::Filter::Block(3pm) User Contributed Perl Documentation POE::Filter::Block(3pm)
NAME
POE::Filter::Block - translate data between streams and blocks
SYNOPSIS
#!perl
use warnings;
use strict;
use POE::Filter::Block;
my $filter = POE::Filter::Block->new( BlockSize => 8 );
# Prints three lines: abcdefgh, ijklmnop, qrstuvwx.
# Bytes "y" and "z" remain in the buffer and await completion of the
# next 8-byte block.
$filter->get_one_start([ "abcdefghijklmnopqrstuvwxyz" ]);
while(1) {
my $block = $filter->get_one();
last unless @$block;
print $block->[0], "
";
}
# Print one line: yz123456
$filter->get_one_start([ "123456" ]);
while(1) {
my $block = $filter->get_one();
last unless @$block;
print $block->[0], "
";
}
DESCRIPTION
POE::Filter::Block translates data between serial streams and blocks. It can handle fixed-length and length-prepended blocks, and it may
be extended to handle other block types.
Fixed-length blocks are used when Block's constructor is called with a BlockSize value. Otherwise the Block filter uses length-prepended
blocks.
Users who specify block sizes less than one deserve what they get.
In variable-length mode, a LengthCodec parameter may be specified. The LengthCodec value should be a reference to a list of two functions:
the length encoder, and the length decoder:
LengthCodec => [ &encoder, &decoder ]
The encoder takes a reference to a buffer and prepends the buffer's length to it. The default encoder prepends the ASCII representation of
the buffer's length and a chr(0) byte to separate the length from the actual data:
sub _default_encoder {
my $stuff = shift;
substr($$stuff, 0, 0) = length($$stuff) . "