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: TonyGroves
  • Content: Threads
  • Order by date
  1. TonyGroves

    How to start developing GUI apps with Java?

    I currently write GUI business applications for Windows using Borland C++ Builder, but would like to convert them to cross-platform (Windows and Linux/Gnome). And that presumably means using Java. No problem there; I'd like to learn Java. However, I'm not quite sure what tools to use and have a...
  2. TonyGroves

    array_merge: different behaviour between servers

    I'm totally new to PHP, but I've taken over the maintenance of a website which uses PHP, and have copied it for testing purposes to my local Debian server which runs Apache 2.2 with the PHP 5.2.0 module. I notice that on my local server, the PHP function array_merge($arg1,$arg2) aborts if the...
  3. TonyGroves

    Overwriting a cookie

    I'm trying to write a HTTP header which will cause a specific cookie to be written, overwriting any of the same domain and name that already exists. I have: Set-Cookie: login=user:password; path=/; domain=.domain.com but that does not overwrite a cookie that already exists. Can anybody help...
  4. TonyGroves

    Default file permissions

    I want to ensure that all files in users' home directories have their permissions set by default to 0660 (0770 for directories). If I put "umask 007" in .bashrc, that takes care of files created by Bash, and Samba seems to use those permissions by default, but what about other programs? Is there...
  5. TonyGroves

    Executing script on logout

    I want to have certain jobs done every time I log out on my Debian Sarge machine. Specifically, unmounting certain removable storage devices, and possibly other jobs. Does anybody know of a way I can implement this? Thanks.
  6. TonyGroves

    zlib-compatible shell commands

    I have some files that were compressed using the standard zlib library, and I'm looking for a shell command that will uncompress them. I also need a shell command to create compressed files in zlib-compatible format. I've checked gzip/gunzip and compress/uncompress, but could not get them...
  7. TonyGroves

    Automatically creating share directories

    Does anybody know of any per-share Samba setting that will if necessary automatically create the directory associated with the share, when Samba is started? I've searched the docs and web but found nothing. Thanks.
  8. TonyGroves

    How to open mail client?

    I want to write a procedure that will create a file, then open the default mail client program, creating a new message with the file attached, ready for the user to fill in the address and cover note and send. Since this is a popular feature in many applications, I presume there's a simple...
  9. TonyGroves

    Forwarding mail

    I want to have all mail for "root" forwarded to "tony", and also have any mail for "tony" copied to an external address, so in /etc/aliases I have (inter alia): postmaster: root root: tony and in ~tony/.forward I have: tony otheraddress@otherdomain.com Now, mail for "root" does get forwarded...
  10. TonyGroves

    How to avoid mail loop?

    I'm writing a script to send an auto-response to each e-mail received into a user's mailbox when he/she is away, but am conscious of the need to avoid creating a mail loop. For example, if the auto-response message gets bounced, I don't want to issue another auto-response. However, I'm really...
  11. TonyGroves

    How to avoid mail loop?

    I'm writing a script to send an auto-response to each e-mail received into a user's mailbox when he/she is away, but am conscious of the need to avoid creating a mail loop. For example, if the auto-response message gets bounced, I don't want to issue another auto-response. However, I'm really...
  12. TonyGroves

    Program for reading/editing config files?

    I'm looking for a program which reads/edits simple configuration files of the format used by Samba and other (particularly Windows) software, with a structure like: [Section] Key = value The syntax would probably be something like: ini read sectionname <infile ini read sectionname...
  13. TonyGroves

    Module to parse e-mail messages?

    I need to write a utility which includes parsing an e-mail message into its constituent parts, ending up with the text body and the attachments (all decoded). I thought CPAN might have such a module, but I can't find anything obvious there. Does anybody know if there is such a module available...
  14. TonyGroves

    CUPS/Samba printing troubles

    I'm having trouble printing via Samba/CUPS. The first "printer" I've set up on my Debian server is CUPS-PDF. I can "print" to it (it creates a PDF file in ~/cups-pdf ) at the server no problem. The printer is also accessible from Samba clients, but when I try to print to it from a Samba client...
  15. TonyGroves

    How to get program line number?

    Does anybody know how to get the current Perl source file line number? Thanks.
  16. TonyGroves

    Fax server recommendations?

    I'm currently migrating services from a Windows server to a Debian Linux server, and the next item on the agenda is the fax server. The current fax server is only used to handle a small volume of outgoing faxes, which it retrieves from an e-mail server via POP. The faxes are typically...
  17. TonyGroves

    Network speed problem

    I'm running a small local network with a DSL modem which all machines, Linux (Suse 9) server and Windows PC's, use as their default gateway. Problem is, whenever there is a problem with the DSL modem, if it's disconnected or otherwise down, then local network traffic slows considerably. It's...
  18. TonyGroves

    Which cpio data format?

    I've heard that cpio is more tolerant than tar of tape data errors; if that's true, I'd like to use it for (single-volume) tape backups. However, when using cpio, I have to decide on an output format; the default is Binary, but that produces annoying error messages about each file's inode...
  19. TonyGroves

    How to get free space?

    Does anybody of a Perl function that returns the amount of free space on a filesystem? I know I could use a system command like "df" and parse the output, but that's awkward, OS-dependent, and possibly version-dependent.
  20. TonyGroves

    How to prevent automatic logoff?

    I have a program running on my NT4 SP6a server which is supposed to run as a service but due to bugs only runs properly when run as an application by a logged-in user. I don't mind leaving myself logged-in permanently until the problem is sorted out, but I find that I get logged-out...

Part and Inventory Search

Back
Top