05-10-2008
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm with FreeBSD 4.6.2, and i would like to know how to install this ports :
ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/net/kmerlin
There's no .tgz so i can't do the pkg_add command. Can you please help me???
Thank You. :)
Erythro73 (6 Replies)
Discussion started by: Erythro73
6 Replies
2. Programming
Hi,
I have 2 processes X and Y. Y is exec() from X. In Y i have an exit handler, which is called when i return from main. With in exit handler i delete and object which in turn calls the destructor of the object, which terminates all the threads of Y.
I believe that SIGCHLD is raised by Y as... (4 Replies)
Discussion started by: supersumanth
4 Replies
3. Shell Programming and Scripting
How do i save a script in unix. do i just type something like
#!/bin/sh
# This is a comment!
echo Hello World #This is also a comment
Then just go to save as and save it or what? just kinda confused me as i was reading different things and playing around (6 Replies)
Discussion started by: Corrail
6 Replies
4. UNIX for Dummies Questions & Answers
Hello!!
I need some help about a question... It was asked in exams 3 years ago in Greece and nobody is certain abou the answer.
Others say that the right answer is b and others say c.
I found this forum and i saw that you know a lot of things about UNIX so i hope that some of you will help me.... (1 Reply)
Discussion started by: evoula_vou
1 Replies
5. Shell Programming and Scripting
Hi,
The following test case populate an array named: array3.
Since array1 and array2 are equal in length and values array3 will remain empty.
#!/usr/bin/ksh
test() {
set -A array1 "A"
set -A array2 "A"
NUM_1=`echo ${#array1}`
print "num elenemt in NUM_1 is ${NUM_1}"
i=1
for ELE2 in... (1 Reply)
Discussion started by: yoavbe
1 Replies
6. Solaris
I'm reading through this guide, BigAdmin Feature Article: Using Solaris JumpStart With the Solaris 10 OS for x86/x64 Platforms, and I was wondering if there was more to the bash scripts than just the example given (see above link) like for begin1 and begin2 and finish1 and finish2. I don't know... (3 Replies)
Discussion started by: Bradj47
3 Replies
7. UNIX for Dummies Questions & Answers
I know the topic of getting yesterday's date has been covered ad nauseum, but I just want to be clear on something.
I recently started using the command
date --date='1 days ago' '+%m/%d/%y'
to get yesterday's date and it's been working great. I just want to be certain that it is going to... (1 Reply)
Discussion started by: DeCoTwc
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I have a (probably) very simple tar question on a Solaris box that I'm a little embarrassed to ask. After repeatedly checking man tar and searching for solutions online (I'm not sure of the correct "keywords" to look for)
The question is:
If I were to use the command:tar cf... (4 Replies)
Discussion started by: chatguy
4 Replies
LEARN ABOUT DEBIAN
devel::gdb::lowlevel
Devel::GDB::LowLevel(3pm) User Contributed Perl Documentation Devel::GDB::LowLevel(3pm)
NAME
Devel::GDB::LowLevel - Low-level interface for communicating with GDB
DESCRIPTION
This module is used internally by Devel::GDB. It handles the low-level I/O of communicating with the GDB process.
CONSTRUCTOR
new Spawns a GDB process. Because this class only facilitates communication with GDB (not with the inferior process being debugged), you
have to decide what to do with the "STDIN", "STDOUT", and "STDERR" of that process. There are a few options available:
* If STDIN is a tty, we can have the inferior process communicate directly with the controlling tty (emulating the default behavior
of gdb):
$gdb = new Devel::GDB::LowLevel( '-execfile' => $path_to_gdb,
'-params' => $extra_gdb_params );
* Or, we can create an "Expect" object to communicate with the inferior process:
$gdb = new Devel::GDB::LowLevel( '-create-expect' => 1 );
$expect = $gdb->get_expect_obj();
* Or, we can create our own tty and use that:
$gdb = new Devel::GDB::LowLevel( '-use-tty' => '/dev/pts/123' );
METHODS
send
Sends a raw line of text to GDB. This should not contain any newlines (they will be stripped). This method only sends a request, and
does not wait for a response.
get_reader
Returns the file handle from which to read GDB responses.
get_expect_obj
Returns the "Expect" object created in the constructor. Dies if '-create-expect' was not passed to "new".
interrupt
Send SIGINT to the GDB session, interrupting the inferior process (if any).
SEE ALSO
IPC::Open2
AUTHORS
Antal Novak <afn@cpan.org>, Josef Ezra <jezra@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2007 by Antal Novak & Josef Ezra
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
perl v5.8.8 2008-02-03 Devel::GDB::LowLevel(3pm)