Does anybody can help me with the definition of "terminal" DTE and DCE in context to Unix ?. This has something to do with devices in Unix. I need it asap. Thank you very much !:confused: (1 Reply)
Yesterday,I have a unnormal shutdown of my SCO Unix system,when I boot again,There are
lots of Errors (e.g policy manager error,
ifor_pmd error etc.),Most seriously,I can use my "CC" compiler: when I compile my *.c
files. Who Can Help Me ! Please Don't spare your instructions! Thanks a... (5 Replies)
INPUT---> USER | User1 | DisplayName1 | HomeTown1 | 987654321 | 27-07-1991 | M
i want to separate out all the fields of the file which has the format specified above , with the use of awk. I was writing that to the mysql by batch-file. But now there is problem , in databse i have defined the... (2 Replies)
hi all,
does someone have any information about "sun connect" (like documentation , web site , forums , explanations .....) ?
because i will need this software in my job & i don't know how to use it :o (4 Replies)
Hello,
I know how to get a solution of a filtering problem with AWK, but i need change default field separator by a regular expression. awk -F "xxx"
What i want to do is take a stranza as a field, so the field separator must be a EMPTY line. Does anybody how to do that??
a example:
... (1 Reply)
hi all,
I just want to make a depot package.All steps:
1. make a psf file
# PSF which define the myutil product
depot
layout_version 1.0
tag ddmi_linux_installer
title ddmi_linux_installer
# Product definition
vendor
tag HP
title Hewlett-Packard Company
product
tag... (0 Replies)
Discussion started by: lb1111830
0 Replies
LEARN ABOUT DEBIAN
io::async::protocol::linestream
IO::Async::Protocol::LineStream(3pm) User Contributed Perl Documentation IO::Async::Protocol::LineStream(3pm)NAME
"IO::Async::Protocol::LineStream" - stream-based protocols using lines of text
SYNOPSIS
Most likely this class will be subclassed to implement a particular network protocol.
package Net::Async::HelloWorld;
use strict;
use warnings;
use base qw( IO::Async::Protocol::LineStream );
sub on_read_line
{
my $self = shift;
my ( $line ) = @_;
if( $line =~ m/^HELLO (.*)/ ) {
my $name = $1;
$self->invoke_event( on_hello => $name );
}
}
sub send_hello
{
my $self = shift;
my ( $name ) = @_;
$self->write_line( "HELLO $name" );
}
This small example elides such details as error handling, which a real protocol implementation would be likely to contain.
DESCRIPTION EVENTS
The following events are invoked, either using subclass methods or CODE references in parameters:
on_read_line $line
Invoked when a new complete line of input is received.
PARAMETERS
The following named parameters may be passed to "new" or "configure":
on_read_line => CODE
CODE reference for the "on_read_line" event.
METHODS
$lineprotocol->write_line( $text )
Writes a line of text to the transport stream. The text will have the end-of-line marker appended to it; $text should not end with it.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
perl v5.14.2 2012-10-24 IO::Async::Protocol::LineStream(3pm)