Re: Using terminal output as input

2009-05-14 Thread Ken Irving
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

Re: dialing phone numbers

2009-04-09 Thread Ken Irving
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

Re: dialing phone numbers

2009-04-09 Thread Ken Irving
;;' 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

Re: autolock console

2009-04-09 Thread Ken Irving
/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

Re: autolock console

2009-04-07 Thread Ken Irving
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

Re: install daemon without starting it

2009-04-07 Thread Ken Irving
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

Re: install daemon without starting it

2009-04-02 Thread Ken Irving
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

Re: side-by-side display of two files with latex

2009-04-02 Thread Ken Irving
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

Re: how make my laptop beep when low battery?

2009-03-28 Thread Ken Irving
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

Re: What's happening to my aptitude

2009-03-19 Thread Ken Irving
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

Re: recursive grep and openoffice

2009-03-18 Thread Ken Irving
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 . \ > &

Re: recursive grep and openoffice

2009-03-18 Thread Ken Irving
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

Re: tools to get a mirror of modem/router configuration

2009-02-19 Thread Ken Irving
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,

Re: Browsing offline filesystems

2009-02-10 Thread Ken Irving
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

Re: Browsing offline filesystems

2009-02-10 Thread Ken Irving
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

Re: Question about procmail and exim4

2009-02-05 Thread Ken Irving
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

Re: Solved Re: Cmd Line not wrapping in gnome terminal window

2009-01-30 Thread Ken Irving
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

Re: How to see the output of a custom init script on Lenny?

2009-01-22 Thread Ken Irving
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

Re: How to see the output of a custom init script on Lenny?

2009-01-22 Thread Ken Irving
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? > > >

Re: How to see the output of a custom init script on Lenny?

2009-01-21 Thread Ken Irving
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

Re: stuff in ~/bin won't run

2009-01-18 Thread Ken Irving
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

Re: TEST: Can I post to debian-users? EOF

2009-01-18 Thread Ken Irving
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

Re: psad, aptitude, man, mutt, all suddenly broken on my Lenny server. I'm very concerned.

2009-01-15 Thread Ken Irving
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

Re: Character mode for telnet

2009-01-10 Thread Ken Irving
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

Re: Character mode for telnet

2009-01-10 Thread Ken Irving
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

Re: Character mode for telnet

2009-01-09 Thread Ken Irving
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

Re: mousewheel scroll

2009-01-04 Thread Ken Irving
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

Re: ssh-agent without graphical display manager? how?

2009-01-04 Thread Ken Irving
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

Re: update on printing problem

2009-01-01 Thread Ken Irving
/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

Re: manual of C library

2008-12-31 Thread Ken Irving
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

Re: hard crash on leap second

2008-12-31 Thread Ken Irving
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

Re: hard crash on leap second

2008-12-31 Thread Ken Irving
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

Re: hard crash on leap second

2008-12-31 Thread Ken Irving
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

Re: hard crash on leap second

2008-12-31 Thread Ken Irving
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

Re: problem with CUPS

2008-12-31 Thread Ken Irving
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

Re: Command line problem

2008-12-31 Thread Ken Irving
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

Re: tcpip stops working after some time

2008-12-24 Thread Ken Irving
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

Re: tcpip stops working after some time

2008-12-24 Thread Ken Irving
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: > > >

Re: tcpip stops working after some time

2008-12-24 Thread Ken Irving
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

Re: Perl modules

2008-12-08 Thread 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]

Re: Bashism (Was: Locale testing)

2008-12-06 Thread Ken Irving
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]

Re: where are the data and log folders of postgresql 8.3 on debian sid?

2008-12-05 Thread Ken Irving
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: > >>

Re: where are the data and log folders of postgresql 8.3 on debian sid?

2008-12-05 Thread Ken Irving
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

Re: where are the data and log folders of postgresql 8.3 on debian sid?

2008-12-05 Thread Ken Irving
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]

Re: TTY programming

2008-12-02 Thread Ken Irving
> > 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

Re: OT: volt and current (ALSA sound recording frustration)

2008-11-28 Thread Ken Irving
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]

Re: OT: volt and current (ALSA sound recording frustration)

2008-11-28 Thread Ken Irving
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]

Re: OT: volt and current (ALSA sound recording frustration)

2008-11-28 Thread Ken Irving
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]

Re: Shorewall & network/interfaces

2008-11-25 Thread Ken Irving
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]

Re: Q: List Policy

2008-11-21 Thread Ken Irving
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

Re: Q: List Policy

2008-11-21 Thread Ken Irving
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]

Re: Q: List Policy

2008-11-21 Thread Ken Irving
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

Re: Here's something interesting... (was Re: Q: List Policy)

2008-11-18 Thread Ken Irving
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

Re: Here's something interesting... (was Re: Q: List Policy)

2008-11-18 Thread Ken Irving
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

Re: how to change date of system

2008-11-13 Thread Ken Irving
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]

Re: Q re: if test of command in bash script

2008-10-28 Thread Ken Irving
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

Re: Q re: if test of command in bash script

2008-10-28 Thread Ken Irving
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]

Re: Setting Multiple Shell Variables from One Run of awk

2008-09-30 Thread Ken Irving
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

Re: bash script question

2008-04-18 Thread Ken Irving
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

Re: Xen in Etch, basic setup

2008-04-04 Thread Ken Irving
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]

Re: SSH through wireless router

2008-04-01 Thread Ken Irving
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

Re: script doubt

2008-03-27 Thread Ken Irving
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

Re: Ssh connection hangs. Ignored ACK packet?

2008-03-17 Thread Ken Irving
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

Re: Install from list of packages [Was: Re: etch netinst tasksel "standard system"]

2008-03-14 Thread Ken Irving
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

Re: etch netinst tasksel "standard system" (was Re: RAID1 Boot Partition)

2008-03-14 Thread Ken Irving
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

Re: DCHP

2008-03-14 Thread Ken Irving
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]

Re: etch netinst tasksel "standard system" (was Re: RAID1 Boot Partition)

2008-03-14 Thread Ken Irving
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

Re: etch netinst tasksel "standard system" (was Re: RAID1 Boot Partition)

2008-03-14 Thread Ken Irving
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 > > > >

etch netinst tasksel "standard system" (was Re: RAID1 Boot Partition)

2008-03-13 Thread Ken Irving
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

Re: graphical file browser from command line

2008-03-10 Thread Ken Irving
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

Re: rotating a rectangular image in Gimp

2008-03-05 Thread Ken Irving
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]

Re: node link as variable in bash script?

2008-03-04 Thread Ken Irving
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

Re: Basic bash question.

2008-03-03 Thread Ken Irving
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

Re: Seeking Wisdom Concerning Backups

2008-02-29 Thread Ken Irving
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

Re: changing the install location of a series of deb's

2008-02-22 Thread Ken Irving
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]

Re: reliable editting of any PDF file

2008-02-13 Thread Ken Irving
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]

Re: reliable editting of any PDF file

2008-02-13 Thread Ken Irving
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]

~/bin not in default path (was Re: wrapper script issue)

2008-02-11 Thread Ken Irving
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,

Re: Shell script function problems

2008-02-09 Thread 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

Re: wrapper script issue

2008-02-08 Thread Ken Irving
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

Re: wrapper script issue

2008-02-08 Thread Ken Irving
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]

Re: wrapper script issue

2008-02-08 Thread Ken Irving
: 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]

Re: discovering debian ...

2008-02-04 Thread Ken Irving
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]

Re: 2 Network Cards

2008-02-02 Thread Ken Irving
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 &

Re: 2 Network Cards

2008-02-01 Thread Ken Irving
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

Re: 2 Network Cards

2008-02-01 Thread Ken Irving
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

Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-30 Thread Ken Irving
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

Re: How to send mails with attachments for each file in a directory ?

2008-01-29 Thread Ken Irving
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]

Re: Using aliases or functions in bash script

2008-01-23 Thread Ken Irving
>> > >> $ type dt > >> dt is a function > >> dt () > >> { > >> pushd +$1 > >> } > >> > >> How can I use them in my script? . . . > > > > So just use functions. . . > > I'

Re: /var/archive

2008-01-23 Thread Ken Irving
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

Re: OT: How to detect a keypress, and in which language?

2008-01-21 Thread Ken Irving
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]

Re: rsync 10 times slower in Etch than in Sarge!

2008-01-18 Thread Ken Irving
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

Re: [OT] top posting

2008-01-14 Thread Ken Irving
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 >

Re: [OT] top posting

2008-01-14 Thread Ken Irving
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]

Re: flock, fcntl, lockf?

2008-01-14 Thread Ken Irving
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]

Re: passing argument with brace expansion to script

2008-01-13 Thread Ken Irving
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

Re: passing argument with brace expansion to script

2008-01-13 Thread Ken Irving
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

Re: passing argument with brace expansion to script

2008-01-13 Thread Ken Irving
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]

Re: Perl realted question..

2008-01-10 Thread Ken Irving
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

Re: Vá : awk FIELDWIDTHS howto?

2008-01-09 Thread Ken Irving
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   2   3   4   >