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 Chriss Miller 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: *

  • Users: AHinMaine
  • Content: Threads
  • Order by date
  1. AHinMaine

    CPAN rating system (beta)

    CPAN now has a rating system in beta at http://cpanratings.perl.org/ Results are visible at http://search.cpan.org/. Very nice! -- Andy http://www.nachoz.com "Historically speaking, the presence of wheels in Unix has never precluded their reinvention." Larry Wall
  2. AHinMaine

    GnuPG::Interface

    Could anyone help me with this? I've got decryption working fine, but now I'm trying to get encryption working and having trouble. Here's my encryption routine. # {{{ encrypt my $mpw_file = IO::File->new( &quot;<$mpw&quot; ) || die &quot;\n\nUnable to open file...
  3. AHinMaine

    sync a directory locally

    Anyone know of any stylish, self-contained ways of sync'ing a directory from one to another that doesn't involve installing rsync or any extra perl modules? I tried using rdist which is already installed, but it oddly refuses to run as root. If I run: rdist6 -R -p '/usr/local/bin/rdistd' -c...
  4. AHinMaine

    ad/popup blocker?

    Just curious if there is anything for unix like proxomitron (http://proxomitron.org), a great, highly configurable popup and ad blocker. -- Andy http://www.nachoz.com
  5. AHinMaine

    expect globals

    can someone tell me why this: > cat test.exp #!/usr/local/bin/expect -f global testvar set testvar &quot;foo&quot; proc testproc {} { send_user &quot;var=$testvar&quot; } testproc gets this output? > ./test.exp can't read &quot;testvar&quot;: no such variable while...
  6. AHinMaine

    ssh / expect issues

    Odd problem. I'm trying to script user creation and expect is flat out not working with the su command. I'm not hard coding the root pw, first of all. I have it set to prompt me. But it never even gets that far. The instant the su is sent, it says &quot;Sorry&quot; and then errors out. The...
  7. AHinMaine

    print single quote

    this is kicking my butt.... this shoudn't be so hard. I've even been digging through the awk book and I can't figure it out. how do I do this: command | awk '{print $1&quot;,'&quot;$2&quot;'&quot;}' so that I can get the result: field1,'field2' Escaping it with a single, double, or...
  8. AHinMaine

    x term transparency

    Just wondered if anyone knew if there were any term apps for X that supported true, not pseudo, transparencies? -- Andy http://www.nachoz.com
  9. AHinMaine

    X Menu Item

    I was just wondering if anyone had a more clever way of doing this. I keep a file of notes encrypted and I open the file like this: aterm -bg black -fg white -fn fixed -g 70x20+837+728 -title notes -name notesterm -tr -trsb -e ~/stuff/notes.sh Creates a little window down in the corner of...
  10. AHinMaine

    device busy

    # /usr/local/bin/play /usr/local/lib/TkDesk/sounds/metal.au sox: Can't open output file '/dev/dsp': Device busy How do I figure out what is holding onto this? I tried fstat lsof and lsof -D r but that doesn't show me anything related. Running FreeBSD 4.7-RELEASE-p6 #0. -- Andy...
  11. AHinMaine

    device busy

    # /usr/local/bin/play /usr/local/lib/TkDesk/sounds/metal.au sox: Can't open output file '/dev/dsp': Device busy How do I figure out what is holding onto this? I tried lsof and lsof -D r but that doesn't show me anything related. Running FreeBSD 4.7-RELEASE-p6 #0. -- Andy http://www.nachoz.com
  12. AHinMaine

    VPN From behind fw/nat to an external ip?

    Machine A is nat'ed with a private address, behind a firewall (the config of which I can't change). Machine B has a public ip. I can access Machine B from Machine A no problem. In order to access Machine A from Machine B, I have to jump through Machine C (where I have an acct, but not root)...
  13. AHinMaine

    CVS - commit not working

    Sorry, I'm new to the CVS thing... I've set up a pserver and gotten that working. I can log in and checkout a file in a dir that I added to my cvs tree. So, as a regular user I set my CVSROOT env to &quot;:pserver:<my login>@<my ip>:/usr/local/var/cvs&quot; and then I'm able to log in with...
  14. AHinMaine

    Update/Insert - add to existing column value

    I've been searching through docs and at mysql.com but can't seem to find what I want. I found this syntax: UPDATE table SET c=c+1 WHERE a=1 What I want to do is prepend a string to a varchar column. I tried: update table set field2=&quot;insert&quot;+field2 where field1 =...
  15. AHinMaine

    tailoring result display from multitable select

    I'm trying to get results back from an sql query in the easiest way to handle in my script. table 'categories' and table 'restcat' (restaurant categories). I'd like to construct a query where I can look up a specific restaurant id, yet somehow related it to the categories table so that...
  16. AHinMaine

    finding unique values between two tables, slightly complicated

    Basically I have table location with name, address, zip columns and another table with zips and their town names. I want to get a list of only those town names that have entries in the location db. This almost works. select location.zipcode,towns.town,towns.zipcode from location left join...
  17. AHinMaine

    Access to Mysql?

    Just curious if anyone has seen any apps or can suggest any methods of converting an access database to mysql? The genealogy software I use stores its data in an access db (with lots of different tables and keys and stuff) and I'd like to convert it to a mysql db so that I can pull out parts of...
  18. AHinMaine

    create addressbook server usabe by e-mail client

    Has anyone ever set one of these up? I don't have mad ldap skillz or anything, I'm probably somewhere between beginner and intermediate. I'd like to set up something along the lines of a company directory. I've been monkeying with it, but I can't really get it to work. I've tried in other...
  19. AHinMaine

    Sending messages from scripts or command line

    Can anyone help with this? With /bin/sh, trying to do something like echo test | mailx myaddress@example.com yields an error: ld.so.1: mail: fatal: libadmsslutil60.so: open failed: No such file or directory If, in my regular shell, I fix LD_LIBRARY_PATH, it finds the library, but gives the...
  20. AHinMaine

    NMS 6 won't start smtp

    This is really stumping me... I'm too embarrassed to ask my coworkers about it. I've been trying to install nms 6.1 (and 6) on a test bench machine for my own experimentation. I've installed nms a few times and have had a class on it and everything. I even have some canned directions which I...

Part and Inventory Search

Back
Top