Re: Mozilla & Adobe's SVG viewer

2003-02-19 Thread Eric G. Miller
On Thu, Feb 20, 2003 at 08:47:12AM +0700, Oki DZ wrote:
> Hi,
> 
> Yesterday I downloaded the Adobe SVG viewer plugin. Currently, I'm using 
> Sid's Mozilla snapshot. The plugin doesn't work. Question is: is it 
> really not working for mozilla-snapshot? I'm just want to make sure.

Last I knew, the Adobe plugin was only for Windows and only worked with
MS IE.  Has that changed?

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X Windows has strange color scheme

2003-02-21 Thread Eric G. Miller
On Thu, Feb 20, 2003 at 11:25:32PM +0100, Robert Ewald wrote:

> It might be just a wild guess, but could it be that you hit CTRL-ALT-+ at some 
> point and switched the color depth to 8? Then strange colors like this, which 
> turn normal on clicking in the window would be explainable.
> just hit CTRL-ALT-+ 3 times to get into 16 bit color depth again.

--[+|-] cycles resolution, *not* color depth.  AFAIK, there
is no way to change color depth in X without a restart.

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What he heck is FIFO?

2003-03-04 Thread Eric G. Miller
On Tue, Mar 04, 2003 at 10:23:40PM -0300, Henrique de Moraes Holschuh wrote:
> On Tue, 04 Mar 2003, Greg Madden wrote:
> > > the remote I am asked for an IP and port. Grrr. For the local I am asked
> > > for a FIFO. Please tell me what to do to dial. By the way, I am in Gnome.

> BTW, install dictd, dict, and dict-vera. Then you can:
> $ dict FIFO
> which answers with:
> >From V.E.R.A. -- Virtual Entity of Relevant Acronyms June 2002 [vera]:
> 
>   FIFO
> First In First Out (CPU)
>   
> It won't help you dial your ISP, but now you know what the heck is a FIFO :P

That's not an especially helpful definition given the context.

$ info mkfifo
...
 A "FIFO" is a special file type that permits independent processes
to communicate.  One process opens the FIFO file for writing, and
another for reading, after which data can flow as with the usual
anonymous pipe in shells or elsewhere.
...

An example of a FIFO is /dev/xconsole, as in:

$ xconsole -file /dev/xconsole &

Messages get "written" to the special file and xconsole reads them
into a window (something like "tail -f /dev/syslog").

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: odd compiler behaviour?

2003-03-16 Thread Eric G. Miller
On Sun, Mar 16, 2003 at 10:06:01PM +, Colin Watson wrote:
> I stand corrected, then. Although 'info libc' does say that (void) is OK
> for main() in ISO C.

Correct.  Two ISO C forms of main are:

  int main (void) { ... }  
  /* identical to: int main () { ... } */ 

or

  int main (int argc, char *argv[]) { ... }
  /* identical to: int main (int argc, char **argv) { ... } */


However:

  int main ();

and

  int main (void);

are not identical *declarations*.   But only crazy people who like to
call "main" recursively ever write declarations for it...

In non-conforming mode (the default), gcc will also accept "void main(...)"
and the three argument form that adds "char **envp"...

And then, there is the K&R form with implicit int return:

main (argc, argv)
int argc;
char *argv[];
{...}

K&R is accepted but deprecated in all versions of ISO/ANSI C except the
implicit int return type is an error in C99.

(Now, back to your regularly scheduled program ...)

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: odd compiler behaviour?

2003-03-16 Thread Eric G. Miller
On Sun, Mar 16, 2003 at 12:40:52PM +, Colin Watson wrote:
> On Sun, Mar 16, 2003 at 04:56:53PM +1100, Rob Weir wrote:
> > On Fri, Mar 14, 2003 at 04:00:22PM +, Bruynooghe Floris wrote:
> > > 
> > > int main()
> > 
> > An addition to what everyone else said, this really should be 
> > 
> > int main(int argc, char** argv)
> > 
> > to truly satisfy the pedant within :)
> 
> Doesn't matter if you aren't using them. '()' in C means "unspecified
> arguments", as opposed to "no arguments" which is '(void)'.

In a definition, () and (void) are identical. It's only in the
declaration where () means a fixed but unspecified number of arguments
and only crazy people write declarations for "main".

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [ot] Linux stdio question, howto find fopened files

2003-03-21 Thread Eric G. Miller
On Fri, Mar 21, 2003 at 03:03:33PM -0600, Michael Heironimus wrote:

> Well, __iob is reasonably portable because it looks like it's a standard
> part of a System V libc. In theory, I think glibc is supposed to support
> the System V ABI, but it doesn't seem to have an __iob[]. I don't think
> __iob is specified in any other standard, and different versions of the
> System V ABI standard don't even define it in quite the same way.
> 

info libc ; i SVID
"""
SVID (The System V Interface Description)
-
...
   The GNU C library defines most of the facilities required by the SVID
that are not also required by the ISO C or POSIX standards, for
compatibility with  System V Unix and other Unix systems (such as
SunOS) which include these facilities.  However, many of the more
obscure and less generally useful facilities required by the SVID are
not included.  (In fact, Unix System V itself does not provide them
all.)
...
"""

So, the long and the short of it is GNU libc doesn't claim to fully
support System V.

I looked for __iob in the SUS3, for instance, and couldn't find
neither hide nor hair...

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [ot] Linux stdio question, howto find fopened files

2003-03-19 Thread Eric G. Miller
On Wed, Mar 19, 2003 at 01:32:26PM -0500, Walter Tautz wrote:
> please retain the CC to rbutterworth
> 
> 
> Subject: Linux stdio question.
> 
> On non-linux unix systems, one can reference __iob[]
> to find all currently fopen()ed files
> (e.g. when forking a new process one would generally
>  want to flush their buffers first, or perhaps close most of them).
> 
> Linux's stdio.h doesn't provide such an array of open FILE pointers,
> or at least if it does I can't find it. 

This seems to be a glibc question.  Folks on
news:comp.os.linux.development.[apps|sys] might know better. Referencing
internal data structures is inherently non-portable.  You might look in
/proc//fd/ which seems to have file descriptor numbers represented
as symbolic links to the file(s) opened.

fflush (NULL); flushes all fopen'ed files, but that doesn't mean writes
are actually committed (you need sync/fsync for that).

> Any idea what they call it,
> or how one can find all currently open FILEs?
> 
> Perhaps there is a better way?
> 
> A general guide to porting underlinux /debian would be appreciated.

Linux Standards Base?

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mutt : how do I send multipart/alternative ?

2003-03-21 Thread Eric G. Miller
On Fri, Mar 21, 2003 at 03:12:17PM +0100, Frank Gevaerts wrote:
> Hi,
> 
> I'd like to send MIME multipart/alternative mails with mutt. The only
> things I find about mutt and multipart/alternative are about how to 
> display such mails. Is there any documentation on this available
> somewhere ?
> 
> (For those who are wondering : I do not intend to send html mail, but I
> want to reply to html mail with a multipart tex/postscript mail)

Evil.  I like it.  Don't forget a troff version...

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse

On Fri, Mar 21, 2003 at 03:12:17PM +0100, Frank Gevaerts wrote:
Hi,

I'd like to send MIME multipart/alternative mails with mutt. The only
things I find about mutt and multipart/alternative are about how to 
display such mails. Is there any documentation on this available
somewhere ?

(For those who are wondering : I do not intend to send html mail, but I
want to reply to html mail with a multipart tex/postscript mail)



Evil.  I like it.  Don't forget a troff version...

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse


Re: OT: functional languages

2003-01-20 Thread Eric G. Miller
On Mon, Jan 20, 2003 at 12:07:31PM -0500, David Z Maze wrote:
> [EMAIL PROTECTED] (Robert Land) writes:
> > On Fri, Dec 13, 2002 at 11:23:43AM -0500, Derrick 'dman' Hudson wrote:
> >> "imperative" and "procedural" are the same thing, and C is a prime
> >> example.  It is such because the structure of a C program is a
> >> collection of procedures which start with "main".  Each procedure is a
> >> linear list of statements to be executed in order.
> >
> > Could you specify a "linear list" more clearly? - the 
> > contrary would be a "nonlinear list" which on the first
> > view seems to be self-contradictory.
> 
> For example, in C:
> 
> int fib(int n)
> {
>   if (n < 2)
> return n;
>   return fib(n-2) + fib(n-1);
> }
> 
> the rules require that fib(n-2) is called before fib(n-1).  In Scheme:

This is incorrect.  There is no sequence point in the statement:

   return fib(n-2) + fib(n-1);

So, it's up to the implementation which side of the '+' is evaluated
first.
 
> (define (fib n)
>   (if (< n 2)
> n
> (+ (fib (- n 2)) (fib (- n 1)

The C and Scheme functions are essentially identical.  In C, statements
are executed in order.  I'm not too up on functional languages, but I
seem to recall they need special syntax to execute statements
sequentially.

That fib function is painfully slow via recursion and susceptible to
uncaught overflow in the C version (Scheme has big numbers built in).

#include 

unsigned long long
get_nth_fib (unsigned long long count)
{
unsigned long long last2 = 0ULL;
unsigned long long last  = 1ULL;
unsigned long long cur   = count;
unsigned long long i;

if (count > 1) {
for (i = 1; i < count; ++i) {
cur = last + last2;
if (cur < last) {
fprintf (stderr, "get_nth_fib(%llu) overflows!\n", count);
cur = 0UL;
break;
}
last2 = last;
last  = cur;
}
}
return cur;
}

Less elegant, but much faster and more robust than the recursive C version.
A table look-up would be even faster up to some 'n' (say, 93 in this case).

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: getting time from timeserver on a dial-up

2003-01-24 Thread Eric G. Miller
On Fri, Jan 24, 2003 at 12:33:45PM +, [EMAIL PROTECTED] wrote:
> Hi,
>I'm using Debian 3.0r1 stable on a dialup in the UK. I'm using PAP
> authentication that CHAT's to the modem then launches pppd and away we go.
> What I'd like is for the machine to check and set (if necessary) the system
> clock based on the time from one of the many timeservers on the internet.
> 
> What package do I need to do this?
> 
> How do I make it autorun once pppd has got the ppp connection up and
> running (I use the pon script)

I think you'll like chrony for this task.  Out of the box support for
ppp connections...

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: XPDF can't find fonts

2003-01-27 Thread Eric G. Miller
On Mon, Jan 27, 2003 at 01:58:36AM -0800, Joris Huizer wrote:
> Hello everybody,
> 
> Sorry for double posting but it seems nobody has
> answered on this yet.
> 
> 
> When I try to read a pdf using xpdf it opens but it
> shows junk. I get these messages:
> 
> Error: Couldn't create FreeType font from
> '/tmp/BvV0Wg'
> Error: Couldn't create FreeType font from
> '/tmp/E0vgYp'
> Error: Couldn't create FreeType font from
> '/tmp/SdqUZq'
> Error: Couldn't create FreeType font from
> '/tmp/eBh9br'
> Error: Couldn't create FreeType font from
> '/tmp/WTCNBu'
> 
> What should I do to get xpdf to work ?

Does this happen on all PDF's or just one in particular?  Can you read
it with GV?

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: invalid date from date -d 1969-12-31

2003-01-27 Thread Eric G. Miller
On Mon, Jan 27, 2003 at 10:59:47PM -0500, Stan Heckman wrote:
> On my system, date -d returns "invalid date" for dates before 1970. It
> is possible that this began when I upgraded libc6. Any suggestions?

1970-01-01 is time zero for *nixen.  You're asking about what happened
before the big bang!  Guess "date" is not as generally useful for
reformatting dates as it could be.  However, its primary function is to
set/print the current date/time which is always more recent than 1970.

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: invalid date from date -d 1969-12-31

2003-01-28 Thread Eric G. Miller
On Tue, Jan 28, 2003 at 10:32:45AM -0500, George Georgalis wrote:
> On Mon, Jan 27, 2003 at 11:36:36PM -0800, Eric G. Miller wrote:
> >On Mon, Jan 27, 2003 at 10:59:47PM -0500, Stan Heckman wrote:
> >> On my system, date -d returns "invalid date" for dates before 1970. It
> >> is possible that this began when I upgraded libc6. Any suggestions?
> >
> >1970-01-01 is time zero for *nixen.  You're asking about what happened
> >before the big bang!  Guess "date" is not as generally useful for
> >reformatting dates as it could be.  However, its primary function is to
> >set/print the current date/time which is always more recent than 1970.
> 
> Guess again. It works fine here... debian 3.0r1
> $ date -d "1/15/1905"
> Sun Jan 15 00:00:00 EST 1905
> $ date -d "1/15/1905" +%s
> -2049994800

$ export LANG="C"
$ date -d "1/15/1905"
date: invalid date `1/15/1905'

Mmm, I guess it's a bug in sid's date...

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: problem with xlibs?

2003-02-02 Thread Eric G. Miller
On Sun, Feb 02, 2003 at 11:34:32PM +0200, Egor Tur wrote:
> Hi folk.
> I have this when compile some programme:
> 
> /usr/X11R6/lib/libX11.a(XlibInt.o): In function `_XEventsQueued':
> XlibInt.o(.text+0x76c): undefined reference to `pthread_equal'
> XlibInt.o(.text+0x786): undefined reference to `pthread_equal'
> XlibInt.o(.text+0x7a1): undefined reference to `pthread_equal'
> XlibInt.o(.text+0x7ba): undefined reference to `pthread_equal'
> XlibInt.o(.text+0x7d7): undefined reference to `pthread_equal'
> /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xb1c): more undefined references to 
>`pthread_equal' follow
> collect2: ld returned 1 exit status
> make[1]: *** [ds9] Error 1
> make[1]: Leaving directory `/home/iraf/saoimagenew/saods9/ds9'
> make: *** [ds9] Error 2
> 
>  What is this? problem with libX11? What do? Upgrade xlibs-dev?
> dpkg -l xlibs-dev
> ii  xlibs-dev  4.2.1-4X Window System client library development

Whatever you're doing, you apparently need to add -lpthread to the 
linker arguments.

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: problem with xlibs?

2003-02-03 Thread Eric G. Miller
On Mon, Feb 03, 2003 at 09:39:20AM +0200, Egor Tur wrote:
> Hi.
> > > I have this when compile some programme:
> > >
> > > /usr/X11R6/lib/libX11.a(XlibInt.o): In function `_XEventsQueued':

You're trying the link a *static* library that depends on libpthread.
If you link against the shared library, then that should not be an
issue.

The difference is between:

$ gcc foo.c -L/usr/X11R6/lib -lX11  # link against shared library

and

$ gcc foo.c /usr/X11R6/lib/libX11.a # *incorporate* object archive

> Thanks. This work.
> But I don't understand why. I have 2 debian machine and install the
> same program on them.
> First:
> dpkg -l xlibs-dev
> ii  xlibs-dev  4.1.0-17 
> dpkg -l libc6
> ii  libc6  2.2.5-14
> Second:
> dpkg -l xlibs-dev
> ii  xlibs-dev  4.2.1-4
> dpkg -l libc6
> ii  libc6  2.3.1-9
> 
> On first computer programme build without problem but on second I have
> mistake with libX11 and  pthread.  Thanks.

Do you have the shared library on the second computer?
(/usr/X11R6/lib/libX11.so.6.2 and links libX11.so.6 && libX11.so)

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: shuttle disaster

2003-02-08 Thread Eric G. Miller
On Sat, Feb 08, 2003 at 02:57:29AM -0600, Gary Turner wrote:
> Paul Johnson wrote:

> >Considering the military accounts for over 40% of government spending,
> >I think we found a place to start trimming fat heavily.  Especially if
> >our politicians are going to keep claiming we're a peace-loving
> >nation.  Peace-loving nations don't spend damn near half thier money
> >on a military.
> 
> Uh, that's not exactly factual.  The 40% you refer must be the amount
> spent on militant oldsters for Social Security (22%), Medicare (11%),
> and Medicaid (7%).  The portion of the budget spent on defense is
> 17%.[1]  The amazing tales of the amounts supposedly being spent on the
> military seem to be urban legends that just keep getting repeated.

It's about 40% of *discretionary* spending.  So, you're both right.
Since Social Security, et al. are mandatory programs with separate
payroll deductions, they are often excluded from budget discussions.

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: shuttle disaster

2003-02-09 Thread Eric G. Miller
On Sun, Feb 09, 2003 at 12:30:57AM -0800, Paul Johnson wrote:
> On Sun, Feb 09, 2003 at 01:24:22AM -0500, Geordie Birch wrote:
> > I thought so too, but no bank in Arcata would touch it if I didn't have an
> > account.  This was in 1995.
> 
> What do you expect?  It's a state that's been 0wnz3d by Wells Fargo, a
> bank known for screwing people attempting to use it's services in the
> proper coin of the realm.  It doesn't help that all the other banks
> down there seem to be trying to play catchup on how badly they can
> screw thier customers to compete with Wells Fargo.
> 
> I bank with Washington Mutual[1] (formerly Fred Meyer Saving and
> Loan), which offers unlimited free checking, free checks, free check
> card, free online banking, no charge for talking to a human teller,
> they'll let you overdraft up to $100 for free (more if your credit's
> good) and reasonable exchange rates.  They also allow
> non-account-holders to do currency-to-currency transactions with a
> teller and use thier ATMs for free, and they won't charge account
> holders for using another bank's ATM (though the other bank might).

Last time I was in Arcata it had at least three or four banks that
weren't Wells Fargo and one is a Washington Mutual.  I don't recall if
it was there in 1995 (I think not).  That none would exchange currency
with folks who aren't account holders isn't surprising.  Arcata is
behind the Redwood Curtain, 300 miles from anywhere and has a population
less than 20,000 (and only that large due to the university).  It's not
exactly a hub of international commerce.  The tellers could probably
count the number of currency exchanges in any given year on one hand.

When I was in some boony town halfway between Montreal and Quebec, the
only restaurant wouldn't take my U.S. currency.  Imagine that!  And the
dang menu was in French to boot.  But, I didn't blame the proprietor for
my lack of planning.

I defy you to find something topical in this message or any of its
predecessors in this thread.
-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Console fonts in rxvt

2003-02-11 Thread Eric G. Miller
On Tue, Feb 11, 2003 at 10:06:06PM -0500, George Georgalis wrote:
> Hi, another question on the same topic...
> 
> On Tue, Feb 11, 2003 at 02:32:49PM -0700, Cameron Matheson wrote:
> 
> >What are you using as a font name?  You just use any font that X
> >recognizes (use xfontsel to get the font-name).  With aterm, i use the
> 
> How does one specify the font:
> -jmk-neep alt-medium-r-normal-*-*-140-*-*-c-*-iso8859-1
> 
> there is a space in the name and I can't get it to work with rxvt...

Wrap it in quotes.

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Newbie Installation Problems

2003-02-15 Thread Eric G. Miller
On Fri, Feb 14, 2003 at 09:47:04PM -0800, Paul Johnson wrote:

> Fun fact: Today is Oregon Day.  On this day in 1859, Oregon became the
> US's 33rd state, the result of the Vote at Champoeg, in which two
> Canadians wanted dead or alive tipped the vote from 49/50 to 51/50 in
> favor of becoming a US state instead of a Canadian province.
> Retrospectively, this is considered the worst thing to happen to
> Oregon as it leaves the international boundary on the wrong side of
> the state, something that has left us completely defenseless against
> political and migratory abuse by California (everybody stop moving
> here, Oregon's full now, not that anybody was welcome to begin with).

Please take your tripe elsewhere.  In the U.S. people are free to move
from state to state without restriction.  Get over it.  Replace
Californian with nigger/jew/whop/chink/irish/injun/wetback/etc. and
see how palatable your xenophobia becomes.  

More people move to California in any given year than Oregon and
California is similarly "defenseless" against these migrations.  Since
this is largely an economic decision, the solution lies in: (1) make
Oregon a prohibitively expensive place to live; and (2) make Oregon a
prohibitively expensive place to do business.  If you succeed in both of
those, I'm sure migrations will dwindle to a trickle.  Of course, it
might make Oregon a less desirable place to live for the "natives" as
well.  

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ftpd-ssl

2003-02-15 Thread Eric G. Miller
On Sun, Feb 16, 2003 at 01:52:17AM +, mjoyce wrote:
> I have ftpd-ssl running, it seems to work very well.
> 
> As far as I can tell it just uses port 22, neat, this seems to make the 
> problems of ftp, port, firewalls, passive clients etc, go away, just open and 
> forward port 22.
> 
> Is this right ?
> 
> if so, i'm surprised more people don;t use it.

The FTP protocol uses two ports and FTP-SSL uses two more...

$ grep 'ftp' /etc/services
ftp-data20/tcp
ftp 21/tcp
ftps-data   989/tcp # FTP over SSL (data)
ftps990/tcp # FTP over SSL

Probably more people would use it if more ftp clients supported it...
I don't know how well it's supported in MS and Apple worlds...

Most anonymous access should probably continue to use normal ftp. SSL
does have overhead...

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Setting progs at a runlevel

2003-02-15 Thread Eric G. Miller
On Sun, Feb 16, 2003 at 12:45:10AM +0100, Jeff Elkins wrote:
> As a RH refugee, I'm used to running the 'setup' program to enable/disable 
> program startups at runtime. For Debian, am I correct in cd'ing to the 
> /etc/rcX.d dir and moving SXXprogram to KXXprogram to disable it?
> 
> If so, is there a better way?

That works.  There's also update-rc.d (though it was really written for
scripts).  I think some of the system management front-end tools
advertise the ability to mess up the SYSV links as well (linuxconf,
etc...).

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: My cup runneth over!

2003-02-15 Thread Eric G. Miller
On Sat, Feb 15, 2003 at 11:11:51PM -0600, will trillich wrote:
> On Thu, Feb 13, 2003 at 06:46:03PM -0500, David Turetsky wrote:
> > You sure there ain't some way to prevent a slew of xterm windows from
> > opening up each time I reboot into gdm?
> > 
> > Earlier today, if there was one, there was 60.70.80
> > 
> > Seems like each time I reboot, the number doubles!!!
> 
> the SAME EXACT THING was happening to me. i'm not all that adept
> at configuring this X stuff, so if you ask me there's something
> behind-the-scenes that appears to have a bit of a hole in it.
> (i.e. instead of clobbering the saved session with the current
> session, it appears to APPEND the current session to the
> previously stored session, hence doubling every instance of
> every window for the next time you log in.)
> 
> and i'm on woody/stable.
> 
> my solution?
> 
>   apt-get install kde

Well, whatever problem you folks are experiencing is almost certainly
not GDM's fault.  I'd wager a gnome-session manager problem.  I'll bet
if you log into a "Debian Session" from GDM, you don't see the brain
damage (unless your ~/.xsession script is horked).

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: VERY OT: mass installation on XBox

2002-10-04 Thread Eric G. Miller

On Fri, Oct 04, 2002 at 06:23:01AM -0400, Antonio Rodriguez wrote:
> Pure crap. Let me give you an example: You haven't paid property tax for 
> a while. Then your property can be taken away from you. Which means it 
> was never yours. You just had a licence to say it was yours. As soon as 
> you stopped paying the yearly fee for the license, the truth came out. 

'Course, the only thing that legitimizes the concept of property
ownership is the strong arm of Johnny Law.  Property taxes are your
"protection money"...  Why should the gov't protect your 40 acres and
a mule if you aren't willing to pay the cost?

-- 
begin 664 .signature
M


Re: [OT] - Interesting politics and the GPL

2002-10-23 Thread Eric G. Miller
On Wed, Oct 23, 2002 at 03:36:05PM -0700, Craig Dickson wrote:

> government funding. That's a legitimate issue. Software developed by the
> government, or under government contract, ideally should be considered
> to be in the public domain; the government, representing the people,
> paid for its development, so one could reasonably argue that it should
> be freely reusable by any American citizen for any purpose, including

Title 17 U.S.C.

§ 105. Subject matter of copyright: United States Government works

Copyright protection under this title is not available for any work of
the United States Government, but the United States Government is not
precluded from receiving and holding copyrights transferred to it by
assignment, bequest, or otherwise. 

Obviously that isn't the whole story (and this only only the federal
government...).

-- 
static const char signature[] = 
    "Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Replace MS Exchange

2002-10-23 Thread Eric G. Miller
On Thu, Oct 24, 2002 at 02:05:26PM +1000, Joyce, Matthew wrote:
> 
> Hi,
> 
> Has anyone done any research into completely replacing an existing MS
> Exchange email setup ?
> I have Exchange 5.5 with PC and Mac clients, they use a mixture of Eudora or
> Outlook.
> 
> We are about to expand some, and I will have to replace the current server
> wityha bigger one, and buy a heap of lecenses for the new clients.
[snip]
> Any ideas ?

Bynari reportedly sells a solution that supposedly works as a drop in
replacement for Exchange from the clients perspective.  AFAIK, it's mostly
free software with some proprietary glue (no idea how well it works...).

-- 
static const char signature[] = 
"Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: can't kill a PID

2002-11-03 Thread Eric G. Miller
On Mon, Nov 04, 2002 at 12:31:17AM +1100, Rob Weir wrote:

> Won't work.   processes are ones which have died, but the
> kernel is keeping them around in case their parent cares about it's
> return value.  AFAIK, it'll hang around, consuming no CPU time but some
> amount of swap, until you reboot.

Or the parent calls waitpid(), or the parent exits...

OP should look at what the "D" means and see why kill is not working...

-- 
static const char signature[] = 
    "Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: pan from unstable too unstable??

2002-11-05 Thread Eric G. Miller
On Wed, Nov 06, 2002 at 01:03:40AM +0100, daniel paranhos zitterbart wrote:
> Hej guys
> 
> I'm actually using debian SID and pan to read my news(eg debian-user).
> Reading function very good, but if want to post a followup, to a mail
> address or to an news server, that doesnt matter, pan crashes.
> I think i've configured everything right.
> 
> is that a known problem?
> anybody running pan from unstable and everything(eg posting to
> newsgroups via mail) is working stable??

See: /usr/share/doc/pan/README.composer

-- 
static const char signature[] = 
    "Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: GLX and undefined references

2002-11-11 Thread Eric G. Miller
On Mon, Nov 11, 2002 at 10:38:14PM +0100, Roman Joost wrote:
[snip]
>  gcc lesson06.c -o lesson06 -L/usr/X11R6/lib -lGL -lGLU -lXxf86vm

You probably need to add -lX11 for any X proggy (and maybe others).

-- 
static const char signature[] = 
"Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Modem connection.

2002-11-12 Thread Eric G. Miller

Fix your dang clock already!  I'm quite sure this month is November not
January ;-)

-- 
static const char signature[] = 
"Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: filtering unicode files

2002-11-13 Thread Eric G. Miller
On Wed, Nov 13, 2002 at 02:49:29PM -0300, Eduardo Gargiulo wrote:
> Hi all.
> 
> I´m trying to use grep to filter a string on a unicode file. If I make a
> cat on the file, i can see the contents, but if i pipe a grep after the
> cat, the string (exists in file) didn't match. Is it possible to use
> grep on unicode files? How? Is there any other tool to do that?

What do you mean by "unicode"? The man page of grep says it looks to
LC_CTYPE (among others) to determine how to interpret the file.  This
could make a difference.

-- 
static const char signature[] = 
    "Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: X 4.2 byting more than I can allow it to chew

2002-11-13 Thread Eric G. Miller
On Wed, Nov 13, 2002 at 11:44:39PM -0500, Seneca wrote:
> Over the past 10 days, I have noticed that X 4.2.1-3 has been gradually
> eating up more and more of my system's memory and swap. In the
> beginning, the XFree86 process only used about 26M, but today it had
> reached the point of using 70M (that is alot of swap, my system only has
> 192M of it).
> 
> Any suggestions on keeping the memory and swap usage down (I already
> avoid desktop environments and other heavy GUI tools)?

Are you running any kind of program that repaints the root window?  They
tend to be common culprits in memory leakage.

-- 
static const char signature[] = 
        "Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Setting default width of xman

2002-11-15 Thread Eric G. Miller
On Fri, Nov 15, 2002 at 08:38:33PM +0100, Michael Naumann wrote:

> >More generally, how can I find the available resources for a
> >particular X-client?
> 
> This is something I'd also like to know.  I too often end up with
> experimenting.  In the case of xman, the widget hirarchy can be
> obtained with man xman

You can play with "Editres" ; figuring out valid values for
resources is another matter...

-- 
static const char signature[] = 
    "Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ld and g2c

2002-11-18 Thread Eric G. Miller
On Mon, Nov 18, 2002 at 02:48:39PM +0200, Jerome BENOIT wrote:
> Hi All,
> 
> Whereas `g++' can find the library `g2c', ld cannot:
> why ?
> did I miss something ?

It's not in the "usual" places ld looks, but g++ has magic
for C++ (/usr/lib/gcc-lib///libg2c.a).

-- 
static const char signature[] = 
    "Copyright (c) 2002 Eric G. Miller <[EMAIL PROTECTED]>";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: (fwd) unsubscribe

2002-11-23 Thread Eric G. Miller
On Sat, Nov 23, 2002 at 05:31:08PM -0500, Darryl L. Pierce wrote:
> On 2002.11.23 16:30 Pigeon wrote:
> >>> Is he silly?
> >>
> >>Another jackass ... is it against the law to hit stupid people?
> >>
> >>Oliver
> >
> >See Romans 12:19
> 
> 
> Then try Isaiah 45:7 and Psalm 137:9.

"Forgive them first ... and then kill them"
   -- Dobbs, 1954, radio broadcast on capital punishment,
  WFMU, East Orange, New Jersey

Stang, Rev. Ivan (Ed.).  _Revelation X: the "Bob" Apochrypon_  1994.
Fireside.  New York.  p. 47

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Stripping EOL feeds...

2002-11-24 Thread Eric G. Miller
On Sun, Nov 24, 2002 at 10:32:14PM -0600, ZephyrQ wrote:
>   I'm trying to format the debian install manual (text version) for
> printing and I'm trying to save a couple of trees.  Is there an easy way
> to strip the line breaks so the text will come out unformatted?  This
> way I can reduce the font and print whole pages of itty bitty debian
> install text which, in my own sick way, helps me find info I need
> quicker...

An alternative approach.  Use something like enscript to format it into
postscript with two pages per physical page.  Then print duplex...

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How to escape "find" result

2002-11-29 Thread Eric G. Miller
On Fri, Nov 29, 2002 at 08:52:36PM -0500, Try KDE wrote:
> Hi,
> 
> I'm trying to run the following script:
>   for f in $(find . -name "*.txt"); do cmd1;cmd2;cmd3; done
> ,where cmd1, cmd2 and cmd3 are arbiturary commands. The problem is, if 
> the found file names contain a space , for example "part1 part2.txt" 
> will be interpreted as "part1" and "part2.txt". I'm thinkin an esacping 
> tool may be able turn it into "part1\ part2.txt" before passing it to 
> "for" loop. Any thought?

Does:

IFS="^M" && for f in $(find . -name "*.txt"); do cmd1; cmd2; cmd3; done

work? (replace ^M with real newline)

There's also the trick of:

for f in *.txt; do echo "$f" ; done


-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: GSview on Debian anybody?

2002-12-10 Thread Eric G. Miller
On Tue, Dec 10, 2002 at 01:24:18PM +0100, Volodya Mumariv wrote:
> Stephen Patterson wrote:
> >
> >On 9 Dec 2002 12:34:10 -0800, Volodya Mumariv wrote:
> >> Did anybody succeed to pack GSview for Debian or install it in any
> >> ather way?
> >
> >Yes, there's a gv package (from the package info)
> >Description: A PostScript and PDF viewer for X using 3d Athena Widgets
> > gv' is a comfortable viewer of PostScript and PDF files for the X
> > Window System.
> > .
> > It uses the ghostscript' PostScript(tm) interpreter and is based
> > on the classic X front-end for gs', ghostview'. It is more
> > comfortable and more powerful than ghostview'.
> 
> Sorry, I was not exact. I need GSview because of its functionality (through 
> gs of course) to select and convert certain part of ps file into high 
> resolution raster graphics. Is gv able to save ps as high resolution jpg, 
> tiff or png for example? If not, what are debian people using for that 
> purpose (except CL driven gs)?

There's no handy interface I'm aware of like w/ GSview, but all the
actual work is done by gs.  Look up device selections, resolution
selections and -dTextAlpha and -dGraphicsAlpha.  This is clearly a
case where a nicer GUI would be useful...

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: acroread and anti-aliased text

2002-12-10 Thread Eric G. Miller
On Tue, Dec 10, 2002 at 08:59:43PM -0600, Gary Turner wrote:
> Alan Shutko wrote:
> 
> >Gary Turner <[EMAIL PROTECTED]> writes:
> >
> >> Not sure that's the only cause.  Documents created by LaTeX and
> >> converted to PDF have the same problem. 
> >
> >True, but the problem with (naively created) TeX documents is that
> >dvips traditionally puts bitmapped fonts into its ps files (as PS Type
> >3 fonts).
> 
> Certainly a naif here.  What is the more sophisticated approach?

I've had good luck with dvipdfm.  Understands hyperref, no messy
conversions of eps files (use graphicx), no pdflatex headaches...

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Compiling gsview

2002-12-10 Thread Eric G. Miller
On Wed, Dec 11, 2002 at 07:31:49AM +0530, Sridhar M.A. wrote:
> Hi,
> 
> I am trying to run gsview 4.3. When I try opening a ps file, it says
> that it cannot find libgs.so. A quick search on debian's packages page
> did not yield any package that contained the above mentioned file. 
> 
> Is there any package/metapackage that provides libgs.so so that I can
> use/compile gsview?

It appears the package gs-aladdin just ships as a single executable.
You may have to build from source to get a shared library.  How did
you install gsview (it doesn't appear to be packaged for Debian)?

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: acroread and anti-aliased text

2002-12-10 Thread Eric G. Miller
On Tue, Dec 10, 2002 at 11:25:51PM -0600, Gary Turner wrote:
> Eric G. Miller wrote:

> >I've had good luck with dvipdfm.  Understands hyperref, no messy
> >conversions of eps files (use graphicx), no pdflatex headaches...
> >
> Looking at the man page on this is encouraging.  It does, however, throw
> a spotlight onto my vast ignorance.  Can you suggest a default set of
> arguments for the '-f' option?  (the equivalent of Computer Modern?)  If
> I read the man right, this option should do the job of putting some
> type1 fonts into the pdf file.

It's been a little while since I've done any "texing", but I never
messed with the fontmap argument.  Just like magic it uses the
Type1 CMR fonts (or Times, Helvetica, Palatino, etc..)  Maybe,
see /etc/texmf/dvipdfm/config ...?

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Programing Question

2003-03-28 Thread Eric G. Miller
On Sat, Mar 29, 2003 at 12:09:44AM -0600, Harley D. Eades III wrote:
> Hello,
>This might be off topic, but I hope someone can answer a question 
> for me. Is there any documentation on parport.h parport_pc.h.  I seem to 
> get err's when I try to use either of them.
> Do you have to link to a lib? I am not shere I am trying to learn more 
> about devices and such. Any help will be appreciated.

What do you mean, use?  news:comp.os.linux.development.sys or
news:comp.os.linux.development.apps would probably be better places to
ask such questions.

-- 
echo ">[EMAIL PROTECTED]< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: gcc complains there is now ada compiler installed

2002-12-11 Thread Eric G. Miller
On Wed, Dec 11, 2002 at 10:34:43PM +0100, Martin Hermanowski wrote:
> Hello,
> I want to compile an ada program, it works if I use `gnatmake', but if
> I want to use a Makefile or cook, gcc -c won't compile:
> 
> ,
> | (22:29:58)(#1,x0)martin@pegasus:~/priv/dev/ada (626)>cook
> | /* /home/martin/crypto/priv/dev/ada/Howto.list */
> | cook: gcc -c main.adb
> | gcc: main.adb: Ada compiler not installed on this system
> | cook: command gcc: exit status 1
> | cook: main: not done because of errors
> `
> 
> How can I get the correct behaviour?

Use gnatmake in your makefiles.  AFAIK, gcc can't make an executable
from Ada source w/o some help anyway...

But, are you sure your "gcc" points at an Ada capable version?

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: OT: Politics of Java

2002-12-13 Thread Eric G. Miller
On Thu, Dec 12, 2002 at 10:11:26PM -0800, Craig Dickson wrote:
[snip]
> It really is a cool language; the only one I know of with a really
> usable concurrency model. (C/C++ have no concurrency model; Java's
> requires programmers to stick the "synchronized" keyword in all the
> right places; Haskell's use of lazy evaluation to model coroutines is
> cute, but not at all the same thing, just as their two-line qsort demo
> isn't really a qsort if you look at it closely; etc.)

Ada "tasks" provide concurrency. I'm not enough of a language expert
to discuss the merits, but folks seem to use them...

And that "quicksort" looked kinda like a merge sort to me ;-)

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Exchange Calendar client?

2002-12-13 Thread Eric G. Miller
On Fri, Dec 13, 2002 at 07:15:25PM -0600, Michael Heironimus wrote:

> OK, I have a serious question here. I've heard the same type of comment
> before. And I used to work at a company that used Outlook/Exchange
> worldwide, including all the shared calendaring and a global address
> book with the entire company in it (and yes, they got hit VERY hard by
> the first few big Outlook mail worms).
> 
> People used it for basic e-mail. People used the address book. But the
> extent of the group calendaring was that some people would send "meeting
> requests" out. I think one person had a public calendar, but most of us
> hadn't bothered to learn how to access it. And most of the other groups
> were less technical than the one I was in.
> 
> Is this pretty typical? Or do other places actually make real use of the
> group calendars? Or is it that the only people who really know how to
> use all the features are the people who aren't doing real work (like the
> phone system in some places)?

I'd say that's pretty typical.  Sometimes bosses delegate to clericals
to arrange meetings and it's nice when you can look up everyone's
availabilty.  However, that falls apart as soon as you add an outside
party to the meeting.  Many of the people I work with still use Franklin
planners to keep track of meetings (it's difficult to check your
electronic calendar just anywhere; and synchronizing with little
handhelds all the time is a pain...).

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: OT: Politics of Java

2002-12-14 Thread Eric G. Miller
On Sat, Dec 14, 2002 at 08:46:43PM -0800, Craig Dickson wrote:

> Yes, but the question is, how usable is it in practice? 
[snip]

People use "tasks" in Ada on a regular basis.  So, it must be usable,
neigh?

> I have never learned Ada, partly because I've never needed to and
> partially because it's never attracted my interest, in part due to its
> reputation as "the PL/I of the '80s" (translation: a vastly overcomplex,

I've been recently attracted to Ada due to its ability to catch many
more errors at compile time than C (meaning, less bug hunting).  I was
shocked when I first started using it how many things the compiler
would complain about.  One tricky bit is the visibility rules, esp.
in relationship to operators.  Anyway, I think it is much maligned
simply as a reaction to its origin w/ the US DOD or because of its
Pascal'ish syntax.

 From chapter 9 of the Ada95 Reference Manual w/ Tech. Corrigendum 1:
(http://www.adaic.com/standards/95lrm/html/RM-TTL.html)
   
   Section 9: Tasks and Synchronization
1
The execution of an Ada program consists of the execution of one or
more tasks. Each task represents a separate thread of control that
proceeds independently and concurrently between the points where it
interacts with other tasks. The various forms of task interaction
are described in this section, and include:
2
  * the activation and termination of a task;
3
  * a call on a protected subprogram of a protected object, providing
exclusive read-write access, or concurrent read-only access to
shared data;
4
  * a call on an entry, either of another task, allowing for synchronous
communication with that task, or of a protected object, allowing for
asynchronous communication with one or more other tasks using that
same protected object;
5
  * a timed operation, including a simple delay statement, a timed entry
call or accept, or a timed asynchronous select statement (see next
item);
6
  * an asynchronous transfer of control as part of an asynchronous select
statement, where a task stops what it is doing and begins execution
at a different point in response to the completion of an entry call
or the expiration of a delay;
7
  * an abort statement, allowing one task to cause the termination of
another task.
8
In addition, tasks can communicate indirectly by reading and
updating (unprotected) shared variables, presuming the access is
properly synchronized through some other kind of task interaction.

 Static Semantics
9
The properties of a task are defined by a corresponding task
declaration and task_body, which together define a program unit
called a task unit.

 Dynamic Semantics
10
Over time, tasks proceed through various states. A task is initially
inactive; upon activation, and prior to its termination it is either
blocked (as part of some task interaction) or ready to run. While
ready, a task competes for the available execution resources that it
requires to run.

   NOTES
11
  1  
Concurrent task execution may be implemented on multicomputers,
multiprocessors, or with interleaved execution on a single physical
processor. On the other hand, whenever an implementation can
determine that the required semantic effects can be achieved when
parts of the execution of a given task are performed by different
physical processors acting in parallel, it may choose to perform
them in this way.

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: OT: Politics of Java

2002-12-15 Thread Eric G. Miller
On Sun, Dec 15, 2002 at 09:09:48AM -0800, Craig Dickson wrote:
> Eric G. Miller wrote:
> 
> > On Sat, Dec 14, 2002 at 08:46:43PM -0800, Craig Dickson wrote:
> > 
> > > Yes, but the question is, how usable is it in practice? 
> > [snip]
> > 
> > People use "tasks" in Ada on a regular basis.  So, it must be usable,
> > neigh?
> 
> By the same reasoning, concurrency support in C and C++ must be really
> great, because there are lots of multithreaded programs written in those
> languages. I've written many myself. Yet, in fact, there is no
> concurrency support at all in those languages.

Yes, it isn't much of an argument for.  As I inidicated originally, I
just was pointing out the capability but don't have enough experience
to argue the merits of one approach vs. another.  I've looked at what
is involved for C to do threading vs. Ada, and the Ada approach is
at least superficially much cleaner (as it is part of the language
design).  Also, the tasking mechanism is supposed to be available
even when the underlying OS doesn't have direct support (say DOS).
It is up to the compiler/run-time to handle the platform details...

> > 3
> >   * a call on a protected subprogram of a protected object, providing
> > exclusive read-write access, or concurrent read-only access to
> > shared data;
> 
> What makes a subprogram "protected"? Is this a keyword or something that
> the programmer has to put in the right place, like Java's
> "synchronized"?

I don't know Java, but "protected" is a keyword.  But, you don't just
stick it anywhere anymore than you would stick "class" wherever.

> > 8
> > In addition, tasks can communicate indirectly by reading and
> > updating (unprotected) shared variables, presuming the access is
> > properly synchronized through some other kind of task interaction.
> 
> This sounds like "thread synchronization is the programmer's problem",
> at least for the case of unprotected variables.

AFAIK, yes.

> This all sounds considerably more portable than C threading (which is
> dependent either on calling OS services directly, or using a third-party
> library that may not be available on all platforms, or may have
> licensing issues), but not necessarily all that much better. The crucial
> point, to me, is that for at least the most common kinds of thread
> communication and data sharing, it should not be necessary for the
> programmer to remember to do anything extra (like mark functions or
> variables with a special thread-safety keyword). Erlang meets this
> requirement in spades; I don't know of another language that does.

Ada is really fairly low-level like C or C++.  I have not investigated
Eiffel much, but people seem to ooze affection when talking about it.
So, I'd be interested to see if/how it approaches the matter.  Anyway,
different languages meet different needs and none will probably ever be
a magic bullet.

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Default fonts for applications?

2002-12-15 Thread Eric G. Miller
On Sun, Dec 15, 2002 at 04:44:09PM -0500, Travis Crump wrote:
> Lloyd Zusman wrote:
> >
> >Perhaps I didn't make my original question clear.  Many X apps,
> >including mozilla (which is NOT a gtk app)  
> 
> Mozilla has its own widget layer[xul] to allow for easy cross-platform 
> development, but the xul widgets themselves are implemented with gtk for 
> the default X builds[there used to be a qt and a lower level X 
> implementation, but I am not sure if they are still functional] so at 
> its core mozilla is a gtk app.

Yes, gnome/gtk (v. 1.x) font settings affect Mozilla menu fonts.

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ps/gs issue ; individual pages look different

2002-12-17 Thread Eric G. Miller
See -sPAPERSIZE=letter (or whatever) and -dFIXEDMEDIA.

/usr/share/doc/gs-aladdin/Use.htm (if using gs-aladdin)

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: vi alternate problem

2002-12-17 Thread Eric G. Miller
On Tue, Dec 17, 2002 at 08:12:29PM -0500, Tom Allison wrote:
> One day I installed 'vim'.
> 
> Now I have nothing that is recognized as 'vi'
> 
> What do I actually install in order to regain this tidy little editor?

nvi maybe?  Vim has a compatibility mode (vim -v) to more like the
original vi...

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Blackbox/Fluxbox, no EXIT command

2002-12-21 Thread Eric G. Miller
On Sun, Dec 22, 2002 at 11:34:00AM +0800, Robert Storey wrote:
> Hi all,
> 
> Seems that the Debian default installation of both Blackbox and
> Fluxbox doesn't include an "Exit" command. The only way I can get
> out of X is to hit ctrl-alt-backspace, which is not very elegant.
> Does anyone know what I should stick into my .blackbox or
> .fluxbox directory that can cure this little problem?

On the Desktop: ->WindowManagers->Exit

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: This is incorrect advice (Re: ntpdate from cron -- DON'T DO THAT!)

2002-12-21 Thread Eric G. Miller
On Sat, Dec 21, 2002 at 10:12:56PM -0600, John Hasler wrote:
> Michael D. Schleif writes:
> > granted, wherever feasible, ntpd is technically the best . . .
> 
> Do you know of some benchmarks comparing ntp and chrony?

I thought chronyd did not implement all of the time protocol RFC and had
fewer device interfaces for time sources.  So, maybe in that sense ntpd
is "technically the best"?

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kernel panic: i have no root and i want to scream

2002-12-28 Thread Eric G. Miller
On Sat, Dec 28, 2002 at 04:18:37PM +0900, Elijah wrote:
> Hello,
> 
> got this error upon booting to debian, here's some details on the boot
[snip]
> Kernel panic: I have no root and I want to scream
> ---
> 
> here's my grub menu.lst
> 
> title Debian 
> root (hd0,1)
> kernel /vmlinuz ro root=LABEL=/ vga=788
> 
> 
> I've reintalled Debian woody 3 times, and one with the default configs
> and still got the error. This series of errors occured right after a
> fresh repartition and reformat of my hd ... Help!

AFAIK, change to "kernel /vmlinuz ro root=/dev/hda2 vga=788"

I'm not familiar with the "root=LABEL=/" syntax.  The root= should
translate  into a device/partition name per Linux naming.

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Timing a program run?

2003-01-02 Thread Eric G. Miller
On Thu, Jan 02, 2003 at 04:31:39AM -0600, Gerald Livingston wrote:
> On Thu, 2 Jan 2003 02:07:03 -0800
> Paul Johnson <[EMAIL PROTECTED]> wrote:
> 
> > On Thu, Jan 02, 2003 at 03:57:10AM -0600, Gerald Livingston wrote:
> > > How the heck do I time how long it takes a certain script to run?
> > 
> > This isn't shell specific.  And you're probably going to have to get a
> > surgeon to remove your hand from your forhead from hitting it so
> > hard.  8:o)
> > 
> > time 
> 
> Where the heck is that documented, and where is the "time" command *AT*?
> 
> I typed 'time' at the prompt and got a "syntax error near unexpected
> token `newline'" 
> 
> I did a "locate n/time" looking for "time" in a "*bin/" directory --
> not there.
> 
> I searched "man bash-builtins" -- not there.
> 
> AHHH -- there it is, in "man bash" buried in "SHELL GRAMMAR -->
> Pipelines", where it doesn't stand out at all. 

No. You probably want the time program in package "time".  It'll live at
/usr/bin/time.

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Compiler error: C compiler cannot create executables

2003-01-18 Thread Eric G. Miller
On Sat, Jan 18, 2003 at 12:07:24PM +0100, Achton N. Netherclift wrote:
[snip]
> According to packages.debian.org, the file that is missing according to
> the config.logs (crt1.o) is contained in the libc6-dev package. The file is
> missing on my system, so I attempt to install it:

AFAIK crt1.o would be a temporary file created from the combination of
"conftest.c" and some gcc parts when compiling the C file directly to
an executable.  Your installation is incomplete because you don't have
libc6-dev installed.  All that stuff about gcc not being able to produce
an executable...  GCC needs some of the things provided by libc6-dev.

> Isildur:/# apt-get install libc6-dev
> ...
> Sorry, but the following packages have unmet dependencies:
>   libc6-dev: Depends: libc6 (= 2.2.5-11.2) but 2.3.1-9 is to be installed
> E: Sorry, broken packages
> 
> The above message confuses me, though. Does that mean that I have 2.2.5 
> installed
> and need 2.3.1, or is it the other way around? And why can't I find the 
> file crt1.o?

It means, it sees a libc6-dev that depends on libc6 v. 2.2.5-11.2, but
apt has v. 2.3.1-9 scheduled for install.  Try running "apt-get update"
again before proceeding.

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Apache won't run...

1999-06-13 Thread Eric G. Miller
I can't get my Apache to run. It always dies with

[Sat Jun 12 18:16:03 1999] [info] mod_unique_id: using ip addr 127.0.0.1
getpeername: Socket operation on non-socket
getsockname: Socket operation on non-socket
Error getting local address

I'm, obviously, trying to run this on my home computer without a FQDN.  I know 
this is possible, but I'm not sure where it's having the problem.  My hostname 
is set, and can be found with "echo $HOSTNAME", the ServerName is set in 
httpd.conf, and the "bogus" IP address is in /etc/hosts.  What am I missing?
-- 

--
Eric G. Miller
Powered by the http://www.debian.org";>POTATO!



Re: do I have to use Redhat?

1999-06-13 Thread Eric G. Miller
You can upgrade to potato using Apt/dselect.  I did this recently after 
purchasing a cheapbytes of Slink. I realized the Xwindows with Slink doesn't 
support my video card.  Anyway, just reinstall your system making the 
partition changes you want, then choose to install packages via Internet, but 
select "dists/unstable main contrib non-free".  Choose the minimum number of 
packages that you can live with at first (cause this take several hours with a 
dial-up) but make sure you get the kernel-source-2.2.9 package so you can 
compile a new kernel.  Of course, if you have to pay for Internet by usage or 
if your connections are often dropped this may not be an ideal solution.  You 
might try ordering a snapshot CD of Potato (check the debian site for who 
supplies them) as this will certainly save the PPP long download.
-- 

--
Eric G. Miller
Powered by the http://www.debian.org";>POTATO!



Re: pppd/pon permission problem

1999-06-13 Thread Eric G. Miller
 Your permission problem may be at /etc/ppp. I noticed the default cron job 
kept changing permission on me there to root.root instead of root.dip.  Then 
when a normal user (member of dip) tried to run pon "Permission denied" 
because pppd couldn't read the config files... Take a look, then take a look 
at cron.daily for the offending line.


-- 

--
Eric G. Miller
Powered by the http://www.debian.org";>POTATO!



Re: xlib6g-dev problem

1999-06-14 Thread Eric G. Miller
You probably need to tell gcc where to look for the X libraries and probably 
where to look for the includes as well.  You need to pass it flags like -lXaw 
(or something for libraries) and -I/usr/X11/include (or some such) to tell it 
where the header files are.

This question is probably more on topic under one of the developer lists, or 
some usenet groups.

Also, I'd suggest using ANSI style C vs. the K&R style in your snippet.

Example:

int main(int argc, char **argv)
{

return 0; /* main() always returns an int */
}

-- 

--
Eric G. Miller
Powered by the http://www.debian.org";>POTATO!



Re: how do i modify the kernel for apm / ipmasq

1999-06-15 Thread Eric G. Miller
You'll need to download/install the source files for the kernel image of your 
choice (2.0.36, 2.2.9, etc...). Suggest you read/skim the kernel HOWTO, and 
the debian docs on creating a custom kernel (since the "debian way" is a 
little different - but easy). Then cd to /usr/src/[insert kernel version 
here], run menuconfig or xmenuconfig to select what you want in your kernel 
(There is help on the selections). Then follow the instructions for building a 
custom dpkg type kernel in the debian-docs.  It might take you a few tries, 
but it's been made pretty easy for us.
-- 

--
Eric G. Miller
Powered by the http://www.debian.org";>POTATO!



Re: Netscape crashing -- a lot.

1999-06-16 Thread Eric G. Miller
Yea, use the 4.08 version of Netscape. You might also try with statically 
linked motif (it's a bit bigger, but avoids shared library probs).
-- 

Eric G. Miller
Powered by the http://www.debian.org";>POTATO!



Re: communicator 4.6 - ftp bug

1999-06-17 Thread Eric G. Miller
Use SHIFT-Click when downloading zipped files to stop Netscape from unzipping 
it.  I think there might be a way to configure it not to have this behaviour...

-- 

Eric G. Miller
Powered by the http://www.debian.org";>POTATO!



RealPlayer G2 + potato

1999-06-19 Thread Eric G . Miller
Yes, it works fine "out the box" on my system (is potato!). Perhaps it's 
requiring a library that it doesn't like the version of

On Sat, 19 Jun 1999 15:31:50 Oz Dror wrote:
> hi
> 
> has anyone been able to succsefully run the G2 player on potato.
> Real G2 crash as soon as it starts playing.
> -Oz
> -- 
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> NAME   Oz Dror, Los Angeles, California   
> EMAIL  [EMAIL PROTECTED]  <>
> PHONE  Fax (310) 474-3126
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


Eric G. Miller
Powered by the http://www.debian.org";>POTATO!


Re: X-Windows running automatically and not working. :(

1999-06-20 Thread Eric G. Miller
You might try Ctrl-Alt-F1 (or one other function key between 1 and 6).  This 
should get you to a terminal login if the runlevel is 2 (which is usually the 
default with debian). Then log in as root, type "more /etc/inittab". You 
should see a line that say id:N:initdefault: where N is some number (that is 
the default runlevel). Remeber that number. Now type "cd /etc/rcN.d" where "N" 
is that runlevel number. Then type "ls" to get a directory listing.  There 
should be a file like "S99xdm". Remove that file with "rm S99xdm" to stop X 
from automatically running when you boot up. Now try to fix the problem with 
X, testing it out with "startx".  When you fix the problem, you can get X to 
start automatically again by typing "ln -s /etc/init.d/xdm /etc/rcN.d/S99xdm", 
again where "N" is the target runlevel.

Hope that helps...
-- 

Eric G. Miller
Powered by the http://www.debian.org";>POTATO!



libXt.a, libX11.a

1999-06-20 Thread Eric G . Miller
Hello,
I'm trying to compile GRASS, but it wants these X libraries: libXt.a & 
libX11.a.  Unfortunately, they don't exist.  I do have libXt.so.6 and 
libX11.so.  Question: Would rewriting the config script so it uses the Elf 
shared libraries as opposed to the "ar" type libraries work?  If not, where can 
I get the "ar" type libraries?

Thanks in advance

Eric G. Miller
Powered by the http://www.debian.org";>POTATO!


Re: libXt.a, libX11.a

1999-06-20 Thread Eric G . Miller
Thanks to those that responded, I'm getting the package now...


   |  "Eric G . Miller" wrote:
   |  > 
   |  > I'm trying to compile GRASS, but it wants these X libraries:
   |  > libXt.a & libX11.a.  Unfortunately, they don't exist.  I do
   |  > have libXt.so.6 and libX11.so.  Question: Would rewriting 
   |  > the config script so it uses the Elf shared libraries as
   |  > opposed to the "ar" type libraries work?  If not, where can
   |  > I get the "ar" type libraries?


Eric G. Miller
Powered by the http://www.debian.org";>POTATO!


Re: ppp connection and winmodem is supported

1999-06-21 Thread Eric G . Miller
If you indeed have one of these messy Winmodems, you will have to buy a fully 
functioning modem to use it with Linux.  Winmodems require software to do
some of the work that most modems normally do themselves.  You can pick a 
good one for under $100 U.S.


   |  one of debian documents  winmodem is not supported by linux ppp. I use US 
   |  Robotics 56 K VoiceWin modem? is it true?


Eric G. Miller
Powered by the http://www.debian.org";>POTATO!


Re: install-device driver problem

1999-06-21 Thread Eric G . Miller

A good place to start: http://metalab.unc.edu/LDP. You will also find a wealth 
of
 information on your newly system under file:/usr/doc/.

On Sun, 20 Jun 1999 23:45:29 Phil Wu wrote:
   |  Hi,
   |  I am new to Linux. During installation of debian linux from Debian CD
   |  package, I got problem about configuring device drivers. So I skip it by
   |  
   |  just press next button to the next step. I have no idea about the device
   |  
   |  drivers and how to get the right one.
   |  My hardware is as below:
   |  
   |  IDE 7.4 G quantum HD
   |  1.44Mb Floppy Disk
   |  56k Modem
   |  IDE ATAPI cdrom
   |  128 Mb Ram
   |  8Mb Leadtek Winfast 3D L2300 vedio card
   |  No SCSI device.
   |  
   |  The other question:
   |  How to mount block devices such as floppy disk and cdrom?
   |  Where could get infomation about modules (device drivers)?
   |  
   |  Thanks
   |  
   |  Phil
   |  
   |  
   |  
   |  
   |  
   |  
   |  -- 
   |  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
   |  
   |  


Eric G. Miller
Powered by the http://www.debian.org";>POTATO!


RealPlayer G2 for Linux -- where to get?

1999-06-22 Thread Eric G . Miller
It's there, I got it, It works... You should get the RedHat RPM version,
put it in /tmp and the let the debian installation script at it.

On Mon, 21 Jun 1999 19:26:22 Arcady Genkin wrote:
   |  Hi all:
   |  
   |  I've read a couple of posts in the list about the RPlayer G2 for
   |  Linux. However, the Real's website doesn't list it among available
   |  downloads (neither free, nor "Plus").
   |  
   |  Is it really available from somewhere, or is this a mass confusion?
   |  
   |  Thanks!
   |  -- 
   |  Arcady Genkin
   |  "... without money one gets nothing in this world, not even a certificate
   |  of eternal blessedness in the other world..." (S. Kierkegaard)
   |  
   |  
   |  -- 
   |  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
   |  
   |  


Eric G. Miller
Powered by the http://www.debian.org";>POTATO!


Popping Sound problem

1999-08-08 Thread Eric G . Miller
I get an annoying popping sound initially when sound files start
playing.  I have an Intel SE440BX motherboard with the Crystal CS4232
chip built in. I've compiled the kernel with sound as CS4232, io=530,
irq=5, and dma=0,1.  I generally run esd, but that doesn't seem to be
the problem.  Any insights?
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: XFree86 (3.3.4), graphics cards, and BIOS weirdness.

1999-08-08 Thread Eric G . Miller
Of course, you're aware that those debs are not official and may give
you problems.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: looking for a mail client

1999-08-09 Thread Eric G . Miller
I'm certainly no expert on using mutt, but it does have mail
filtering capabilities. See "folder-hook" for more info.  

As far as creating subdirectories, etc., mutt will store mail 
pretty much anywhere you want it to. So, under your ~/Mail directory, 
you could create a "debian" directory, and then have debian-user, 
debian-mentor, etc. as mail files.  AFAIK, you can't have something 
like a mail file "debian" with subdirectories on it.  Though, the 
difference should hardly be an issue.  

In my few days of using it, I have found that mutt definetely 
"sucks less" than many other mail clients.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: looking for a mail client

1999-08-09 Thread Eric G . Miller
I stand corrected.  I was actually thinking of the mbox-hook,
but that only processes messages /after/ they have been read.  Seems
procmail would be the ticket for filtering large volumes of mail. 
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Netscape died on me.

1999-08-09 Thread Eric G . Miller
Did you try first purging all of the netscape stuff and then
reinstalling?  It's not an elegant solution but it may work.  I've
pretty much stuck with the 4.08 version for some time because it's
given me few problems (though this apparently isn't universal).
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Easy way to install potato?

1999-08-09 Thread Eric G. Miller
On Sun, 08 Aug 1999, Francis J. Bruening wrote:
  | Hi,
  | 
  | I'd like to do a fresh install of potato? What's the easiest way to do that?
  | 
  | I'm thinking of installing the base slink stuff, and then using apt to
  | update & upgrade after pointing sources.list to the potato stuff?
  | 

Yup.  I'd install the bare minimum, and then go right to installing
potato packages. 


Re: Module problems

1999-08-10 Thread Eric G . Miller
You forget to do a couple important steps if you're using modules.
1. After "make-kpkg -revision... kernel_image" do
make-kpkg modules_image .
2. Then either:
  a) mv /lib/modules/[kernel version] \
/lib/modules/[kernel version]-old
  or
  b) rm -rf /lib/modules/[kernel version]
3. Then do "dpkg -i ../kernel-source... "

-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: dselect problem with Packages.cd

1999-08-10 Thread Eric G . Miller
Are you sure they exist on the CD?
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Switching to KDM...

1999-08-10 Thread Eric G . Miller
On Mon, Aug 09, 1999 at 02:54:01PM -0400, Jon Hughes wrote:
| Hi, Debian newbie asking his normal stupid question :-)
| 
| I have KDE on my computer, works just fine, etc etc.  When the computer
| boots up it goes straight into XDM.  I can log in and kill xdm from a text
| window and start up kdm, no problems there.  I would, however, like to
| change it so KDM starts instead of XDM.  I haven't tried this in a while so
| I can't recall what steps I've taken, but any advice would be much
| appreciated :-)

  1.  Install the kdm package.
  2.  mv /etc/init.d/xdm [somewhere else]
  3.  update-rc.d xdm remove
  4.  update-rc.d kdm defaults (Probably already done if Step 1 done)

  kde packages are available from 
http://kde.tdyc.com [dist] kde kde2 rkrusty contrib
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Easy way to install potato?

1999-08-10 Thread Eric G . Miller
| Please define ``bare minimum''.
| 
| At which point in the installation process is it reached?
 
   Okay, from the CD go through the install process, select some tasks
   or packages, etc.  Then finish up to the point were it tells you it's
   going to reboot. Fine, do that.  Next, after boot up, when you get to
   the part using dselect to install packages, change the Access to
   point at "ftp://ftp.debian.org/debian potato main contrib non-free".
   Then, run the Update packages, to get new lists of the potato
   packages.  You'll probably see some packages are no longer available,
   etc.  You'll have to play with the select process for awhile to
   eliminate all of the dependency issues (if any).  Then run "Install"
   and go to bed.  You'll probably have to run the "Install" a few times
   before you get everything right.

   After putting of upgrading my potato for the last few weeks do to
   Perl, libc6 probs, I upgraded yesterday, and all went well (except
   an errant kde package).
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Module problems

1999-08-10 Thread Eric G . Miller
| > You forget to do a couple important steps if you're using modules.
| > 1. After "make-kpkg -revision... kernel_image" do
| > make-kpkg modules_image .
| 
| Actually 'make-kpkg kernel-image' also compiles any modules you
| configured. So it is not necessary to do this extra step. I never have.

Correct.  I was thinking of add-on modules that live under
        /usr/src/modules.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Problems with fetchmail.. can anyone help?

1999-08-11 Thread Eric G . Miller
On Tue, Aug 10, 1999 at 10:45:43AM -0500, Colin McMillen wrote:
| I am trying to get my mail from a remote server rather than through
| Netscape Mail. I have the fetchmail package installed, but it can't seem
| to get mail from my server. Can someone point out what I am doing wrong?
|
| [EMAIL PROTECTED] ~] fetchmail -u mcmi0037 mcmi0037.email.umn.edu
| Enter password for [EMAIL PROTECTED]: 
| 1 message for mcmi0037 at mcmi0037.email.umn.edu (645 octets).
| reading message 1 of 1 (638 header octets) fetchmail: SMTP listener
| doesn't like recipient address [EMAIL PROTECTED]'
| fetchmail: can't even send to shadow!
| fetchmail: SMTP transaction error while fetching from
| mcmi0037.email.umn.edu
| fetchmail: Query status=10

I've had the same problem. Your local mail handler (exim,
sendmail, whatever) is not configured properly.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: loopback route fails?

1999-08-11 Thread Eric G . Miller
  Because you don't need it with 2.2.x kernel. Comment it out.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: ugh!! Why does my time keep resetting?!

1999-08-12 Thread Eric G . Miller
Look at the manual for date for all of the ways to change it's
output.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Need exim to rewrite Sender header

1999-08-13 Thread Eric G. Miller
My ISP just changed their mailer, and they will no longer accept mail
that doesn't have a valid "Sender" header.  Since I have a home system
with no domain name, my Sender header reads [EMAIL PROTECTED]  What I'd like
exim to do is make the Sender header be the same as the From header for
any mail not being delivered locally.  I tried the header rewrite, but
it apparently doesn't work with the "smarthost" transport.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: why no linuxconf package?

1999-08-14 Thread Eric G . Miller
  There's is a linuxconf package in potato.  However, it somewhat
screwed up from the RH version.  Part of the problem is the debian
/etc/* configuration is different from RH.  Still, I never thought
linuxconf was that great.  It would be nice to have a GUI config tool,
and I believe someone is working on porting COAS (from Caldera?). Can't
really say anything about that though.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: New User having Problems with dselect

1999-08-14 Thread Eric G . Miller
On Fri, Aug 13, 1999 at 06:39:07PM +0300, Antti-Juhani Kaijanaho wrote:
| On Fri, Aug 13, 1999 at 07:14:41PM +1000, Vaughn J Lujan wrote:
| > system, and after rebooting, tried to install updated binaries using
| > dselect,apt from the unstable-main archive.
| 
| Your problem seems to be related to the bash/readline problem that breaks
| any slink->potato upgrade at this point.  I suggest you wait until it
| is fixed.

I got around that glitch by simply installing the upgraded
readline package first, while putting bash on hold, then getting
the bash package.  Went off without a hitch!
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


vim config bug in potato

1999-08-14 Thread Eric G . Miller
  Couple days ago, I upgraded vim and started receiving the errors
below. Last night, a new vim package was available, but the problem
persisted.  Can anyone tell me where I can tell vim where it should look
for it's syntax files?  Here's the error:

"nothing.c" [New File]
Error detected while processing Syntax Auto commands for "c":
Can't open file /usr/share/vim/syntax/c.vim
Press RETURN or enter command to continue

The problem is the path should be /usr/share/vim/vim54/syntax/c.vim.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


ALSA sound

1999-08-14 Thread Eric G . Miller
  Is anyone using the ALSA package on an i386?  I thought I'd try it
out, but I can't get it to compile.  I've already posted a bug report on
it.  I guess my real question is how good is sound from  CS4236 and
CS4610 cards?  I currently get an annoying pop when first playing
sounds -- a problem I'd like to remedy.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Need exim to rewrite Sender header

1999-08-14 Thread Eric G . Miller
On Fri, Aug 13, 1999 at 09:37:06PM +0200, Martin Bialasinski wrote:

| You do this in the remote_smtp transport. 
|   headers_remove = "sender"
|   headers_add = "${header_from}"

  That didn't work. Perhaps because I'm using smarthost? Anyway, the
  rewrite rule:

[EMAIL PROTECTED] egm2@jps.net Ffsr

  does work.  My next task is to make it use a list to do the
  replacements. 
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Logging in w/ session-specific passwd

1999-08-14 Thread Eric G . Miller
On Sat, Aug 14, 1999 at 02:17:06PM +, Julian S. Taylor wrote:
| ~+/usr/sbin/pppd defaultroute ...
| 
| When I use cu on Debian I get the message"pppd permission denied". I can
| use wvdial to my ISP but I can't get into Sun now that I've switched to
| Debian. What am I doing wrong?

It may be you need to add the group "dialout". By default
regular users don't have permission to use pppd.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Strange dependencies.

1999-08-14 Thread Eric G . Miller
   If /dev/hda5 doesn't exist anymore, then you need to remove the line
   referencing it in /etc/fstab. See the manuals on fstab and mount for
   more info.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: Bizarre Clock Problem

1999-08-15 Thread Eric G . Miller
   One possibility is you need a new battery.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: More Netscape Stuff

1999-08-15 Thread Eric G . Miller
On Sun, Aug 15, 1999 at 07:05:07AM +, Cheshire wrote:
| bash-2.02$ /usr/local/netscape/./netscape:
| '/usr/local/netscape/./plugins/cpPack1.jar.old' is not an ELF file
| ERROR: Not an ELF file
| Cant load plugin /usr/local/netscape/./plugins/cpPack1.jar.old. Ignored.
   
   Looks like you have a Java ARchive file that's been renamed, with
   ".old" appended to it. Perhaps you have another file with the same
   name, only without the ".old".  If so, you probably can just remove
   the file.  Though, on my set-up, all the jar files are under a java
   directory.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: LILO saved me!

1999-08-15 Thread Eric G . Miller
On Sun, Aug 15, 1999 at 06:33:57PM +0800, Hans van den Boogert wrote:
| But while I'm at it: I would like for LILO to come up at boot without
| having to wait for the beep and a slam on either Shift, Alt or Ctrl. There
| was something in the LILO doc, but has anyone experience with such a setup
| and what do you have to watch out for? 
| 
| -- Hans
  Take a look at the timeout and prompt commands in man lilo.conf. I
  think that's what you're looking for.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: ALSA sound

1999-08-15 Thread Eric G . Miller
On Sun, Aug 15, 1999 at 05:56:48PM +0200, Nils-Erik Svangård wrote:
| 
| I belive there is some precompiled binaries for i386 residing in potato an
| slink, the potato ones being the most recent. According to the doc you
| have to have sound support choosen in the kernel, and then after that
| compile the modules.
| /nisse

   Yes, but the modules do not compile :-(!
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: No Mouse, No X Windows

1999-08-15 Thread Eric G . Miller
Chances are good that your mouse is a PS/2 style, and the device X
should look for is /dev/psaux. You can either run XF86Config and
change the setting to look for /dev/psaux or you can create a symlink by
running "ln -s /dev/psaux /dev/mouse" as root.  If that doesn't work,
then you need a different driver.  XF86Config will list many, with 
several devices to choose from. If you post more info about your
specific mouse and how it plugs into your computer, someone will help.

On Sun, Aug 15, 1999 at 02:05:05PM -0700, Wendell Buckner wrote:
| I'm almost there... Almost running x windows... But x-windows drops out from 
initializing giving me an error indicating that there is no mouse. And sure 
enough the file it was looking for, /dev/mouse, is not there!  I've been 
looking for some way to create or install a mouse. I must be looking in the 
wrong places (HOWTO's aren't helping).  I just want to install a standard 
microsoft mouse.  I know this is easy, but I can't seem to find information on 
this, maybe makedev can do this? ARGH!!! Help...Please?!!
| 
| 
| -WXB1

-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: How to quit XDM ?

1999-08-15 Thread Eric G . Miller
On Sun, Aug 15, 1999 at 12:44:31PM -0700, Mark Wagnon wrote:
| This may not be the best way to accomplish what you want, but it
| worked for me. I simply created a directory in /root called
| init.d. I then moved xdm to it. No more xdm at startup. I've
| moved other scripts there too. Things like portmap, and scripts
| that I wrote myself. The whole point of the directory was to
| remind me where they came from in case I messed up.
  
  Your right, that isn't the best way, though you were smart to back up
  what you were doing.  Take a look at the command update-rc.d to change
  what gets run at start up. As long as you leave one symlink in one of
  the rcx.d directories, package updates will not change what gets run
  at boot. For programs I like to keep around but not have running at
  boot, I remove all of the S links in runlevels 2-5, and add a
  K link in a runlevel I typically don't use.
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: startup commands

1999-08-15 Thread Eric G . Miller
Leave off the exec part.

For instance, in ~/.xsession
#!/bin/bash

rxvt&  # plain rxterm
rxvt -e mutt & # rxvt with mutt running inside of it
exec fvwm2 # exec window manager as last item

Make sure ~/.xsession is executable (chmod 700 ~/.xsession).

On Sun, Aug 15, 1999 at 01:18:44PM +0200, Jocke wrote:
| Hi all,
| 
| I am trying to start mutt and 1 rxvt shell when
| a specific user logs into X.
| I tried to put
| 
| #! /bin/bash
| #
| exec mutt&
| exec rxvt&
| 
| 
| in bit .xinitrc  and .xsession  but nothing really happens.
| How do I execute these commands at startup ? 
| 
| Best regards
| Joakim
| 
| 
| -- 
| Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
| 
| 

-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: startup commands

1999-08-15 Thread Eric G . Miller
| OK I am running xwm. Can that mess things up ?
| 
| I put my lines in .xsession and included 
| exec windowmaker& 
| as the last line.
| 
| If I log in from xwm with "no change" as wm
| I just bounce right back out to xwm login again.
| And if I choose a wm in xwm my commands wont
| be executed.
| 
| Any ideas ?
| 
| /Joakim
   
   Are you running xdm? or some other display manager? I'm not familiar
   with xwm, but the display manager is responsible for executing
   /etc/X11/Xsession, which should execute your ~/.xsession if it
   exists.  Sounds like whatever you're using doesn't play by the rules.
   I noticed kdm is this way if I select kde in the chooser (this turns
   out to be a good thing though, since I run gnome-session from my
   ~/.xsession. gnome-session and kde don't get along very well.).

-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: How to quit XDM ?

1999-08-15 Thread Eric G . Miller
On Sun, Aug 15, 1999 at 05:35:18PM -0500, Brad wrote:
| 
| As has been mentioned before, this isn't the best solution either. Say you
| remove the link in runlevel 2. Fine, xdm doesn't start on boot. Then you
| change to level 3, and xdm is started. Again, good. But now you change
| back to level 2, where xdm shouldn't be running. What happens? xdm is
| still there, since you never told the system to kill it in runlevel 2.

  Yes, but this begs the question, why? I don't know of any good reason
  to go around changing runlevels midstream.  The only time that makes
  any sense to me, is when you want to do maintainence, and don't want
  anyone else using the system, and only the minimal services running.
  For that, using "shutdown now" brings you down to runlevel 1, then
  you log in as root, do whatever, and then bring the system back up. Am
  I missing something here?
-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Re: How to quit XDM ?

1999-08-15 Thread Eric G . Miller
 According to the man page for init | telinit...
 NIT(8)Linux System Administrator's ManualINIT(8)

When  init  is  requested to change the runlevel, it sends
the warning signal SIGTERM to all processes that are unde­ 
fined in the new runlevel.  It then waits 5 seconds before 
forcibly terminating these processes via the SIGKILL  sig­ 
nal.  Note that init assumes that all these processes (and 
their descendants) remain in the same process group  which 
init  originally created for them.  If any process changes 
its process group affiliation it will  not receive  these 
signals.  Such processes need to be terminated separately.


-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


  1   2   3   4   5   6   7   8   9   10   >