I am presenting this in case you find it interesting, useful, or
instructive, or for any constructive criticism so I can learn more.
Here is the script I use to launch surf called mysurf:
#!/bin/sh
cd ~/downloads
exec surf "$_AT_" 2>>surf-stder >>surf-stdout
I don't launch surf directly because:
I could be in any directory when I start surf and surf sometimes
downloads files that I don't even ask for, so these downloaded files
with random names used to be spread throughout my directory tree when I
invoked surf directly. Now they are all in ~/downloads.
I don't want my tty being polluted with messages from surf, so I save
them all in the same place, in case I ever want to see them (which I
rarely do).
The 'exec' on the last line is because I don't need the shell after I
start surf.
--
http://www.fastmail.com - Does exactly what it says on the tin
Received on Tue Mar 03 2015 - 20:19:34 CET