Re: [gentoo-user] rp-pppoe

2003-06-27 Thread Ohad Lutzky
On Fri, Jun 27, 2003 at 07:57:14AM +0200, Marius Mauch wrote:

 Better solution: 
 Write an initscript for it

Like this one :)

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.
#!/sbin/runscript

depend() {
need net
}

start() {
ebegin Starting ADSL
/usr/sbin/adsl-start  /dev/null 21
eend $? Failed to start ADSL
}

stop() {
ebegin Stopping ADSL
/usr/sbin/adsl-stop  /dev/null 21
eend $? Failed to stop ADSL
}

--
[EMAIL PROTECTED] mailing list

Re: [gentoo-user] Networking with ADSL?

2003-06-26 Thread Ohad Lutzky
Sorta-new-question here... my ISP is offering a wireless setup, and my
mom prefers that because it will let us avoid drilling holes. The only
setup I know for this is with an external router... some questions:

- Are there any problems with wireless NICs and Linux? Will they be
  configured any differently from ordinary NICs, short of building new
  kernel modules? I am aware that many wireless routers have additional
  Ethernet ports, but I don't know exactly what I'm getting yet.

- Is it possible to set up a PC as a wireless router? This is undesired,
  since I'll have to leave it on for the other computer to have a
  connection, but it might be what my ISP is offering. If so, are there
  any special Linux-related problems? Is the configuration any
  different?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Networking with ADSL?

2003-06-25 Thread Ohad Lutzky
On Wed, Jun 25, 2003 at 09:01:12AM +0100, MAL wrote:
 I'm afraid you can't connect a modem to a hub (in this circumstance) :)
 If your ADSL modem only has an ethernet port, your linux box will need 
 two network cards.  One to connect the PC to the hub, and one to connect 
 the PC to the modem.  If the modem has a USB port, and it's one of the 
 (relatively few) ADSL modems with a Linux driver, you could connect it 
 via USB and thus avoid the need for a second network card.

No USB ports here... neither on the modem nor the computer.

 To actually get the second PC on the internet, your Linux PC will need 
 to have the following enabled in the kernel:
 
 Networking options ---
   IP: Netfilter Configuration  ---
 Connection tracking [M]
 IP tables support [M]
 Full NAT [M]
   MASQUERADE target support [M]

Can't see those. I can see Network packet filtering (replaces ipchains)
though. vanilla-sources-2.4.21.

 Your Linux machine needs the above options to perform NAT.. specifically 
 IP masquerading.  This allows both your PCs to have LAN IP addresses, 
 (192.168.0.x), but both use the internet, (by having their IP address 
 'translated' into your ADSL IP address, and back).
 
 You may well also want some firewalling options, so enable at least:
 
 Networking options ---
   IP: Netfilter Configuration  ---
 Packet filtering [M]
 
 You then need some way of enabling NAT, (and possibly firewall).
 There are some graphical firewall setup programs, but I think it's 
 easier and faster to get it up and running with a simple pre-written script.
 
 I find this one satisfactory for home use:
 http://firewall.lutel.pl/
 
 Simply fill in your various interface names, and specify what ports you 
 want available to the internet and the LAN, then run it with ./firewall 
 start.  Note: you will need to have recompiled your kernel and the 
 modules, and rebooted, before this can do it's job.
 
 The last step is to set up your two PCs /internal/ interfaces.  For such 
 a small network, I would simply give your Linux PC the IP:
 
 192.168.0.254
 
 and your Win98 machine: 192.168.0.1

How do I do this? My PC seems to automatically retrieve its IP address.
Is it done through adsl-setup?

 x.x.x.254 is commonly used for a gateway machine on LAN, and this is 
 exactly what your Linux PC will be.
 
 You will also need to set your Win98 box's Default Gateway to 
 192.168.0.254, and it's DNS servers to whatever your ISP gave you.

Sounds horribly complex, but I'll try it. I'll let the people from my
ISP set it up using Windows first, so I'll know I have the hardware
connected right.
By the way - why is it specifically 192.168.0.x?

--
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Networking with ADSL?

2003-06-25 Thread Ohad Lutzky
On Wed, Jun 25, 2003 at 12:16:52PM +0100, MAL wrote:
 Ok, so you either need a second network card, or use the dubious method 
 of doing to accross a hub as described elsewhere in this thread :)

I'll ask my ISP how to do this. I sure hope I can do it dubiously...
sounds easier :)

 Can't see those. I can see Network packet filtering (replaces ipchains)
 though. vanilla-sources-2.4.21.
 
 Yes, my mistake.  If you enable 'Network packet filtering', the option I 
 mentioned above will magically appear :)

Got it, thanks.

 How do I do this? My PC seems to automatically retrieve its IP address.
 Is it done through adsl-setup?
 
 It's getting an external IP address from the modem via PPP.  This is 
 correct, and I assume this is being assigned to your eth0 interface? 

Nope... it gets assigned to ppp0. eth0 doesn't seem to have an IP
address.

eth0  Link encap:Ethernet  HWaddr 00:00:B4:B6:17:35  
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:68147 errors:0 dropped:0 overruns:0 frame:0
  TX packets:53293 errors:0 dropped:0 overruns:0 carrier:0
  collisions:17 txqueuelen:100 
  RX bytes:76868013 (73.3 Mb)  TX bytes:6387245 (6.0 Mb)
  Interrupt:11 Base address:0xe400

That's odd though... isn't it supposed to be a micro-LAN between the PC
and the modem, in such a way that I could telnet into the modem for
maintenance?

 You should set your _second_ network card's IP address to 192.168.0.254
 
 See the Gentoo documentation on how to do this.

Makes sense. And then the PCs can just see each other? If I set Samba
up here and configure my printer, the win98 box will be able to see it?

 192.168.x.x is a range of IP addresses, reserved for LAN use.  That is, 
 they are not valid on the internet.
 
 There is also 172.16.x.x-172.31.x.x and 10.x.x.x , but these are for 
 larger local networks.

I see. This also means, I guess, that my other box won't have an
external IP address (nor will it have a connection at all when this one
is off). That's how my old cable ISP worked... we had 10.x.x.x
addresses (which sucked if I wanted to have an FTP server for friends on
a different ISP).

Thanks for all of your help!

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Networking with ADSL?

2003-06-25 Thread Ohad Lutzky
On Wed, Jun 25, 2003 at 09:07:14AM -0400, Ernie Schroder wrote:
 On Wednesday 25 June 2003 01:29 am, Ohad Lutzky wrote:
  I'm a total networking noob, but I'd like to set up a home network.
  My current PC (running Linux) is connected over ADSL using rp-pppoe.
  It has a printer as well, running on CUPS. My other PC, an old
  Packard Bell (bleh) P133 running (walking, rather) Win98. How would I
  set this up? The only home LAN setup I've ever seen is connecting the
  hub to the modem, and then connecting PCs to the hub. But my ADSL
  connection requires me to log in (rp-pppoe takes care of that).
  Also, will the two PCs see each other on a local network? Or will
  they have to communicate over the external network? If so, how will
  they be assigned different IPs?
 
 
 Probably the most painless method to do this would be to purchase a 
 router/hub or a router and a hub. The router takes care of the log in 
 and  DHCP plus affords some firewall capability. Router setup is a snap 
 Linksys for one comes basicly pre-configured. You access it from a 
 browser and you really only need to enter user name and password, set 
 your protocol and change the default password to access the router and 
 you're good to go. 

Sounds excellent! This is what I thought a router did, and then people
showed me a tiny little thing called a switch, and said that I was
talking about that... And now, a stream of questions:

Which of these are the same? Hub, Switch, Router (I'm guessing hub
and switch)

How does it all connect? Do I connect the router to the modem, and then
that to a hub/switch which all the ethernet cables go to? Or is it
something totally different?

Any particular problems with Linux? Doesn't sound like there should be,
but still.

If I set this up, I will basically only need to use dhcpcd here, and
have the other PC set to get its IPs automatically, right?

What kind of IPs will I get? Will it be possible to have external IPs,
so people can still reach my ftp server? Will I have to choose on of the
PCs to get an external IP, or will the router know which one needs it?
Will both computers even be able to use the same ports at the same time?

And last but not least: How much [more] will it cost?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Networking with ADSL?

2003-06-25 Thread Ohad Lutzky
On Wed, Jun 25, 2003 at 04:14:33PM +0100, Jan Drugowitsch wrote:
Content-Description: signed data
 On Wednesday 25 June 2003 12:36, Ohad Lutzky wrote:
  On Wed, Jun 25, 2003 at 12:16:52PM +0100, MAL wrote:
   Ok, so you either need a second network card, or use the dubious method
   of doing to accross a hub as described elsewhere in this thread :)
 
  I'll ask my ISP how to do this. I sure hope I can do it dubiously...
  sounds easier :)
 
 I would read the ISP's policy before asking about connecting a network to your 
 ADSL connection. Many of the ISP's I know do not allow that. Although asking 
 itsself wouldn't do any bad they could get aware of the fact that you are 
 trying to do that. That would not be worrying either if I wouldn't have read 
 about a method about half a year ago which describes a method of how to 
 detect such a network by tracing IDs of TCP packages. This could put you on 
 the ISP's watchlist and this wouldn't be a good thing. So before contacting 
 the ISP: Read their policy!

It's OK... actually, they're the ones who offered it. I'm just looking
for some knowledge about it first.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Yahoo Messenger, gnome :-/

2003-06-25 Thread Ohad Lutzky
On Wed, Jun 25, 2003 at 06:31:47AM -0300, Norberto BENSA wrote:
Content-Description: signed data
 Do I *really* need all this just for ymessenger? Is there any other IM app 
 that can handle Yahoo IM protocol?

I think Kopete has a Y!IM plugin. Also: I'm not sure, but I think Jabber
has gateways to Y!IM, so you can use whatever Jabber client you like
(Psi for KDE).


-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Networking with ADSL?

2003-06-25 Thread Ohad Lutzky
On Wed, Jun 25, 2003 at 08:27:34AM -0700, Gzim Hoxha wrote:

  And last but not least: How much [more] will it
  cost?
 
 I got a rounter for $29.95 (Canadian)!! It's not
 expensieve :)

That really sounds cheap. Was it a linksys? If not, what interface do
you use to configure it? (Please say web, I love web interfaces! :) )

 Also to learn more about how this stuffworks go to:
 http://computer.howstuffworks.com/router.htm
 and when you get there if you wanna know about
 switches just search for them; is a great site ;)

It certainly is. Thanks for the tip! I've never thought of looking
there.

Here's what I understand so far: In the setup I've seen, where two PCs
are connected over a switch to a modem, it isn't really a network -
the PCs can only talk to the modem one at a time, and it works as if the
PC was connected directly. Not good for my purpose.
However, if you stick a router between the switch and the modem (or get
a router that has a builtin switch), you basically have a simple
network, in which the computers can communicate with each other
directly, and can talk to the modem (indirectly) at the same time.
That still leaves me with some interal/external IP questions:

I have an FTP server running on this box, and I'd still like people
outside to be able to reach it. Will outside computers still be able to
communicate directly with mine? How will they distinguish between them?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Networking with ADSL?

2003-06-25 Thread Ohad Lutzky
On Wed, Jun 25, 2003 at 06:16:07PM +0100, MAL wrote:

 On your router, you will be able to point certain ports to certain 
 machines on the LAN.
 Unless your router has some clever programs installed on it, people will 
 need to use active FTP to connect to your server, (ie. not passive ftp). 
  All you need to do is forward port 21 on the router, to port 21 on 
 your PC.
 
 Note: you will need to get a router that can do NAT.

NAT... that term is new to me, but I've seen it on VMWare. I'm guessing
that it means Network Address Translation. I can see that the Linksys
routers can do it. So that basically means that on the internet, only
the router will be seen, but it'll look as if it's running an FTP
server? And why will this have to be active FTP? If the port is
forwarded directly, won't it work just like it used to?
And what of port 80, and the other regular-use ports? Surely I'll want
several machines using those at the same time... how will that work?

Sorry I'm being so annoying... I hate it when I do something with my
computer that I don't understand 100%.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Networking with ADSL?

2003-06-25 Thread Ohad Lutzky
On Wed, Jun 25, 2003 at 10:29:08PM +0100, MAL wrote:
 Ohad Lutzky wrote:
 NAT... that term is new to me, but I've seen it on VMWare. I'm guessing
 that it means Network Address Translation. I can see that the Linksys
 routers can do it. So that basically means that on the internet, only
 the router will be seen, but it'll look as if it's running an FTP
 server? And why will this have to be active FTP? If the port is
 forwarded directly, won't it work just like it used to?
 And what of port 80, and the other regular-use ports? Surely I'll want
 several machines using those at the same time... how will that work?
 
 Second point first... if you have several machines running a webserver 
 on port 80, you'll have to choose a different port on your router to map 
 to each. (one can use 80 of course).  If you want each machine to be 
 visible on port 80, either get separate IPs for each machine, (more 
 expense/different ISP service), or combine them all into one webserver 
 running virtual domains.  Same with all other single port protocols, 
 (SSH, IRC, Telnet, SMTP, etc.).  FTP however, is different.

Makes sense. So what I'm looking at is making it seem to the outside
world like I'm running just one PC (and I certainly wouldn't have two
daemons running on the same port on one PC).

 Due to the age of FTP, it was designed with a different philosophy to 
 single port networking approaches.
 When you connect to an FTP server, (on port 21 usually.. unless the 
 server has chosen to use a different 'control' port), you speak plain 
 text to it.  Once you are ready to recieve a listing of files, you tell 
 the server your IP, and a local port you have opened for it to connect 
 to, (varies from connect to connect, but usually around the 32000+ 
 range).  The FTP server then connects to that port on your machine, and 
 sends you data.
 
 This is Active mode FTP.
 
 Passive FTP, works in a similar way, but instead of you telling the 
 server where it can stick it's data, the server will tell you to connect 
 to it and will let you know what port.  Again, this is a dynamic port 
 and usually a FTP server will have a specific range that it will use.

That explains a lot of problems I had with my old ISPs. We didn't get
external IPs back then, so we had to use passive FTP (as clients).

 So, if your ftp server allows you to specify the range of ports it can 
 use for passive ftp, then you should be able to tell your router to 
 forward that range of ports to your FTP server machine, thereby enabling 
 passive FTP.

I don't think that would be much of a problem. Worst case, I can run my
machine on DMZ (de-militarized zone), so it gets all of the ports.

 Hope that explains it enough for you.

Sure does. You've been more helpful than an hour of TechTV! :)
Thanks for putting up with me. Now I just need some cash...

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Networking with ADSL?

2003-06-24 Thread Ohad Lutzky
I'm a total networking noob, but I'd like to set up a home network. My
current PC (running Linux) is connected over ADSL using rp-pppoe. It has
a printer as well, running on CUPS. My other PC, an old Packard Bell
(bleh) P133 running (walking, rather) Win98. How would I set this up?
The only home LAN setup I've ever seen is connecting the hub to the
modem, and then connecting PCs to the hub. But my ADSL connection
requires me to log in (rp-pppoe takes care of that). Also, will the
two PCs see each other on a local network? Or will they have to
communicate over the external network? If so, how will they be assigned
different IPs?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time

2003-06-23 Thread Ohad Lutzky
On Mon, Jun 23, 2003 at 09:38:24AM -0600, [EMAIL PROTECTED] wrote:
 I have been using ntpdate to set our linux server to get time form a utc
 server, however this package does not seem to be available form portage...
 anybody know if this package is buried within another package?  Or if there
 is a comparable package that I could use?  
 Thanks-
 Ryan

In addition to ntp, a smaller, comparable program is rdate. It doesn't
do fallback servers by itself, but can be made to with some simple
scripting.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Why keeping old kernel sources?

2003-06-23 Thread Ohad Lutzky
On Mon, Jun 23, 2003 at 05:37:21PM +0200, Lars Juel Nielsen wrote:
 did you do 'make mrproper' between the compiles when it didn't work? it
 cleans up so it should be like a newly emerged tree.

By the way, what's the difference between that and make distclean?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Remote X session

2003-06-23 Thread Ohad Lutzky
As the user running the current X session:

$ xhost +B

On Mon, Jun 23, 2003 at 07:39:25PM +0100, Paulo da Silva wrote:
 
 I have 2 pcs running linux gentoo.
 
 1. Computador A: X :1.0 
 DISPLAY=:1.0 xhost +B
 2. Computer B
DISPLAY=A:1.0 xterm
 
 I get the folowing messages:
 
 xterm: unable to open display A:1.0
 Xlib: connection to A:1.0 refused by server
 Xlib: No protocol specified
 
 How can I do this?
 TIA
 Paulo
 
 
 
 --
 [EMAIL PROTECTED] mailing list
 

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kbd vs. console-tools

2003-06-22 Thread Ohad Lutzky
On Sun, Jun 22, 2003 at 11:14:20AM +0300, Leonid Podolny wrote:
 Hi,
 I have the following question:
 Is there any specific reason, why gentoo is by default shipped with 
 rather outdated kbd package and not with console-tools?
 Actually, the question is: if I replace kbd with console-tools, will it 
 cause any catastrophic problems on my machine?
Regards, L.
 
 --
 [EMAIL PROTECTED] mailing list
 

Seems that /etc/init.d/consolefonts comes ready-built for console-tools
as well as kbd... the latter works MUCH better with Hebrew (kbd's Hebrew
fonts didn't have linedrawing characters!). I don't know if I can
unmerge kbd safely though... anyone care to try? :)

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kbd vs. console-tools

2003-06-22 Thread Ohad Lutzky
On Sun, Jun 22, 2003 at 03:14:51PM +0300, Leonid Podolny wrote:
 My situation is much worse: this box is console-only. I need to read
 English, Hebrew and Russian, and if I also want to use ICQ, then i also need
 to transcode Russian
 to Windows codeset.
 
  Seems that /etc/init.d/consolefonts comes ready-built for console-tools
  as well as kbd... the latter works MUCH better with Hebrew (kbd's Hebrew
  fonts didn't have linedrawing characters!).

Sounds pretty bad dude... how long did it take you to get that working?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kbd vs. console-tools

2003-06-22 Thread Ohad Lutzky
On Sun, Jun 22, 2003 at 03:29:09PM +0300, Ohad Lutzky wrote:
 On Sun, Jun 22, 2003 at 03:14:51PM +0300, Leonid Podolny wrote:
  My situation is much worse: this box is console-only. I need to read
  English, Hebrew and Russian, and if I also want to use ICQ, then i also need
  to transcode Russian
  to Windows codeset.
  
   Seems that /etc/init.d/consolefonts comes ready-built for console-tools
   as well as kbd... the latter works MUCH better with Hebrew (kbd's Hebrew
   fonts didn't have linedrawing characters!).
 
 Sounds pretty bad dude... how long did it take you to get that working?

By the way, what do you use for an appointment calendar / todo list? I'm
using plain text files right now, but they're getting pretty hectic.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Where can I get a floppy bootdisk/image?

2003-06-21 Thread Ohad Lutzky
On Sat, Jun 21, 2003 at 08:35:43PM +, Florian Huber wrote:
 On Sat, 21 Jun 2003 20:52:36 +0200
 [EMAIL PROTECTED] (by way of Bjarke Bruun [EMAIL PROTECTED])
 wrote:
 
  Hi there
  
  I have a scsi cdrom drive that won't boot bootable cdroms and I'd
  like to try Gentoo so is there a floppy (1.44Mb) bootdisk image
  somewhere that I can get started?
 
 You could boot _any_ linux distribution that fits on a single floppy
 as long as it has networking support. There is nothing special about
 the gentoo live cd - it is just a kind of rescue cd with a gentoo
 splash image ;)
 
 Just google (www.google.com/linux) for an one-disk distribution or
 search on ibiblio.org.
 

My recommendation: tomsrtbt (Tom's Root Boot - never leave home without
it :) ).

 Remember, you need networking support and support for the file system
 you want gentoo to run with (ext2/3, reiserfs, xfs, jfs, ...). I would
 suggest starting with ext2 and convert it later on to ext3 (tune2fs). 

Or you could use whatever operating system you already have installed to
download the tarball, if you can't get networking up with the
single-floppy-linux (tomsrtbt worked for me, but I had a cable modem,
and now I have PPPOE ADSL). As for ext3 - that's what I use, but people
say its performance is horrible when compared to other file systems...
is that true?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Starting gentoo without xdm

2003-06-20 Thread Ohad Lutzky
On Fri, Jun 20, 2003 at 02:37:14AM +0200, Sebastian Hungerecker wrote:
 On Fri, 20 Jun 2003 01:29:04 +0100
 Jan Drugowitsch [EMAIL PROTECTED] wrote:
  Would anyone know a better possibility to do this without 
  modifying scripts
 Create a second runlevel and add all services to it, which are in the
 current runlevel except xdm. Then add an entry to grub, which boots in
 this new-created runlevel
 
 --
 [EMAIL PROTECTED] mailing list
 

That sounds like the right way to do it. Can you give an example of the
right kernel parameters?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Anti-virus f-prot

2003-06-20 Thread Ohad Lutzky
On Fri, Jun 20, 2003 at 12:23:07PM +0200, JG wrote:
 forgot to mention, that i was using the older program version 3.13. i just saw on 
 their homepage that there is v4.0 available and upgraded. here the check-updates 
 script is now a perl-script. but again the auto-update is working fine...
 
 JG

Just curious... just how many viruses for Linux are there out there? Or
does F-Prot scan for Windows viruses that pass through it over the
network?



-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] XFCE and cursor size

2003-06-19 Thread Ohad Lutzky
On Wed, Jun 18, 2003 at 09:19:10PM -0700, Klaus D. Neumann wrote:
 How did you install Xfce4? Is there an ebuild?

Yessiree, bob. The ebuild is called xfce4 (not xfce), and is
arch-masked.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] printer module

2003-06-19 Thread Ohad Lutzky
On Thu, Jun 19, 2003 at 09:47:07AM +0200, Jean Magnan de Bornier wrote:
 Hello all, 
 I am having difficulties setting up my printer. It is a
 parallel port hpdeskjet 840c. The following kernel options are activated
 as modules:
 
 CONFIG_PARPORT=m
 CONFIG_PARPORT_PC=m
 CONFIG_PARPORT_PC_CML1=m
 
 CONFIG_PRINTER=m
 
 Now if I type modprobe parport or modprobe parport_pc, it works fine,
 but:
 
 bash-2.05b# modprobe printer
 modprobe: Can't locate module printer

Umm... why would you want to do that? Once you modprobe parport,
/dev/parport0 should show up. Then set CUPS (or whatever spooling daemon
it is you use) to use that.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] printer module

2003-06-19 Thread Ohad Lutzky
On Thu, Jun 19, 2003 at 11:10:31AM +0200, Jean Magnan de Bornier wrote:
 Le jeudi 19 juin ? 11 h. 17, Ohad Lutzky a ?crit notamment:
  On Thu, Jun 19, 2003 at 09:47:07AM +0200, Jean Magnan de Bornier wrote:
   Hello all, 
   I am having difficulties setting up my printer. It is a
   parallel port hpdeskjet 840c. The following kernel options are activated
   as modules:
   
   CONFIG_PARPORT=m
   CONFIG_PARPORT_PC=m
   CONFIG_PARPORT_PC_CML1=m
   
   CONFIG_PRINTER=m
   
   Now if I type modprobe parport or modprobe parport_pc, it works fine,
   but:
   
   bash-2.05b# modprobe printer
   modprobe: Can't locate module printer
  
  Umm... why would you want to do that? Once you modprobe parport,
  /dev/parport0 should show up. Then set CUPS (or whatever spooling daemon
  it is you use) to use that.
  
 Well, I 'modprobe parport', and then:
 bash-2.05b# ls -l /dev/parport0
 ls: /dev/parport0: Aucun fichier ou r?pertoire de ce type
 
 bash-2.05b# ls -l /dev/parport*
 ls: /dev/parport*: Aucun fichier ou r?pertoire de ce type
 
 bash-2.05b# ls -l /dev/lp* 
 ls: /dev/lp*: Aucun fichier ou r?pertoire de ce type
 
 So isn't there a problem?

Could you translate the error message please?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pb with KG7 Lite

2003-06-19 Thread Ohad Lutzky
Do you have a spooling system, such as CUPS, up and running? If so, did
you configure it to use the device that was created? Try running a test
print through that.

On Thu, Jun 19, 2003 at 11:15:31PM +0200, Bastux wrote:
 
 Hello, I'm using Gentoo and try to make my printer work.
 I'm a linux gentoo user since a few month and I found the problem was
 coming from my motherboard, a ABIT KG7 LITE.
 
 Apparently, in the BIOS, i configured the IO at 378, the irq at 7 and
 the dma at 3.
 
 so I load :
 
 modprobe -k parport
 modprobe -k parport_pc
 modprobe -k lp
 
 a file /dev/lp0 - /dev/printers/0 is created (good sign :))
 
 But I can't do nothing with it. When I try to print, the job is created,
 it stays a moment and go away, but nothing get out from my printer :(
 
 When I replace the line with modprobe -k parport_pc by :
 
 modprobe -k parport_pc io=378 irq=7 dma=3
 
 nothing changes.
 
 I wonder how to get my LPT working.
 
 N.B.: It works under windows :(
 My printer is the unique reason why I keep a windoz.
 
 Please, if you have, like me, a KG7 Lite Motherboard and succeeded in
 making your printer work, or if you see any solution, HELP ME!!! :)
 
 Bastux
 
 --
 [EMAIL PROTECTED] mailing list
 

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] parallel port printer

2003-06-18 Thread Ohad Lutzky
On Tue, Jun 17, 2003 at 11:00:11PM -0700, Gzim Hoxha wrote:
 Hi,
 I trying to follow the printing doc in the gentoo
 website, I did merge cups and foomatic, and I thought
 I did enable support for parallel ports [as a module].
 But when I check dmesg it says:
 lp: driver loaded but no device found
 
 And it doesn't show that the printer is recognized or
 anything!
 
 So Can someone quickly just tell me what I should
 enable as a module in the kernel so the parallel port
 printer will work.

Basically, it's in the main menu: Parallel port support. Check PC-Style
hardware in there. You can build those as modules, and then you'll need
to modprobe them, but if they're built into the kernel, they should just
work. What does 'ls /dev/parport?' return?

 
 Thanks,
 ZiM
 
 P.S.: Could it just need to modprobe some module?!
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com

Wow, you use Yahoo! Mail to read the mailing list? :)
-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] The Gimp and TrueType fonts...

2003-06-18 Thread Ohad Lutzky
On Tue, Jun 17, 2003 at 04:14:34PM -0700, Timothy Grant wrote:
 I most certainly did!
 
 On Tuesday 17 June 2003 07:00 am, Erland Nylend wrote:
  * Timothy Grant [EMAIL PROTECTED]
 
   OK, I got the FreeType Filter working. Now I'd like to be able to
   use the TT fonts in the logo-maker in script-fu, but the font dialog
   there doesn't show the TT fonts. Any suggestions?
 
  Did you 'emerge gimp-freetype' as Ohad Lutzky suggested?

Actually, that won't help you much there. Gimp-Freetype adds a plugin in
the Render filters for rendering text using Freetype. However, normal
Gimp text rendering is done directly through X - not (necessarily)
through Freetype, regardless of the plugin. I guess that logo-maker uses
that.
Anyway, to get your fonts in The Gimp, you'll need to add them to
/etc/X11/XF86Config, as FontPaths.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Need to stop gdm changing ownership of /dev/v4l/* on login.

2003-06-18 Thread Ohad Lutzky
Might be in /etc/security/console.perms

On Tue, Jun 17, 2003 at 04:01:48PM -0700, Arthur Britto wrote:
 Hi,
 
 How can I stop gdm from changing the ownership of /dev/v4l/* on login?
 
 Thanks in advance,
 
 -Arthur
 
 
 
 --
 [EMAIL PROTECTED] mailing list
 

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] parallel port printer

2003-06-18 Thread Ohad Lutzky
On Wed, Jun 18, 2003 at 04:18:32AM -0700, Gzim Hoxha wrote:
 
 --- Ohad Lutzky [EMAIL PROTECTED] wrote:
  On Tue, Jun 17, 2003 at 11:00:11PM -0700, G?zim
  Hoxha wrote:
   Hi,
   I trying to follow the printing doc in the gentoo
   website, I did merge cups and foomatic, and I
  thought
   I did enable support for parallel ports [as a
  module].
   But when I check dmesg it says:
   lp: driver loaded but no device found
   
   And it doesn't show that the printer is recognized
  or
   anything!
   
   So Can someone quickly just tell me what I should
   enable as a module in the kernel so the parallel
  port
   printer will work.
  
  Basically, it's in the main menu: Parallel port
  support. Check PC-Style
  hardware in there. You can build those as modules,
  and then you'll need
  to modprobe them, but if they're built into the
  kernel, they should just
  work. What does 'ls /dev/parport?' return?
 # ls /dev/parport
 ls: /dev/parport: No such file or directory
 #
 Thank you for your help Ohad :)

Actually, it's
$ ls /dev/parport?
*with* the question mark. The question mark stands for a signle
character wildcard (like *, but for one mandatory character), and in
this case it's a number, probably 0.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] parallel port printer

2003-06-18 Thread Ohad Lutzky
On Wed, Jun 18, 2003 at 05:24:55AM -0700, Gzim Hoxha wrote:
 
 
 
 --- Ohad Lutzky [EMAIL PROTECTED] wrote:
  On Wed, Jun 18, 2003 at 04:18:32AM -0700, G?zim
  Hoxha wrote:
   
   --- Ohad Lutzky [EMAIL PROTECTED] wrote:
On Tue, Jun 17, 2003 at 11:00:11PM -0700, G?zim
Hoxha wrote:
 Hi,
 I trying to follow the printing doc in the
  gentoo
 website, I did merge cups and foomatic, and I
thought
 I did enable support for parallel ports [as a
module].
 But when I check dmesg it says:
 lp: driver loaded but no device found
 
 And it doesn't show that the printer is
  recognized
or
 anything!
 
 So Can someone quickly just tell me what I
  should
 enable as a module in the kernel so the
  parallel
port
 printer will work.

Basically, it's in the main menu: Parallel port
support. Check PC-Style
hardware in there. You can build those as
  modules,
and then you'll need
to modprobe them, but if they're built into the
kernel, they should just
work. What does 'ls /dev/parport?' return?
   # ls /dev/parport
   ls: /dev/parport: No such file or directory
   #
   Thank you for your help Ohad :)
  
  Actually, it's
  $ ls /dev/parport?
  *with* the question mark. The question mark stands
  for a signle
  character wildcard (like *, but for one mandatory
  character), and in
  this case it's a number, probably 0.
 Hmm,
 $ ls /dev/parport?
 ls: /dev/parport?: No such file or directory
 $
 I also did 
 cd /usr/src/linux
 make xconfig
 Chose parallel port support and built pc-style in the
 kernel,
 saved
 make modules modules_install

First of all, yes, you do need to enable parallel port support under
character devices.

What about the bzImage? That's the kernel itself, which you built into
the kernel, and you didn't recompile it. :)
# make dep  make bzImage modules modules_install
(modules and modules_install aren't necessary if you didn't add any new
modules)
# mount /boot
# cp /boot/bzImage /boot/bzImage.orig
(That's for backup)
# cp /usr/src/linux/arch/i386/boot/bzImage /boot

Restart, and you should be good to go :)
 
 but the dmesg still did show that a printer was
 detected. Did I do it correctly?
 Note: in redhat for some reason the printer always
 worked, I don't know why  how!!
 
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com
 
 --
 [EMAIL PROTECTED] mailing list
 

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Mozilla XPrint

2003-06-18 Thread Ohad Lutzky
Printing under Mozilla is problematic in Hebrew and many other
non-iso-8859-1 character sets. The problem is with Mozilla's Postscript
output (looks like it doesn't write the fonts to the file or something,
I'm not an expert on this). Bugzilla recommends XPrint as a solution,
but seeing that it's not in portage, and there are quite a few Israeli
Gentoo users, I was thinking that maybe there's a better workaround. Any
tips?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] XFCE and cursor size

2003-06-18 Thread Ohad Lutzky
I've recently installed XFCE4, and am loving it (switched over from
fluxbox). It still needs some work, but it fixes two fluxbox bugs which
really annoy me: gkrellm transparency, and no charset support in
Freetype.
I use the Gentoo cursor set, and usually it's very small - I guess
16x16. However, in XFCE, it becomes about twice as big. This is
desirable - how can it be achieved? I tried with .Xresources and
.Xdefaults, but had no success (I can't even change the cursor set with
those, I use ~/.icons/default).

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Ohad Lutzky
On Wed, Jun 18, 2003 at 01:15:11PM +, Christopher Egner wrote:
 You could use  or ||.
  works only if the return is zero, usually meaning everything worked
 in the first program. The second, || only works if the return is non
 zero.

You guys aren't getting it... the command is already running. He's
thinking along the lines of this: Okay, I'm downloading this file, it's
not resumable and already at 60%. It'll take a few hours more to
download and quite a while to untar it. I'm going to sleep now... I wish
I could tell it to untar once it's done downloading. Too bad I can't
start over without losing all the progress it already made.

As for the solution - I got nothing concrete, but here's my idea: Figure
out the PID of the process you want to be finished. Then create a script
that loops while the PID is existant, and once it's not - does whatever
it is that you want to do. Actually, that would be a one-liner. Here's
my idea:

First, get the PID using pidof. I'll call it $THE_PID
Then what you need is this:

$ while [ -e /proc/$THE_PID ]; do; sleep 5; done  echo Process exited

Of course, you change the echo command to whatever you want.
There might be a better way to do this, I usually such at shell-fu, and
the only thing I know about /proc is that if a process is running, it's
PID is there. :)




, but I'm
not sure ho

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Ohad Lutzky
On Wed, Jun 18, 2003 at 01:39:23PM +, Christopher Egner wrote:
 On Wed, 2003-06-18 at 18:21, [EMAIL PROTECTED] wrote:
  On Wed, Jun 18, 2003 at 08:05:33PM +0200, CrPy wrote:
   Hi ng,
   
   I'm using linux for many years, but there is a concern I have never solved.
   
   Assuming, I have a command running in my nice bash shell and I do not know, 
   how long it will run. Now, I like to append an additional command , which 
   starts running after the first command has finished. How can I do this? Or is 
   it possible to do this at all? - After all it is Open Source ;-)
   
   Here us an simplified example of what I want to do:
   # sleep 100h
   
   How long will it run? OK, I know it. But now, I like to halt my maschine after 
   the command has finished. And actually what I really want to have is this:
   # sleep 100h; halt
   
   Can I somehow extend the command line, after sleep is already running?
  
  What you're asking is whether you can modify an input file that is being
  read by a program. The answer is... sort of. Some applications, such
  as tail -f, expect a file to grow as it is being read; that is, they
  expect that more data might appear at the end after they have read EOF.
 
 what you would need to do. Sorry I misread originally, is to setup a
 linked queue within either the shell, or a program that has a linked
 queue, I do it something like
 
 struct node {
 char *cmd;
 node *next
 }
 
 node nodes[3];
 
 nodes[0].cmd = sleep 10h;
 nodes[0].next = node[1];
 nodes[1].cmd = halt;
 nodes[1].next = 0;
 
 node *current;
 current = node;
 while (current)
 {
 execute(current.cmd);
 current = current.next;
 }
 
 You'd have to have a function that could add something in while it was
 running. But it wouldn't affect execution, just the node list. So
 extending the list would be something like:
 
 addnode (node *toadd, node *toaddafer)
 {
 node *tmp;
 
 tmp = toaddafter.next;
 toaddafter.next = toadd;
 toadd.next = tmp;
 }
 
 This type of idea is relatively basic, the problem is that it USUALLY
 isn't necessary.
 
  That's pretty unusual stuff, however. Expecting a command interpreter like
  bash to work this way is risky and non-portable. And in interpreters that
  compile their scripts, like Perl, there's absolutely no way you could
  do it. In general, it's a bad idea: once you've handed an input file to
  an application (bash or any other application), you should leave it alone.
  
  Nathan Meyers
  [EMAIL PROTECTED]
  
  
   
   THX
   
   /CrPy
   
   
   --
   [EMAIL PROTECTED] mailing list
   
   
 
 
 --
 [EMAIL PROTECTED] mailing list
 

While this might work, it's still a preemptive solution. You have to do
it _before_ you started running the job, or else you'll be knocking on
your forehead. What do you make of my solution?

while [ -e /proc/$THE_PID ]; do sleep 5; done  (next command)


-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Ohad Lutzky
On Wed, Jun 18, 2003 at 04:01:17PM -0400, Mike Principito wrote:
 The solution outlined below reguarding checking the pid is a good solution
 to the problem. Another idea, which is a complete kludge, is just to type
 ahead in the terminal.
 
 Both solutions would work the same, but neither will know if the original
 command was sucessful or not.

That's true. Redirection of output is a much bigger problem... screen
solves it partially by letting you move programs around between
terminals, but I don't think there's a way to capture the output (or
status) of a process without, well, camping it. :)

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Compiling 2.4.21 kernel

2003-06-17 Thread Ohad Lutzky
On Tue, Jun 17, 2003 at 09:46:28PM +0100, Ricardo Nuno wrote:
 
 Hi,
 
 I got the kernel from kernel.org and i'm getting this error:
 
 douro:/usr/src/linux# make modules_install
 ln: when making multiple links, last argument must be a directory
 make: *** [_modinst_] Error 1

The right way to do this is:
# make dep  make bzImage modules modules_install

Did you make all of the other stuff first?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can Linux web browsing be a complete experience?

2003-06-16 Thread Ohad Lutzky
 Mac
 OS/X seems to have it right with running as a user with SU privileges
 all the time and then popping up a please enter your user password
 whenever a program needs to be installed.  Not running as root, but
 running close enough to it that you can tasks like installing software
 much easier. I wish linux was a bit more like this.

I was thinking more along the lines of running everyone as a normal
users in the wheel group, but having linux automatically pop up
something like the excellent (IMO) kdesu every time it needs root
permissions for something, with a big fat warning sign on it and the
text flashing in super-ugly red (WARNING: THIS MIGHT BE A VIRUS, AND IF
IT IS AND YOU ENTER THE PASSWORD NOW, YOU'RE SCREWED).
As for plugins, even better: Why not make a mozilla admin user? Then,
if someone wants to install a plugin, they give that password, and you
don't have to tell all of the users on your PC the root password. That'd
work great for home systems. (Sign: If Mozilla asks you for an
administrator password, it is MKB838741. But don't worry, if we get
virii like this they'll only screw up Mozilla).

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] The Gimp and TrueType fonts...

2003-06-16 Thread Ohad Lutzky
On Mon, Jun 16, 2003 at 09:47:04AM +0200, Marc Winiger wrote:
 Hi
 
 I had the same problem a long time. Now I found out, that there is an
 alternative way to use the truetype fonts.
 
 RightClick - Filters - Render - DynamicText  FreeType

Don't forget to emerge gimp-freetype first :)

 
 Marc
 
 * Timothy Grant [EMAIL PROTECTED] [16.06.03 01:40]:
  I have successfully installed several TrueType fonts on my notebook computer. 
  They are available to KDE and to many of my GTK apps (e.g., Gaim). However, 
  they do not show up in my Gimp font selector. Can anyone explain this to me 
  or explain how to make the fonts available? gimp.org says that if the fonts 
  are available to X then they are available to The Gimp. But it's not working 
  for me at the moment.
 
 -- 
 /* When we have more time, we can teach the penguin to say 
  * By your command or Activating turbo boost, Michael.
  */
   2.2.16 /usr/src/linux/arch/sparc/prom/sun4prom.c
 
 
 --
 [EMAIL PROTECTED] mailing list
 

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] openoffice.org

2003-06-14 Thread Ohad Lutzky
On Sat, Jun 14, 2003 at 12:14:20AM -0300, Norberto BENSA wrote:
Content-Description: signed data
 [EMAIL PROTECTED] ~ $ date ; echo ${GXzim}
 Saturday 14 June 2003 12:00 am
 
  Hi,
  I started merging openoffice and it´s really taking
  it´s time [about 5 hours] and it´s not yet done. My
  question is why can´t I go to openoffice.org and
  download the tar ball and install it from there, it
  would have take no more than 10 minuts I believe. Is
  it better to merge packages than to download and
  install them manually? Why does it take longer to
  merge a package then to insall it from source (e.g.
  openoffice)?
 
 
 Errr... OOo 1.0.3-r1 took 9hs to build here (p31g, 256mb)
 
 emerge openoffice-bin if you don't want to wait. I did, but -bin-1.0.0 was 
 s slo :-/ Now 1.0.3 compiled from source it really fast! :-)
 
 Norberto

Is it really that much faster? I have a PIII 450mhz machine (5 hours?
heh, I wouldn't even expect KDE to compile in that time), so I've been
using the binary ebuilds so far. Also, IIRC, compiling OO from source
strips out the optimization. The OpenOffice.org source is pretty
fragile, and optimizations (especially GCC3's) will give you a good
chance of a failed compilation.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Unicode from Mutt/Vim

2003-06-14 Thread Ohad Lutzky
On Sat, Jun 14, 2003 at 12:28:35AM -0500, Richard Kilgore wrote:
 On Fri, Jun 13, 2003 at 08:48:21PM +0300, Ohad Lutzky wrote:
  For some reason, my mutt/vim combo is sending Hebrew mail as Unicode -
  this is undesired for me, as it makes it a hassle to change the encoding
  for many people (feel free to try and convince me otherwise).
  In vim, 'set encoding?' returns iso-8859-8 (the standard Hebrew
  encoding). What gives?
  Here's an example:
  ?? ?? 
 
 What about 'set fileencoding?'

No, no good. This example is send with fenc=iso-8859-8, and it's still
unicode. (Proof, btw: The following string will be 5 letters long, but
10 bytes long).



-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rebuilding everything

2003-06-14 Thread Ohad Lutzky
On Sat, Jun 14, 2003 at 09:06:23AM -0400, Tom Allison wrote:
 I am slowing making some progress and am looking at some of the security 
 options.
 
 I didn't put them in USE before and need to do some rebuilding.
 
 How do you tell emerge to update everything and to rebuild everything 
 regardless of it's update status?

I think that would be emerge world
Not sure though

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Unicode from Mutt/Vim

2003-06-14 Thread Ohad Lutzky
On Fri, Jun 13, 2003 at 08:48:21PM +0300, Ohad Lutzky wrote:
 For some reason, my mutt/vim combo is sending Hebrew mail as Unicode -
 this is undesired for me, as it makes it a hassle to change the encoding
 for many people (feel free to try and convince me otherwise).
 In vim, 'set encoding?' returns iso-8859-8 (the standard Hebrew
 encoding). What gives?
 Here's an example:
   

Resolved! VIM was spitting out iso-8859-8 just fine, but mutt was
converting it. In .muttrc, I needed to add iso-8859-8 to the
send_charset (default is us-ascii, then immediately utf8). Actually, the
Hebrew sentence above should be fine now.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] openoffice.org

2003-06-14 Thread Ohad Lutzky
On Sat, Jun 14, 2003 at 11:36:35PM -0400, Ben Sparks wrote:
 I have also found that OOo is much more stable when compiled from source
 than when just installed with pre-compiled binaries.  I have some pretty
 aggressive Cflaggs (IMHO):
 
 CFLAGS=-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fforce-addr 
 -falign-functions=64 -mfpmath=sse,387
 
 And have not had any compile problems with OO, however that could be
 because the ebuild disregarded them, but whatever it still compiled for
 me. I would like to see a 1.1beta source ebuild instead of the binary
 merge.  Good luck, also if you leave it to compile at night when you
 wake up it will be done, no lost productivity time ;)

Actually, I can see a 1.1 ebuild sitting here. I think I'll try it out -
I highly doubt that it'll finish at night though. As for the CFLAGS -
they're filtered out.

 
 On Sat, 2003-06-14 at 03:36, Ohad Lutzky wrote:
  On Sat, Jun 14, 2003 at 12:14:20AM -0300, Norberto BENSA wrote:
  Content-Description: signed data
   [EMAIL PROTECTED] ~ $ date ; echo ${GXzim}
   Saturday 14 June 2003 12:00 am
   
Hi,
I started merging openoffice and it´s really taking
it´s time [about 5 hours] and it´s not yet done. My
question is why can´t I go to openoffice.org and
download the tar ball and install it from there, it
would have take no more than 10 minuts I believe. Is
it better to merge packages than to download and
install them manually? Why does it take longer to
merge a package then to insall it from source (e.g.
openoffice)?
   
   
   Errr... OOo 1.0.3-r1 took 9hs to build here (p31g, 256mb)
   
   emerge openoffice-bin if you don't want to wait. I did, but -bin-1.0.0 was 
   s slo :-/ Now 1.0.3 compiled from source it really fast! :-)
   
   Norberto
  
  Is it really that much faster? I have a PIII 450mhz machine (5 hours?
  heh, I wouldn't even expect KDE to compile in that time), so I've been
  using the binary ebuilds so far. Also, IIRC, compiling OO from source
  strips out the optimization. The OpenOffice.org source is pretty
  fragile, and optimizations (especially GCC3's) will give you a good
  chance of a failed compilation.



-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] openoffice.org

2003-06-14 Thread Ohad Lutzky
On Sat, Jun 14, 2003 at 04:59:40PM +, [EMAIL PROTECTED] wrote:
 I have a friend that recently compiled OO on his 400mhz AMD w/ 128MB of
 RAM. It took either 3 or 5 days ... we lost track :)
 
 ~Mike

That's encouraging. I have a PIII 450mhz... oh well, at least I have
256MB of RAM.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Game compilation problems - Chromium Sniper

2003-06-14 Thread Ohad Lutzky
I've tried to emerge chromium and orbital-eunuchs-sniper.

Chromium works, but with no audio - it complains that there was some
error in the audio check process and gives up on it (works fine besides
that). My audio setup is a simple one: OSS es1371 (Creative Vibra 128),
no ALSA. I compiled with USE flags esd and arts, tried running with artsd
running, with esd running, with neither running... nothing. Audio
everywhere else is just fine - xmms, frozen-bubble, zsnes,
wolfenstein_et.

The problem with orbital-eunuchs-sniper is worse: It shows up a black
window and changes the cursor to a round crosshair, and after about 1.2
seconds it disappears and segfaults with the SDL parachute.

The only thing I can think of is that I recently upgraded my kernel from
gentoo-source-2.4.20-r2 to gentoo-source-2.4.20-r5, and enabled preempt.
Nothing should be wrong with the config, as I used make oldconfig, and
I haven't been having problems otherwise.

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cd-burning

2003-06-14 Thread Ohad Lutzky
On Sat, Jun 14, 2003 at 10:54:07PM -0700, Gzim Hoxha wrote:
 Hi,
 I?m just trying to get my cd-rw working, I merged
 cdbakeoven, but for some reason it didn?t work and
 it?s hard to use.
 
 I?m looking for some cd burning software that?s very
 easy to use and nothing fancy/advanced; maybe
 something like Easy Cd-Creater [windows]. And
 hopefully I?ll get it working.

I don't have a CD burner, but I have 3 alphanumeric characters for ya:
k3b.
-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 3 n00b questions (portage)

2003-06-13 Thread Ohad Lutzky
Another tip: emerge screen, and learn how to use it. I find this to be
an incredibly useful tool; I might, for example, be emerging something
big (read: KDE), and take breaks. Before I used screen, I'd leave it
running on one of the virtual consoles and log out of X so other people
can (slowly) use the computer, but then I'd have to switch to the VC to
look at the progress. With screen, you can detach and reattach programs,
so you can effectively move the compilation output back and forth
between an Xterm and a vc. Screen also has a password lock, which is
useful when you have young siblings.
Screen, of course, is much more useful than that, but those are the
features I find particularily useful with portage.

On Fri, Jun 13, 2003 at 10:36:50AM +, Christopher Egner wrote:
 You can actually do this with more than one process, however, to find
 out what apps you've halted, run  'jobs' There is a number in backets,
 here's an example
 
 [EMAIL PROTECTED] disciplezero $ jobs
 [1]-  Stopped cat
 [2]+  Stopped vi
 [EMAIL PROTECTED] disciplezero $
 
 if I type fg, it starts up whatever has the plus (or bg for that matter)
 then what if I want to start up the first one?? Simple type %1. The way
 it works is you type percent followed by the job number.
 
 Enjoy
 
 On Fri, 2003-06-13 at 15:20, Kirtis Bakalarczyk wrote:
  On Wed, 11 Jun 2003 04:25:08 -0700 (PDT)
  G?zim Hoxha [EMAIL PROTECTED] wrote:
  
   3.) If I were to do emerge kde then after say 10
   packages, I have to stop, and do CTRL+C, what
   happenes? Is the package that was compiling gonna
   automatically finish compiling when I do emerge kde
   again? 
  
  There's a better way to accomplish this.. Just press CTRL+Z during a compile (it 
  can scew up downloads sometimes)
  which will stop the process but won't kill it.  When you're ready to start it back 
  up again use either the
  'fg' (for foreground) command or the 'bg' (for background) command.  Just make 
  sure you don't close the terminal
  with the stopped process.
  
  KIRT
  
   
   __
   Do you Yahoo!?
   Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
   http://calendar.yahoo.com
   
   --
   [EMAIL PROTECTED] mailing list
   
  
 
 
 --
 [EMAIL PROTECTED] mailing list
 

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] virtual/mta versus mod_php

2003-06-13 Thread Ohad Lutzky
I'd delete the ssmtp ebuilds and emerge rsync. Also check
/etc/make.profile/virtuals... maybe virtual/mta is set to postfix.

On Fri, Jun 13, 2003 at 08:57:23AM -0700, Joel Osburn wrote:
  Marius Mauch [EMAIL PROTECTED]:
 
  The problem is that mod_php depends on a virtual/mta package. You have
  postfix installed which provides that package, but you masked the
  current versions (have a look at /usr/portage/net-mail/postfix to see
  all available versions, I think your masking needs to be updated). If
  you would not have postfix installed I think portage would install the
  default virtual/mta (net-mail/ssmtp), but this would be a problem too
 as
  it conflicts with postfix.
 
 I realize that mod_php depends on virtual/mta, but are you saying that
 dependencies can ONLY be satisfied by packages in portage, that once a
 package is removed from portage, even if it is currently installed, it
 will never again fulfill a dependency?  I have other packages that
 depend on virtual/mta;  if postfix suddenly is unable to fulfill the
 virtual/mta slot, shouldn't they too be complaining about this?
 
 If that is true, and since I've masked all versions of postfix in
 portage, then why doesn't it attempt to install net-mail/ssmtp?  Instead
 it dumps the error message I quoted previously, notably saying that !!!
 all ebuilds that could satisfy virtual/mta have been masked.
 
 I'm still searching for the missing link, either in my knowledge or in
 the behaviour of this mod_php ebuild.
 
 -Joel Osburn
 
 
 
 --
 [EMAIL PROTECTED] mailing list
 

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Unicode from Mutt/Vim

2003-06-13 Thread Ohad Lutzky
For some reason, my mutt/vim combo is sending Hebrew mail as Unicode -
this is undesired for me, as it makes it a hassle to change the encoding
for many people (feel free to try and convince me otherwise).
In vim, 'set encoding?' returns iso-8859-8 (the standard Hebrew
encoding). What gives?
Here's an example:
  
-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] screen (was: 3 n00b questions)

2003-06-13 Thread Ohad Lutzky
On Fri, Jun 13, 2003 at 01:42:03PM -0400, Rev. Jeffrey Paul wrote:
 On Fri, 13 Jun 2003, MAL wrote:
  Wouldn't
  screen -d -RR
  be more suited?
 
 From the manpage:
 
-d -R   Reattach a session and if necessary detach or even create it first.
 
-d -RR  Reattach  a  session  and if necessary detach or create it. Use the first 
 session if
more than one session is available.
 
 I don't like running more than one screen per userid per machine at any
 given time.  You may be confusing sessions with windows.
 
  Also, what happens in this curcumstance if you open multiple X terminals?
 
 Then it closes the other one.  The whole point of integrating screen so
 closely is so that you don't -need- more than one xterm or console
 session.
 
 Besides, running X is for wankers.

Disagree on that last point, but this tip is cool as hell! Now my screen
session follows me arroun :). I don't even have to detach manually! I'm
starting new aterms now just to watch the previous ones close and the
new ones pop up with the screen session :).

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] XCursor size

2003-06-13 Thread Ohad Lutzky
I really like the default Gentoo cursors (XFree-4.3.0-r2), but they're a
tad small... I've been trying to resize them with ~/.Xresources and
~/.Xdefaults, but to no avail. My cursors are selected with
~/.icons/default (selecting them with ~/.Xresources or ~/.Xdefaults
doesn't work either). Any tips?

-- 
Tactless

If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Gentoo package reviews

2003-03-24 Thread Ohad Lutzky
I don't know if you've all noticed the Gentoo Linux Stable 
(http://gentoo-stable.iq-computing.de/), but I think it's a good idea. 
Furthermore, I think we should have a section under gentoo.org itself, 
where we can write what we think about packages in portage. It should be 
 either paragraph-long reviews or one-liners (Nice, but irssi is 
better. or Takes forever to compile!). This would be a good place to 
help choose, for example, an IRC client, instead of seeping through the 
millions of discussions on the forums.

--
Tactless
If it wasn't for fog, the world would run at a really crappy framerate.



--
[EMAIL PROTECTED] mailing list


[gentoo-user] Re: Whiteglass mouse cursor misplacement

2003-03-24 Thread Ohad Lutzky
Theofilos Intzoglou wrote:
I've been using the whiteglass cursor theme on the new xfree server for
some time now. It is very pretty but when the cursor changes to the
pointer with the small clock (eg. when mozilla is loading a new page)
the cursor appears to be misplaced a bit to the right. I have to put the
cursor almost outside of the window to be able to use the scrollbar!
It's a small glitch but if someone knows of a way to fix this I'd really
appreciate him telling me how. Thanks in advance!
Actually, I really dislike whiteglass... I use this theme, and I think 
you'll like it too: http://forums.gentoo.org/viewtopic.php?t=38963

--
Tactless
If it wasn't for fog, the world would run at a really crappy framerate.
This is a .signature virus! Please copy me into your .signature.


--
[EMAIL PROTECTED] mailing list


[gentoo-user] Re: Trying xfree-4.3.0

2003-03-21 Thread Ohad Lutzky
Kurt V. Hindenburg wrote:
I would like to try the new xfree.  Is the best way still to ...

%mv /usr/X11R6 /usr/X11R6-4.2
% ACCEPT_KEYWORDS=~x86 emerge xfree 

???

XFree 4.3.0 works just fine over here, using only the second command you 
specified. The first would be wise as a backup though, in which case I'd 
do the same for /etc/X11, but with cp -R rather than mv.

--
- Tactless
If it weren't for fog, the world would run at a really crappy framerate.


--
[EMAIL PROTECTED] mailing list