Search results

  1. M

    Scripting FTP

    An off-site howto article demonstrating some simple techniques to automate ftp.
  2. M

    How To Serve Compressed HTML Using Apache

    Handy information @Carpetsmoker. I appreciate it!
  3. M

    How To Serve Compressed HTML Using Apache

    An offsite HowTo that describes serving compressed (static) HTML: http://freebsd.hypermart.net/compressed-html.html
  4. M

    Is there any problem with this port?

    Glad you've fixed it & no need to thank me, just noting the anomaly ('%%' preserves the string). Good luck & best wishes with your port bkouhi. =)
  5. M

    Is there any problem with this port?

    Hello bkouhi. It appears you have embedded doubled forward-slashes '//' pkg_delete: file '/usr/local//usr/local/share/logisim' doesn't exist ... PLIST_FILES= %%DATADIR%%/${PORTNAME}-generic-${PORTVERSION}${EXTRACT_SUFX} \ bin/logisim But...later you seem to preserve it?
  6. M

    Useful scripts

    Very nifty script. =) (Just thinking aloud here) would be handy if the end user could install a given package/port using your idea. Something like: <pseudo-code> dialog --yesno --title "Install $PKG_NAME?" "$PKG_DESCR" $HEIGHT $WIDTH [ $? -eq 0 ] && func_add_pkg $PKG_NAME || func_next_routine...
  7. M

    Portable method to find file along path

    Hi fonz. Yep, that's exactly what my 1st attempt used (the builtin construct). Slowly but surely finding my way around FreeBSD, I appreciate the help & patience you all've shown me =)
  8. M

    Portable method to find file along path

    Gordon you nailed it, thanks. Just discovered $IFS on my end, was thinking of splitting $PATH with awk which led me right back to the 1st issue (awk is an external dependency itself). Coming from a WinAPI world, alot to learn on my end still. Lots of folks helping me 'get there'. Its a great...
  9. M

    Portable method to find file along path

    Well if the which command is not present, the script can not verify the existence of other dependencies, e.g. the external which (in this case) is itself a dependency. Chicken & egg...
  10. M

    Portable method to find file along path

    Sure enough... script in question assumes /bin/sh so I can't use which. I'm stumped for the time being :/
  11. M

    Portable method to find file along path

    Trying to find both a portable & posix method to test for the existence of a given file along the default system path using -only- builtins, if you have a more succinct method, I'd like to study your snippet. The following works, but somehow feels like I'm on the wrong track... #!/bin/sh...
  12. M

    Useful scripts

    Just discovered this, very handy (please excuse if its a repeat): # obtain console screen width/height w=$(tput cols) # width h=$(tput lines) # height x=$(expr $w / 2) # 1/2 width y=$(expr $h / 8) # 1/8 height, etc...
  13. M

    Random Console Screensaver Module

    Simple script to load a random screensaver module. Best called from something like /etc/rc.local #!/bin/sh # only root may run the script [ $(id -u) -ne 0 ] && exit 1 # id of current screensaver module IDM=$(kldstat|grep -i saver|awk '{print $1}') # list of screensaver modules excluding...
  14. M

    BSDInstall and "Entire Disk" option

    How many bytes (or kb etc...) must one dd at the end of the disk?
  15. M

    Seeking Testers For A Simple Port

    Hi Frederic. Yes I agree with your changes, & thanks for the updated shar. I appreciate that you took the time to explain the ports Makefile rationale.
  16. M

    Seeking Testers For A Simple Port

    Okay then, I'll get right on that (web interface) & quite things down now.
  17. M

    Seeking Testers For A Simple Port

    Final question (I hope)... If I've already submitted the port for consideration via send-pr -a topic.shar, yet sill need to correct the MAINTAINER line in the port's Makefile. How does one rectify that situation? Simply wait until & if its approved or... I'm not sure honestly.
  18. M

    Seeking Testers For A Simple Port

    Yes sir, will do. A question in fact I was about to ask (examples seemed ambiguous to me on that point).
  19. M

    Seeking Testers For A Simple Port

    Okay. Edited as per your suggestions to placate portlint & re-uploaded (still learning the in's & out's, mighty grateful for the tips jrm).
Back
Top