Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. twintriode

    New Free Proxy www.browseranonymizer.com

    Hi People - Check out this new stealth anonymizer www.browseranonymizer.com
  2. twintriode

    Anonymizer! NEED HELP PLEASE!

    Hi - Check out www.browseranonymizer.com
  3. twintriode

    Problems reading from Serial device - hex

    hmmm, interesting... Thanks. When I try a command that would normally give: 78 34 in cutecom I am getting: x4 which seems ok. But - If I want to read a position from the device in cutecom I get a response like: 78 01 04 50 But whilst doing: cat /dev/ttyS0 I only get x (thats an x...
  4. twintriode

    Problems reading from Serial device - hex

    Hi All - I am having some troubles reading from a serial device in perl. I can send commands with the following code: my $e1 = '\x'."$_[0]"; my $e2 = '\\'."$_[1]"; my $e3 = '\\'."$_[2]"; my $e4 = '\\'."$_[3]"; my $e5 = '\\'."$_[4]"; my $e6 = '\\'."$_[5]"; #### Send Command Bytes system...
  5. twintriode

    Simple Read / Write to Serial Port in Linux

    Hi - thanks for the reply. I tried what you said above and it got rid of half the error. However I am now still getting: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../crt1.o: In function `_start': init.c:(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status I dont...
  6. twintriode

    Simple Read / Write to Serial Port in Linux

    Hi All - Have been trying to get this code running. It is the first example in on this page: http://www.easysw.com/~mike/serial/serial.html #include <stdio.h> /* Standard input/output definitions */ #include <string.h> /* String function definitions */ #include <unistd.h> /* UNIX...
  7. twintriode

    beginners question; very basic wc.c will not compile?

    thanks for the reply. I changed what you suggested and also noticed I was missing an = sign in one of the lines. So now the word count program compiles, but it does nothing?? No word count, it just takes input and thats it?? #include <stdio.h> #define IN 1 #define OUT 2 main ( ) { int c...
  8. twintriode

    beginners question; very basic wc.c will not compile?

    Hi all, I am really new to c, and I am stepping through a C manual, the "Prentice Hall, C Programming Language" book and I am having frustrating problems with alot of the early examples. Like this simple word count program will not compile: #include <stdio.h> #define IN 1 #define OUT 2...
  9. twintriode

    variable / dynamic variables - or suggestions.

    Thanks fishiface for taking the time to walk through the code. The first bit of code which you reduced from 12 lines to 4 was really interesting and has given me insight into some of the shortcuts possible. I have now applied the foreach and push functions on lots of parts of the rest of the...
  10. twintriode

    variable / dynamic variables - or suggestions.

    Hi Fishiface, thanks for the reply. basically I am trying to write a small gtk-perl program stylized to my needs which aims to make accessing lots of different wireless networks easy. The idea behind the question basically comes from the need to find all wireless devices available, then have...
  11. twintriode

    variable / dynamic variables - or suggestions.

    hmm, I guess I could just use the array variables: $devices[0] $devices[1] $devices[n] instead of trying to complicate things...
  12. twintriode

    variable / dynamic variables - or suggestions.

    Hi All, I am relatively new to programming and am having some trouble with the following issue. Logically it seems all that would need to be done would make a variable variable and my problem would be solved. Here is the relevant part of my code; @devices = ($device, @devices); }...
  13. twintriode

    ~/a/b.php, and ~/c/d.php turning into ~/a/b/d.php??? and 100% CPU

    Hi All, Having a bit of a problem with the login section of a site I am working on. As in the title I have the following two scripts. (htdocs)/test/new/login_man.php (htdocs)/test/new/myaccount.php myaccount.php, uses a logincheck that basically says, if user logged in then continue... and...
  14. twintriode

    running external programs - very simple help needed

    Hi Thanks again for your message. I solved the problem just as I received your last message. Thanks anyway was having real problems searching for a solution to 'running external programs in perl' in google, just kept giving me perl command line option tutes etc... Ended up having a close look...
  15. twintriode

    running external programs - very simple help needed

    Hi - thanks for the reply. The normal interaction from a bash shell would look like this: #nokia_ctl gsm sendSMS Please type the message (max 160 chars) Hello this is the message - bye. Please type the receiver number +61411666888 Please type the SMS center number +6421600601 D211: Command...
  16. twintriode

    running external programs - very simple help needed

    Hello all, I have been looking for the last hour or two on information on how to pass commands onto a normal program that would normally take input from a bash command line. How can I run the program from perl and enter the predefined info into the input fields automatically. I have tried...
  17. twintriode

    help with url variables - not being seen anymore

    Thanks... that did it.
  18. twintriode

    help with url variables - not being seen anymore

    Hello, Have set up a few simple scripts lately on some new servers and PHP does not appear to be working the same way. I cannot seem to do this anymore: IN a form <td><a href=<?php echo $PHP_SELF ?>?id=<?php echo $myrow["id"] ?>&link=yes>Edit</a> </td> I can no use this URL variable with a...
  19. twintriode

    how to interrupt loop with keyboard input?

    Thanks for your replies rharsh and mikevh very helpful thanks. I didnt have the Term::ReadKey module so I had to figure out how to install it, done now and the first script from you, mikevh, does exactly as I wanted... Thanks very much

Part and Inventory Search

Back
Top