A couple simple gdb questions

2003-05-31 Thread exits funnel
Hello, I'm a new gdb user and I have a few questions: 1) A general question: Can anyone recommend an in depth gdb tutorial somewhere on the net? I've found a few, but they only seem to cover the most general commands. I find the help facility pretty useful, but there are times when I can't

Bash Mail List?

2003-03-09 Thread exits funnel
Hello, I was wondering if anyone on the list knows of a bash specific (or even unix scripting in general) mail list? I seem to recall someone posting a link to one some time ago, but unfortunately, I've deleted it and I can't find it again in the archives. Thanks in advance! -exits

Re: Bash Mail List?

2003-03-09 Thread exits funnel
--- Bret Hughes [EMAIL PROTECTED] wrote: On Sun, 2003-03-09 at 21:37, exits funnel wrote: Hello, I was wondering if anyone on the list knows of a bash specific (or even unix scripting in general) mail list? I seem to recall someone posting a link to one some time ago

Re: Bash Mail List?

2003-03-09 Thread exits funnel
--- Kevin - KD Micro Software [EMAIL PROTECTED] wrote: I asked this question not too long ago, and I must say thank you to Todd A. Jacobs for giving me this one: http://moongroup.com/mailman/listinfo/shell.scripting I haven't had to post anything myself yet, but I've seen some

$PATH and startup sequence

2003-03-01 Thread exits funnel
Hello, I'm trying to determine where exactly $PATH is set. I've read the bash man page which was informative but doesn't quite answer my question. When I add an 'echo $PATH' to the beginning of /etc/profile and than start a login shell I can see that PATH is already non null. So where is it

Re: Beginner trouble linking with g++

2003-02-10 Thread exits funnel
--- Ryan McDougall [EMAIL PROTECTED] wrote: On Sun, 2003-02-09 at 16:59, exits funnel wrote: Hello, I'm new to Linux/Unix development and I'm having a bit of trouble with something quite basic. I've written a simple test library located in ex7Stack.h/ex7Stack.cpp. I am able

Beginner trouble linking with g++

2003-02-09 Thread exits funnel
Hello, I'm new to Linux/Unix development and I'm having a bit of trouble with something quite basic. I've written a simple test library located in ex7Stack.h/ex7Stack.cpp. I am able to build the library as follows: g++ -c -o ex7Stack ex7Stack.cpp I then write a small test program located in

One vi question, one emacs question

2003-02-06 Thread exits funnel
First the vi question: I primarily use emacs but like to be able to fire up vi every once in a while if I just have a quick edit to make. Anyway, I've recently installed RedHat 7.3 and when I launch vi there is a bit of a problem with the display color. The tildes along the left edge of the

Re: One vi question, one emacs question

2003-02-06 Thread exits funnel
--- Matthew Saltzman [EMAIL PROTECTED] wrote: On Thu, 6 Feb 2003, exits funnel wrote: First the vi question: I primarily use emacs but like to be able to fire up vi every once in a while if I just have a quick edit to make. Anyway, I've recently installed RedHat 7.3 and when I

Re: One vi question, one emacs question

2003-02-06 Thread exits funnel
--- Gordon Messmer [EMAIL PROTECTED] wrote: Now the emacs question: I use emacs to edit c/c++ files. So far I like it, but there is one small annoyance I've run into. It indents blocks like this: Put this in your .emacs file: (setq c-default-style bsd) If you like, you can try

ipchains problem

2003-02-02 Thread exits funnel
Hello, Im a pretty new Linux user and I've run into a problem with ipchains. I have a windows box sitting behind the same router as my RedHat 7.2 machine. I desparately want to ftp some files from one to the other but my firewall wont allow it. The IP addresses are as follows: Windows:

Re: ipchains problem

2003-02-02 Thread exits funnel
--- gabriel [EMAIL PROTECTED] wrote: On February 2, 2003 11:43 am, exits funnel wrote: ipchains -I input -p tcp -s 192.145.23.101 --sport 1:1024 -d 192.145.23.102 --dport 1:1024 -j ACCEPT i think the problem stems from the fact that you're only allowing unlimited traffic

Re: ipchains problem

2003-02-02 Thread exits funnel
Yes. And reply packets are not covered at all by that rule. And without knowing the complete set of rules, one cannot comment on this single rule anyway. Actually, since my insert was to position 1 and my target was ACCEPT, how could other input rules have any affect? Or am I confused

Question about $?

2003-01-26 Thread exits funnel
Hello, I've written the following simple program: #include cstdlib int main( ) { // /fff does not exist int return_value = system(ls -l /fff); cout \n Return Value: return_value \n; return return_value; } When I compile this and run it from bash I see Return Value: 256 at stdout

Re: Question about $?

2003-01-26 Thread exits funnel
--- Michael Fratoni [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 26 January 2003 01:12 pm, exits funnel wrote: Hello, I've written the following simple program: #include cstdlib int main( ) { // /fff does not exist int return_value

Simple (I'm sure) shell script problem

2003-01-14 Thread exits funnel
Hello, Im sure I'm doing something really silly but I'm new to Linux/Unix and I'm stuck trying to get this script to run. I've cut the text from the follwing link: ftp://download1.nvidia.com/XFree86_40/1.0-4191/NVchooser.sh and pasted it into a file named NVchooser.sh and ftpd it to a linux

Re: Simple (I'm sure) shell script problem

2003-01-14 Thread exits funnel
`dos2unix filename` to fix it. This fixed it! Thanks a lot. -exits /B - Original Message - From: exits funnel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 17:17 Subject: Simple (I'm sure) shell script problem Hello, Im sure I'm doing

XFree86 / RPM Question

2003-01-14 Thread exits funnel
Hello, I've recently installed RedHat 7.2 which includes XFree86 3.3.6. I then rand up2date -u which installed/updated everything under the sun. Now when I type: rpm -qa | grep XFree I see both the 3.3.6 stuff as well as the 4.1.0 stuff. I need to be running the 4.1.0 stuff to support the

Trouble reading floppy on linux / winnt

2003-01-12 Thread exits funnel
Hello, I'm a new Linux user who has just recently installed RedHat 7.2 and I've run into what I'm sure is a simle problem. I'd like to transfer a small text file from my linux box to an NT box via floppy. I've created the directory '/mnt/msdosfloppy' and mounted my floppy drive as follows:

Re: Trouble reading floppy on linux / winnt

2003-01-12 Thread exits funnel
Ouch. It sounds as if you are not unmounting the floppy disk in linux. After you copy the file to the floppy, you *must* unmount it with the command unmount /mnt/msdosfloppy to ensure that the linux system flushes out the file's data to the disk, and removes the disk from its filesystem,

Re: Trouble reading floppy on linux / winnt

2003-01-12 Thread exits funnel
--- Vidiot [EMAIL PROTECTED] wrote: I'm a new Linux user who has just recently installed RedHat 7.2 and I've run into what I'm sure is a simle problem. I'd like to transfer a small text file from my linux box to an NT box via floppy. I've created the directory '/mnt/msdosfloppy' and

Trouble accessing wu-ftpd

2003-01-12 Thread exits funnel
Hello, I've recently installed and started wu-ftpd on RedHat Linux 7.2. I've verified that it is up and running by establishing a localhost connection (eg, ftp localhost). However, I can't login from an NT box which is also on the network. When I do a tcpdump while trying to connect I get