ry something like this, which works for me on bash in lenny:
$ exec $(which iceweasel)
If you don't use exec the process will run as a child process of the
shell, while exec replaces the shell with the new process.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
allow it, the device might be
locked or maybe should be locked so that nothing else butts in, etc.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
;;' on the modem dialstring (e.g., atdt5551212;) should put the
modem back into command mode, so that it won't try to detect a modem on the
other end.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
/local/bin/lck
or /usr/bin/lock or a builtin if no other is available). Screen
does not accept any command keys until this program terminates.
Meanwhile pro-
...
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Just describe your query very briefly at www.google.com.
Include terms like linux or debian to help narrow it down if necessary.
Try it; it's quite an amazing resource. ;-)
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
blem with the documentation, scripts, code,
etc. of a particular package, but be reasonable, and realize you're asking
somebody to do work and pay attention to your issue.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
seful trick
for the event that I might want to prevent a package from starting
automatically, but likely will never use it.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
would do what you want,
or vim -O (with no-wrap and scroll-bind options set).
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
On Thu, Mar 26, 2009 at 10:38:05PM -0700, paragasu wrote:
> I am using ACPI debian testing with linux kernel 2.6.26-1-686, the
> problem is, there is no warning when the battery is low.
>
> Is there a way to make a warning beep whenever my laptop battery low?
On my system data on the battery stat
pid me. :-)
>
> Thanks everyone!
The subject was something like "what happened to my aptitude?"...
$ dict aptitude
...
From WordNet (r) 2.0 [wn]:
aptitude
n : inherent ability [ant: {inaptitude}]
> --
> Tong (remove underscore(s) to reply)
A bit of irony t
On Wed, Mar 18, 2009 at 01:45:42PM -0500, Boyd Stephen Smith Jr. wrote:
> In <20090318164208.ga14...@localhost>, Ken Irving wrote:
> >On Wed, Mar 18, 2009 at 11:19:20AM -0500, Boyd Stephen Smith Jr. wrote:
> >> I think I'd rewrite it as:
> >> find . \
> &
ere's no match in the current directory, and so find will
see it as intended. I guess that's a good thing, but it can be
confusing.
Bash will also leave {} untouched since it doesn't expand to anything, so
I don't see any point in quoting it as shown.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
I often do something
like this, sometimes adding ".txt" to the end of the symlink name so
the server treats it as a text file.
I don't know what to make of the "click through" bit; that sounds like
maybe you want to generate a set of linked web pages from the config file,
On Tue, Feb 10, 2009 at 01:55:13PM -0700, Paul E Condon wrote:
> On 2009-02-10_10:12:03, Ken Irving wrote:
> > On Tue, Feb 10, 2009 at 11:47:12AM -0700, Paul E Condon wrote:
> > > On 2009-02-10_12:56:53, Dotan Cohen wrote:
> > > > Is there a tool that I can use to bro
really is. Except that ... you find a
> broken link rather than the data. But now you know its there, and
> what you need to do to get it.
>
> I haven't done it, but I think it will work.
> Try it and let me know. I'm interested in finding out. ;-)
--
Ken Irving
--
T
ed something more or less like
what the manual suggests. Look at the NOTES section of the procmail(1)
manual page -- this ...
There might be some information in there to answer your question.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subjec
ful to compare the terminal settings in the `bad' vs `good'
cases, e.g., using stty -a > bad, etc.. You might be able to find something
to tweak to fix that particular problem.
Well behaved programs should return the terminal to its original state,
but maybe that didn't happen. K
On Thu, Jan 22, 2009 at 02:48:16PM +0100, Sander Marechal wrote:
> Ken Irving wrote:
> > A red message? I missed the earlier part of the thread so don't know
> > what you're dealing with, but I suspect you must be in a gui environment,
> > and telling the system to
On Thu, Jan 22, 2009 at 09:16:01AM +0100, Sander Marechal wrote:
> Ken Irving wrote:
> > On Wed, Jan 21, 2009 at 10:21:55PM +0100, Sander Marechal wrote:
> >> Is there nobody who knows how to show the stdout ouput of an init script
> >> during shutdown?
> >
>
e, and given that it's a custom script, perhaps you could
write output to some non-volatile location and look at it later.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
gdm and install xinit (if not already there) for startx.
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
are I don't wanne read about.
#
###
if (/^Subject:.*(exim|sendmail|[x]?emacs|gdm|xdm|imap|cgi|[ ]?deb[ ])/)
{
to Mail/trash
}
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
wit
eads this could please
> make some suggestions about how to methodically go about diagnosing
> the problem(s) and curing it/them.
Maybe /var/ is full; what does df show?
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
On Sat, Jan 10, 2009 at 12:04:25AM -0900, Ken Irving wrote:
> On Fri, Jan 09, 2009 at 10:15:51PM -0800, Marc Shapiro wrote:
> > Ken Irving wrote:
> >> On Fri, Jan 09, 2009 at 08:13:32PM -0800, Marc Shapiro wrote:
> >>
> >>> I know that, after I connec
On Fri, Jan 09, 2009 at 10:15:51PM -0800, Marc Shapiro wrote:
> Ken Irving wrote:
>> On Fri, Jan 09, 2009 at 08:13:32PM -0800, Marc Shapiro wrote:
>>
>>> I know that, after I connect with telnet I can got to command mode
>>> and enter 'mode char' to
robot
> through a wireless connection and I need to be in character mode for it
> to work.
I tried and failed to find a way to do this, and just
use 'm c' after starting telnet ('m line' to go back to
line mode). You might try netcat (nc) as an alternative
to telnet.
Ke
llbar you're referring to, but maybe in a browser?
There are several configurable settings in FireFox/IceWeasel that control
how scrolling via the mouse wheel works; try entering "about:config" as
a url, and poke around a bit.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debia
it's wrapping is graphical or otherwise.
$ ssh-agent bash
$ ssh-add
...
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
/var /var/spool /var/spool/cups
/var/spool/cups/tmp
drwxr-xr-x 14 root root 4096 2008-08-27 13:03 /var
drwxr-xr-x 6 root root 4096 2008-12-05 14:36 /var/spool
drwx--x--- 3 root lp 4096 2008-12-29 15:42 /var/spool/cups
drwxrwx--T 2 root lp 4096 2008-08-29 14:12 /var/spool/cu
and conven-
tions), e.g. man(7), groff(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
On Wed, Dec 31, 2008 at 08:20:41PM -0600, Ron Johnson wrote:
> On 12/31/08 20:05, Ken Irving wrote:
>> On Wed, Dec 31, 2008 at 07:48:41PM -0600, Ron Johnson wrote:
>>> On 12/31/08 19:19, Ken Irving wrote:
>>>> On Wed, Dec 31, 2008 at 04:02:03PM -0900, Ken Irving wro
On Wed, Dec 31, 2008 at 07:48:41PM -0600, Ron Johnson wrote:
> On 12/31/08 19:19, Ken Irving wrote:
>> On Wed, Dec 31, 2008 at 04:02:03PM -0900, Ken Irving wrote:
>>> On Wed, Dec 31, 2008 at 07:25:25PM -0500, Travis Crump wrote:
>>>> I had a hard crash of my lenny
On Wed, Dec 31, 2008 at 04:02:03PM -0900, Ken Irving wrote:
> On Wed, Dec 31, 2008 at 07:25:25PM -0500, Travis Crump wrote:
> >
> > I had a hard crash of my lenny system precisely when the leap second was
> > added. While X has flaked in the past, I've never had a hard
d have no particular insight on the problem. I'm
expecting to see an additional second of error in the clocks of some
systems I manage via radio telemetry, but wasn't expecting anything
like you describe.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lis
permissions let
> you run things, but the permissions aren't correctly propagated to the
> Apache server side?
It should be sufficient to be a member of group lpadmin; there's no need
to be root to manage CUPS, in my experience.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
port a "command not found" handler,
a shell function that is called in that event. If such a handler
exists, but does nothing, it could have the result you see.
--
Ken Irving
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
On Wed, Dec 24, 2008 at 02:16:26PM -0800, ow...@netptc.net wrote:
> >From: fn...@uaf.edu
> >>On Wed, Dec 24, 2008 at 10:25:07PM +0200, Micha Feigin wrote:
> >>> Ken Irving wrote:
...
> >>> >
> >>> > A too-big MTU setting can give odd resu
On Wed, Dec 24, 2008 at 10:25:07PM +0200, Micha Feigin wrote:
> On Wed, 24 Dec 2008 10:38:23 -0900
> Ken Irving wrote:
>
> > On Wed, Dec 24, 2008 at 06:28:01PM +0200, Micha Feigin wrote:
> > > On Sun, 21 Dec 2008 22:10:46 +
> > > Bob Cox wrote:
> > >
80 mostly doesn't
> work (sometimes get quick answer, sometimes takes a couple of minutes, mostly
> it times out). aptitude upgrade times out. It seems like there is a little
> movement but very slow for some reason.
A too-big MTU setting can give odd results in some cases.
Ken
--
Ken Irving
l/ (or /opt/ for that matter), so anything there is safe
from being overwritten or whatever.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
y, nor the export command, but why is the "exec" preferable?
Probably just because it doesn't leave the wrapper script as a
process to be returned to after you're done with thunderbird.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Sat, Dec 06, 2008 at 12:17:40PM +0800, ? wrote:
> On Sat, Dec 6, 2008 at 11:42 AM, Ken Irving <[EMAIL PROTECTED]> wrote:
> > On Fri, Dec 05, 2008 at 06:28:03PM -0900, Ken Irving wrote:
> >> On Sat, Dec 06, 2008 at 10:03:04AM +0800, ? wrote:
> >>
On Fri, Dec 05, 2008 at 06:28:03PM -0900, Ken Irving wrote:
> On Sat, Dec 06, 2008 at 10:03:04AM +0800, ? wrote:
> > I have installed postgresql 8.3 from debian package, and i'm reading
> > the official document from postgresql, the document says after
> > install
equivalent files/folders, I have
no idea, but if you follow the debian docs for the package there should
be sufficient information there to do what you need. Good luck!
--
Ken Irving
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
> The commands, dialing, all seem successful and the application works. I
> simply
> cannot report any status.
>
> Any ideas?
Many modems have a quiet or echo mode that can turn on/off output of
status messages, e.g., ATe0 or similar.
Ken
--
Ken Irving
--
To UNSUBSCRIBE
ergy.
Wrong.
>> BTW, I agree a bit with an earlier poster that you a being a bit of a
>> twat. This mailing list isn't really appropriate for epistemological
>> discussions.
>
> Me, three.
One more.
--
Ken Irving
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
nt
over and over in an email list? Someone already noted that that statement
is defining what the unit of a volt is, not what voltage is. A volt is
a widely accepted unit of voltage, it is not voltage.
Ken
I have a feeling of impending deja vu...
--
Ken Irving
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
of the water -- it's not even a property of the water, but
rather of its relationship to the floor. If you're standing on stairs,
the water has a different height relative to each stair.
Etc.
--
Ken Irving
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
commend keeping it simple and having one
interface per network.
> I originally tried to set this up against the ISP and it could not
> identify any dhcp traffic and only rejected everything as being a
> martian. Seriously broken?
>
> I'll have to go back and RTFM.
Highly recommended!
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
added with the attached PGP signature. Sorry.
>
> There's some weirdness that results in it not always being displayed.
> Viewing message source reveals that it is indeed there.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345283
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email
sage as could
be done pretty easily. I really don't know why that is.
Ken
--
Ken Irving
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Size: 0.2K --]
>
> [-- application/pgp-signature is unsupported (use 'v' to view this part) --]
Maybe that problem should be fixed before adding more stuff? Granted,
the majority of d-u messages are not multipart-encoded, so the special
list suffix lines are usually visible. Even if visib
On Tue, Nov 18, 2008 at 06:43:49AM -0600, Ron Johnson wrote:
> On 11/18/08 03:35, Ken Irving wrote:
> [snip]
>> also for some MIME forms if the last one is visible. The list software
>> does not change, mung, or otherwise mess with message bodies other than
>
> Well
ng hidden if the
message is structured. It works fine for plain text messages, and maybe
also for some MIME forms if the last one is visible. The list software
does not change, mung, or otherwise mess with message bodies other than
appending the optional stuff at the end, and it would have to jump t
until some things start to act a bit *wierd*.
Yes, there has long been a setting in Windows to use UTC on the hardware
clock, but there are (or at least used to be) numerous application and/or
system bugs that obviated its use.
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Tue, Oct 28, 2008 at 01:57:40PM -0500, Kent West wrote:
> Ken Irving wrote:
> ...
> > I'd tend to format the above code a little differently, but here's
> > the same thing with the `if' using the mkdir command directly:
> >
> > if [ -d $t
erstandable documentation or man pages for
these things. Regarding return codes, they're often implicit and not
documented; often the term `exit status' and others might be used. Shell
commands always return an exit status if 0 -- meaning true -- if the command
doesn't fail, and usually 1 otherwise, but some other exit values are used.
See also EXIT STATUS in bash(1).
Ken
--
Ken Irving, [EMAIL PROTECTED], 907-474-6152
Water and Environmental Research Center
Institute of Northern Engineering
University of Alaska, Fairbanks
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
aybe you could set a
shell array with several values in one operation. If you write a
shell script to set the variables, maybe you could then source that
script so that the changes are made to the current shell.
Ken
--
Ken Irving, [EMAIL PROTECTED], 907-474-6152
Water and Environmental Research
me .svn -exec echo rm -r {} \;
or:
$ find . -type d -name .svn | xargs echo rm -r
I'd recommend EXTREME CAUTION any time you're scripting rm, particularly with
the -r option. Often you may need to do this as root to have rm work without
prompting, and it's easily possible to do real d
gt; of those are actively in use under Dom0.
>
> > what does your Dom0 /etc/network/interfaces look like?
>
> > also, what about the output of route on various Doms?
>
> I'll have to get back to you on these two in a few hours when I have
> some time.
>
> --
> Steve Lamb
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
which I name "router", by:
>
> $ ssh router
>
> but then I'm stuck with the password. I've tried the password I use to
> administer the router without luck.
ssh implicitly provides your local user name as the user on the
remote end; maybe try it with an explicit
rious tweaks applied. The quotes on the grep pattern are likely
not necessary, since you say the lines contain no spaces, but they don't
look like they'd cause a problem. Try grep $symbol directly, omitting
the comma, etc., etc..Try grepping for some symbols manually.
Maybe there are no
8.1.5
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
broadcast 192.168.1.255
mtu 1452
ifconfig(8) should show the MTU value, and maybe can be used to set it.
I was able to set the MTU using ip(8), so it should be pretty easy to
t
On Fri, Mar 14, 2008 at 09:23:29PM +0200, Andrei Popescu wrote:
> On Fri, Mar 14, 2008 at 10:58:13AM -0800, Ken Irving wrote:
>
> > > [1] Doug's method is good, but I want to automate it further. I just
> > > have to write a sed script to make the out
On Fri, Mar 14, 2008 at 07:45:06PM +0200, Andrei Popescu wrote:
> On Fri, Mar 14, 2008 at 01:41:08AM -0800, Ken Irving wrote:
>
> > > It seems to that a base install includes 'required' and 'important',
> > > while 'standard' will add pa
a different IP reply from one or the other server? The admins
should be able to fix that; you could maybe force some workaround, but
really shouldn't have to. This shouldn't have anything to do with what
OS you're running.
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Fri, Mar 14, 2008 at 06:57:27AM -0700, Daniel Burrows wrote:
> On Thu, Mar 13, 2008 at 03:59:27PM -0800, Ken Irving <[EMAIL PROTECTED]> was
> heard to say:
> > Browsing the source, /usr/bin/tasksel, shows that selecting "standard
> > system" ends up run
On Fri, Mar 14, 2008 at 09:22:21AM +0200, Andrei Popescu wrote:
> On Thu, Mar 13, 2008 at 03:59:27PM -0800, Ken Irving wrote:
>
> > The search subcommand can be used to list those packages:
> >
> > aptitude search ~pstandard ~prequired ~pimportant
> >
> >
ortant
though it's still not clear what is really added in this step, since
some of the packages were presumably installed during part of the
base install. I might do another install without this option and
see what the difference is...
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSU
er than have
> the lines wrapped. What program could I call from the command line that
> would open such a viewer on a given file? (My desktop is gnome but kde
> is installed.)
Try less -S (which I usually alias to lesss).
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, e
any ideas, ... Peter E.
I don't know about Gimp, but ImageMagick convert can do this; e.g.:
$ convert -rotate 90 input.jpg output.jpg
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
don't understand your question. Bash variables are not typed, and
you can use $NODE where the string "/dev/rfcomm2" would otherwise be used,
e.g., perhaps with mknod(1):
...
mknod $NODE c $MAJOR $MINOR
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL
later analysis.
> It is a redirection but I don´t know how to make
> both things happen at the same time.
> Is that possible?With all the bash commands?
>
> Without GUI(X),all command line environment.
The tee command does this.
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCR
You can then join them by using 'cat':
>> `cat backup.tar.gz.* > backup.tar.gz`
>
> This sounds very promising, but I can't seem to wrap my brain around the
> syntax required. I just tried this command:
>
> sudo tar -cvzf /TERASTATIONBACKUP/2008Feb29.tg
x27;t know, never having used OO)?
>
> 2.Why do you need it under /usr/local/ instead of /opt/oo (or
> whatever)?
And maybe one more:
3. Could you (he) set a symlink in either /usr/local/ or /opt/ to the
other?
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
but it should be coming along eventually.
According to an article found on linux.com, the GNU PDF project will
be working in this direction.
http://www.linux.com/feature/122195
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
find, annotations are in fact a part of the ISO 32000,
a very recently approved standard based on Adobe's 1.7 PDF reference
document.
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
yboard for a moment and some
ne'er do well typed a short but nasty command as ~/bin/ls, vs needing root
to do the same in /usr/bin/. (Of course, there's no end to other mischief
they could do in such a case, but that's why it's a stupid example. ;-)
Ken
--
Ken Irving,
$ ./bar
in g
I suppose that could be (mis)used to implement some form of polymorphism
in shell scripts; the script executes g, but has no control over what g
actually is. Could be useful/confusing/dangerous...
I guess the same applies to sourcing function definitions from within
a script, since the f
ngs
you ought to know what you're doing, or you're there's a good chance
you're going to break your system. If you want a viable system, then
leave that and other system directories alone, and put your customized
stuff in /usr/local/bin/ or equivalent, perhaps ~/bin/, etc. But I
your application
to use a custom wrapper script, and not run the packaged ruby1.8 directly.
On my system /usr/bin/ruby1.8 is a binary, and not a shell script as I
thought you were showing.
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
: line 2: puts: command not found
>
> What am I missing here?
I don't know, but would suggest adding some simple debug statements
to your wrapper and other scripts to check and make sure you're doing
what you think you're doing.
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ely places, e.g.,
$ ls /bin /usr/bin | grep man
and so on. I would agree that these things should be in a default install,
and would be surprised if they were missing.
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Fri, Feb 01, 2008 at 09:44:47PM -0900, Ken Irving wrote:
> > On Fri, Feb 01, 2008 at 04:37:03PM -0800, Raquel wrote:
> > > On Fri, 1 Feb 2008 16:09:00 -0800 Raquel wrote:
> > >
> > > > I have 2 network cards in this machine. Currently only one of those
&
On Fri, Feb 01, 2008 at 04:35:18PM -0900, Ken Irving wrote:
> On Fri, Feb 01, 2008 at 04:37:03PM -0800, Raquel wrote:
> > On Fri, 1 Feb 2008 16:09:00 -0800 Raquel wrote:
> >
> > > I have 2 network cards in this machine. Currently only one of those
> > > card
t;setup" the second card, but why? I have plenty of systems
with 2 cards, but I've only done it to host a local net on one card,
with an upstream net connection on the other. While you haven't said
much about the "firewall", I'd suggest looking at shorewall and its d
safe on a
debian system. debian doesn't mess with those parts of the filesystem,
and as long as the installed stuff doesn't mess with the non-local
system directories, libraries, etc., there should be no conflicts.
If the sources you're installing from *do* put things into "system
in find,
and dimly recall fighting and failing with trying to pipe inside a find
-exec construct. This is easy to do with a shell loop, e.g.,
for f in *.jpg; do "uuencode $f $f | mail [EMAIL PROTECTED]"; done
(Sigh, for all this I assumed uuencode is running as a filter, which somehow
I doubt, given the two filenames given. I think you'll want to use a single
argument to get the output to stdout.)
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>>
> >> $ type dt
> >> dt is a function
> >> dt ()
> >> {
> >> pushd +$1
> >> }
> >>
> >> How can I use them in my script? . . .
> >
> > So just use functions. . .
>
> I'
allows a cache to be maintained over a long period without it
growing out of control. The configuration option
APT::Clean-Installed will prevent installed packages from being
erased if it is set to off.
Running apt-get clean will likely reduce the stuff cached in your
27;t do it, but could probably be made to approach it. The ReadKey
function can be given a timeout, so that if no key is pressed it returns
with no return value, and this could be used to detect if a key is held
down (I think...).
Emitting the sounds while this is going on might be a trick. One way
would be to fork another process to make the sounds, and communicate
with it via a pipe to turns the dits and dahs on and off. This may
sound complicated, but it's the Unix Way, and the tools support it
very well.
Just a thought...
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
drives, which would presumably
be local, but the rsync operation might be on a remote system where the
lights aren't visible. For that matter, umount also blocks... I often
use sync before umount, but I suppose it's not really necessary.
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To
On Tue, Jan 15, 2008 at 12:00:28PM +1100, Alex Samad wrote:
> On Mon, Jan 14, 2008 at 03:49:52PM -0900, Ken Irving wrote:
> > In fact, it's a social convention, a matter of etiquette. The practice
> > varies, and some lists work the other way, but on this and many lists
>
y, but on this and many lists
the convention is to top post, trim heartily, try to get the attributions
right(1), and have a good day!
Ken
(1) the attribution from the OP is missing in this message, I think.
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
whatever it is, so the right way would be whatever
other programs that might be operating on the same files are doing.
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Sun, Jan 13, 2008 at 02:04:59PM -0900, Ken Irving wrote:
> On Sun, Jan 13, 2008 at 11:36:09PM +0100, Andreas Berglund wrote:
> > Ken Irving wrote:
> >> On Sun, Jan 13, 2008 at 07:59:52PM +0100, Andreas Berglund wrote:
> >>> Hi!
> >>> I have a script
On Sun, Jan 13, 2008 at 11:36:09PM +0100, Andreas Berglund wrote:
> Ken Irving wrote:
>> On Sun, Jan 13, 2008 at 07:59:52PM +0100, Andreas Berglund wrote:
>>> Hi!
>>> I have a script to which I would like to pass an argument that
>>> contains brace expan
ot
sure it'll work this way... Some simple tests would answer the question.
Ken
--
Ken Irving, [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ems like
it should be possible to swap out characters in a line, but the line
size would need to stay the same, perhaps using padding with spaces
or something. Probably much more reasonably and conventionally doable
with fixed-sized records, but if the need was there I don't see why
it should
ave proabably never set NF. I'm not sure what you're
trying to acheive, but good luck with it!
Ken
>
> FIELDWIDTHS = " 4 32 "
>
> The given width for 1. field (4) should be right, but isn't.
> Awk give me the letter "A" as a 2. field. Why?
>
>
1 - 100 of 308 matches
Mail list logo