[OT?] sleep()-problem in perl

2002-11-11 Thread Johannes Jörg
Hello Everybody
Could someone tell me why this works:

#!/usr/bin/perl -w
for ($i=0;$i=10;$i++){
  print sleeping...\n;
  sleep 1;
}
 
and this one does not:

#!/usr/bin/perl -w
for ($i=0;$i=10;$i++){
  print sleeping...;
  sleep 1;
}

Note: Only the newline inside the print-command is missing. The first
example works as expected (prints one line of sleeping... per second), while the
second example does nothing (not even prints the sleeping... before sleep()
is called).
The behaviour does not change if I try single quotes instead of double
quotes, and not if I write brackets around the print argument.
This happens on woody perl, I could not yet try it out on sid.
Any idea?

joerg

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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




Re: apt-build and Athlon question

2002-09-19 Thread Johannes Jörg

Thanks, Travis.
I can't look at anything written, I would have to take down the cooler and
reassemble my computer... better not. I don't want to destroy my processor.

joerg

T.C. wrote
 
 That is identical to my /proc/cpuinfo and I have an athlon-tbird.  I 
 know this by looking at the invoice that came with my processor. :)
 

-- 
Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de


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




smtp with kmail

2001-11-22 Thread Johannes Jörg
Hello list

I'm trying to send e-mails via smtp from kmail. I have selected smtp in
the network menu, but I don't know which port nuber to 
use. (The default 0 does not work, I get an error connection refused)

So, what is the default port for smtp transfers?

thanks

joerg

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



[no subject]

2001-06-29 Thread Johannes Jörg
Hello List

I'm going to migrate from a PIII 500 to an athlon.
My new Mainboard wil be an Asus A7M266. To use AGP (new GeForce 2 GTS,
hehe), what kernel option will I have to enable for /dev/agpgart? Is it the
Irongate chipset? I'm a bit confused because the kernel help says you should
probably say N, unless you want to test the GLX component for XFree86 3.3.6,
but it says also ...gives you AGP support for the GLX component of the XFree86
4.x on AMD Irongate chipset...

What does this mean?

joerg

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a



Re: [ot] netscape popup-windows

2001-06-27 Thread Johannes Jörg
 On Wed, 27 Jun 2001, Joerg Johannes wrote:
 
  from the autoresponder... Now, Is it possible to disable such popup
  windows generally? This would be really great
 
 You could disable JavaScript when you visit that site and turn it on again
 when you need it.  Edit|Preferences|Advanced|Enable JavaScript.
 

That's it!
Thank you

joerg

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a



[OT] LaTeX and \input{file}

2001-06-07 Thread Johannes Jörg
Hi List

I need to input a file as raw text (every linbreak must be a linebreak,
there are some backslashes in it etc.)
I tried \input[verbatim]{file}, but this does not what I want it to (It
gives an error message instead ;-) )
The problem is: I do not want to make a second copy of the file where I
could put a \begin{verbatim} at the beginning and an \end{verbatim} at the end.
Including the whole text is not good, because this does not improve the
readability of the .tex file.
Any idea?

thanks

joerg

-- 
Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



problem w voodoo3/XF86-4

2001-04-28 Thread Johannes Jörg
Hello List

I still have this problem with my voodoo 3 3500 and XFree86-4.0.2-13:

My X-server crashes every time I want to run a 3d-accelerated program (i.e.
quake3, ut, ...) The funny thing is, XScreensaver runs (well, it does not
actually run, but walk ;-)) - I see an error message when it starts, but it
disappears too fast that I could read it. However, if anybody has quake3 running
on xf4 and voodoo3, I would appreciate to know how it has to be set up (I
have tried to load all possible combinations of dri, tdfx, tdfx-dri, glx,...,
the kernel supports agpgart, tdfx, dtfx-fb,...) I really don't know where to
look for the problem.

I will attach my XF86Config and the Xserver-logfile, hoping that anyone can
help me

thanks

joerg

PS.: By the way, I was offered Quake III Team Arena for my birthday two days
ago, I'd really like to try it out...

-*- XF86Config -*-
Section Module

# This loads the DBE extension module.

Loaddbe   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection  extmod
  Optionomit xfree86-dga   # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Loadtype1
Loadfreetype

# This loads the GLX module
Load   glx
Load   dri
Load   tdfx
Load   tdfx_dri
Loadxf86Wacom

EndSection

# **
# Files section.  This allows default font and rgb paths to be set
# **

Section Files

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like .txt or .db).  There is normally
# no need to change the default.

RgbPath /usr/X11R6/lib/X11/rgb

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
# 

#FontPath   /usr/X11R6/lib/X11/fonts/local/
FontPath   /usr/X11R6/lib/X11/fonts/misc/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/Type1/
FontPath   /usr/X11R6/lib/X11/fonts/Speedo/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/
FontPath   /usr/local/share/fonts/ttfonts/

# The module search path.  The default path is shown here.

ModulePath /usr/X11R6/lib/modules

EndSection

-*- End XF86Config -*-

-*- XFree86.0.log -*-

XFree86 Version 4.0.2 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 18 December 2000
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.18 i686 [ELF] 
Module Loader present
(==) Log file: /var/log/XFree86.0.log, Time: Sat Apr 28 15:55:09 2001
(==) Using config file: /etc/X11/XF86Config
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout Simple Layout
(**) |--Screen Screen 1 (0)
(**) |   |--Monitor VisionMaster450
(**) |   |--Device Grafikkarte
(**) |--Input Device Mouse1
(**) |--Input Device Keyboard1
(**) Option AutoRepeat 500 30
(**) Option XkbRules xfree86
(**) XKB: rules: xfree86
(**) Option XkbModel pc105
(**) XKB: model: pc105
(**) Option XkbLayout de
(**) XKB: layout: de
(**) |--Input Device Wacom Stylus
(**) |--Input Device Wacom Cursor
(**) |--Input Device Wacom Eraser
(**) FontPath set to
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/local/share/fonts/ttfonts/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules,/usr/X11R6/lib/modules-dri
(++) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.3
XFree86 XInput driver : 0.1
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.0.2, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI 

locale Xlib

2001-04-19 Thread Johannes Jörg
Hello List

After my dist-upgrade to woody, I had the problem that my locales were gone
(Messages were: locale not supported by c library...) This was fixed after
re-generating the locales. Now, the c library does not complain about the
locales anymore, but Xlib still is: (Warning: locale not supported by Xlib.
Setting to C)
How do fix that? As I've told above, the locale (de_DE-iso9950-1) exists.

Thanks

joerg

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



network printing (again)

2001-04-11 Thread Johannes Jörg
Hello List

I still have no idea how to enable access to my local printer from a remote
host (in my local network) These are the files I consider important:

Server-printcap:

lp|lq850|Epson LQ 850:\
:lp=/dev/lp0:sd=/var/spool/lpd/lq850:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/etc/magicfilter/epsonlq-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

Client-printcap:

lp|lq850|Epson LQ 850:\
:lp=:sd=/var/spool/lpd/lq850:rm=199.168.0.98:rp=lp:lpr_bounce:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/etc/magicfilter/epsonlq-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

Server /etc/hosts.lpd:

+ip.adress.one.client
+ip.adress.other.client

Server /etc/hosts.equiv:

+ip.adress.one.client
+ip.adress.other.client

This does not seem to be enough, because the client prints the error
message: This host has no line printer access or sth like that. Anybody help 
me
please.. 

joerg

PS:: I was pointed to the /etc/hosts.lpd file by  Shawn Garbett, thank you
even if it did not help.


-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



network printing (again)

2001-04-11 Thread Johannes Jörg
Hello List

I still have no idea how to enable access to my local printer from a remote
host (in my local network) These are the files I consider important:

Server-printcap:

lp|lq850|Epson LQ 850:\
:lp=/dev/lp0:sd=/var/spool/lpd/lq850:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/etc/magicfilter/epsonlq-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

Client-printcap:

lp|lq850|Epson LQ 850:\
:lp=:sd=/var/spool/lpd/lq850:rm=199.168.0.98:rp=lp:lpr_bounce:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/etc/magicfilter/epsonlq-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:

Server /etc/hosts.lpd:

+ip.adress.one.client
+ip.adress.other.client

Server /etc/hosts.equiv:

+ip.adress.one.client
+ip.adress.other.client

This does not seem to be enough, because the client prints the error
message: This host has no line printer access or sth like that. Anybody help 
me
please.. 

joerg

PS:: I was pointed to the /etc/hosts.lpd file by  Shawn Garbett, thank you
even if it did not help.


-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



Re: Strange message on ps -a

2000-11-08 Thread Johannes Jörg
I /*did/* reboot, and this thing did not happen the first few time. Any
other ideas

joerg

 You've compiled a new kernel but not rebooted to load it?
 If so, then this is one of the few times in linux when a reboot is
 required.
 
 At 09:09 AM 11/8/00 +0100, you wrote:
 Hello Everybody
 
 The following message appears each time I make ps or ps -a:
 
 {floppy_open} {scsi_init_free}
 Warning: /boot/System.map-2.2.17 does not match kernel data.
 
 Then the running processes are listet just right. Any idea what
 happened
 to my System.map? I compiled my own kernel (with buolt-in floppy and
 scsi-support). Things ran fine for some time, this message came up
 yesterday for the first time. I cannot remember having changed anything
 in my base-configuration
 
 -- 
 Criggie
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
 /dev/null
 

-- 
Sent through GMX FreeMail - http://www.gmx.net



Re: Soundblaster PCI 128

2000-11-08 Thread Johannes Jörg
Did you check your /dev's?
You will need /dev/dsp for being able to hear sound. Maybe the user you
are logged in as has no permission to access the sound devives. By default,
these devices are accessible by the group audio (you can check if this is
true with ls -l /dev/ | grep audio). If this is the case, add your username
to the group audio ([EMAIL PROTECTED] addgroup your_username audio)
Hope this helps  

joerg

 The last days I've read some messages that I should use the es1370 or
 es1371
 driver for that card. lsmod identified my card as es1371 so I've loaded
 this
 driver as module. But although my card seems to be found by the kernel,
 there is nothing in /dev/sndstat.
 Did i forget something to do?
 
 I also have no idea, which drivers are needed too, to get my soundcard
 working (sound, soundcore, soundlow, ...)
 
 
 
 part of dmesg:
 
 es1371: version v0.22 time 12:12:16 May 13 2000
 es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
 es1371: found es1371 rev 8 at io 0xe800 irq 5
 es1371: features: joystick 0x0
 es1371: codec vendor CRY (0x435259) revision 19 (0x13)
 es1371: codec features Headphone out 20bit DAC 18bit ADC
 es1371: stereo enhancement: Crystal Semiconductor 3D Stereo Enhancement
 
 
 cat /dev/sndstat:
 
 OSS/Free:3.8s2++-971130
 Load type: Driver loaded as a module
 Kernel: Linux darkstar 2.2.15 #1 Sat May 13 10:22:03 EST 2000 i586
 Config options: 0
 
 Installed drivers:
 
 Card config:
 
 Audio devices:
 
 Synth devices:
 
 Midi devices:
 
 Timers:
 0: System clock
 
 Mixers:
 
 
 
 lsmod:
 
 Module  Size  Used by
 nls_cp437   3744   1  (autoclean)
 vfat9008   1  (autoclean)
 af_packet   6072   1  (autoclean)
 slip7388   2  (autoclean)
 slhc4436   1  (autoclean) [slip]
 parport_probe   3332   0  (autoclean)
 parport_pc  7172   1  (autoclean)
 lp  5156   0  (autoclean)
 parport 7288   1  (autoclean) [parport_probe parport_pc
 lp]
 nls_iso8859-1   2268   2  (autoclean)
 serial 19724   0  (autoclean)
 sound  57592   0  (unused)
 soundlow 416   0  [sound]
 es1371 25312   0
 soundcore   2628   7  [sound es1371]
 unix   10148  19  (autoclean)
 
 
 
 It would be great if someone can help me.
 
 
 Marco
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
 /dev/null
 

-- 
Sent through GMX FreeMail - http://www.gmx.net