makeinfo

2000-03-31 Thread Guilherme Soares Zahn
Hi there,

I was experimenting some new things here and I decided to try to
build binary packages from the source ones (to get benefit from
compiling them with pgcc instead of the regular gcc) and, although I
suceeded to do that with some packages, others failed claiming they
could not find the makeinfo command...

I tried to browse the /var/state/apt/lists dir but couldn't find out
which package to install in order to have this command available... Can
anyone help me?

TIA,

Guilherme Zahn


Files with *strange* permissions

2000-03-16 Thread Guilherme Soares Zahn
Hi there,

I'm facing quite a bad problem here im my Linux Box, and I'd like to try
a bit more before I give up, format the HD and reinstall it all...

Last tuesday I had to shutdown Linux because I had to do some work on
Win98, unfortunately... The shutdown procedure worked fine, I worked all
afternoon on Win98 and shutdown the machine to go home...

Yesterday I came back and, to my surprise, when I tried to boot on Linux
the system halted with a kernel panic: unable to mount root fs on
03:02 (I guess these were the numbers)...

Next thing I plugged my HD in another Linux box and ran e2fsck -y on
it... As I already expected, after complaining about a whole lot of
errors, when it exited I only had a /lost+found dir, with lots of
subdirs and files in it...

Lucky enough, by browsing the subdirs I could rebuild the whole root dir
structure (it seems e2fsck only moved the complete root dirs to
/lost+found and renamed them with those numeric names - the whole subdir
tree inisde each of them was 100% preserved), and I was left with some
empty dirs and some weird files that seem to be undeletable...

When I tryed to boot, I doscovered the default boot image was corrupted
(crc error), but lucky enough the other images worked fine, so I just
booted from one of them and ran lilo again; then the computer booted
fine and everything worked perfectly!

Now, I'm left with one final problem... the files and dirs left on
/lost+found can't be chown'd, chmod'd or erased... all of them (except
for one) have the first permission bit (when doing ls -a -l) either b,
c or s... also, some of them seem to have a HUGE size (like 4294967295
in 2 of them), but then when I select them on MidnightCommander it
recognizes a negative size... Also, some show invalid sizes, like (on
ls) 1,   7 or 164, 246 (with the spaces)... Also, all of them have a
name that starts with #...

Lastly, when I run e2fsck again it complains about

fsck.ext2: Ext2 file too big while calling ext2fs_block_iterate in pass
1b

and then finds two duplicate blocks (always on the same two pairs of
inodes)... If I try to run e2fsck -c it complains about the file too
big thing and aborts... I'm almost sure it is related to the
/lost+found files...

Now, how can I get rid of them? Is there a chance, or will I be forced
to format  install it all again?

TIA,

Guilherme Zahn



Re: Files with *strange* permissions

2000-03-16 Thread Guilherme Soares Zahn
 Guilherme writes that he has encounted files he cannot delete.
 (...)


 For the unalterable files, lsattr gives ext2fs atrributes. chattr
 will change these attributes, which include immutable. This will
 usually help remove unalterable files. The file system debugger also
 will do this job.

Hmmm... just tried that now... all I get is a lot of
Opperation not supported by device While reading flags on ./#491 (and others)
Invalid argument While reading flags on ./#175 (and others)
Inappropriate ioctl for device While reading flags on ./#592 (and others)

And all I could do was delete 2 files (which accepted the chattr thing)...

Now, what else can I do? How do I access the file system debugger?

TIA,

Guilherme Zahn


Re: Files with *strange* permissions

2000-03-16 Thread Guilherme Soares Zahn
 Guilherme writes that he has encounted files he cannot delete.

 (...) The file system debugger also
 will do this job.

OK... this worked fine, the files aren't there anymore!

Now, when I rebooted e2fsck complained about the file too big thing again... 
what can
it be?

Also... what could have made all this mess with my HD? I thought of either a 
windows
virus (because it messe with the boot block) or some physiocal HD problem... As 
the HD
is still on its warranty period, I should discover it as quickly as possible!

Another thing... how can I know which (or how many) blocks the e2fs system has 
marked
as bad? This could be a good measure for the disk's health...

TIA,

Guilherme Zahn


MSMail client scientific plotting/fitting program

2000-01-31 Thread Guilherme Soares Zahn
Hi there,

do anyone know a Linux client for MSMail?

Also, do anyone know of a good Linux replacement for Windows'
Microcal Origin? I'd need a program that can create scientific
graphics/plots (no need for 3D plots), do both linear and nonlinear
function fitting (preferrably it should allow the user to enter his own
functions, as I'd need to do many non-standard fits, like a sum of
Legendre Polynomials, for instance) and be able to exchange data with MS
Excel and/or Microcal Origin (even if it cannot export and/or import the
graphics, I'd need to import/export the data)... If possible, I'd like
it to be at least *a bit*  intuitive to use, also...

TIA,

Guilherme Zahn


Re: MSMail client scientific plotting/fitting program

2000-01-31 Thread Guilherme Soares Zahn
 A long time ago, in a galaxy far, far way, someone said...

Hey... Brazil is not *THAT* far... But well... let's say I see some
coincidences between our president and Darth Vader... Both said something
like forget all I've said before I was what I now am... ;-)

  do anyone know a Linux client for MSMail?

 You need to elaborate further.  Are you looking for an MS Exchange client,
 or merely an Internet email client?

MS Exchange... I already have an Internet e-mail client (or should I say 2,
Netscape  Mutt? ;-)... Is there any???

[]'s

Guilherme Zahn



Useless (broken?) IDE HD

1999-12-20 Thread Guilherme Soares Zahn
Hi there,

I know it's somehow OT, but you were the only guys I thought could
give me some ideas...

well... at home I've got a VA34324A Samsung HD (IDE, 4.3Gb) that
decided to stop working this weekend. As I'm completely out of money for
at least 2 months and short of backups for a big chunk of the data it
contains, I'd like to see if there's any way to put it back to service,
even if just for a short time. Here's what happens now that it's
installed as 2nd master in my work PC:

1) When I turn on the computer, BIOS recognizes OK it and it passes all
tests fine;

2) Linux boots, kernel recognizes hdc: SAMSUNG VA34324A, 4124MB w/478kB
Cache, CHS=14896/9/63, UDMA  (i.e.: fine);

3) fdisk sees all four partitions OK and warns of no problems;

4) When I try to mount any of the partitions, I get a lot of equal
messages:

hdc: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error
}
hdc: read_intr: error=0x04 { DriveStatusError }
ide1: reset: success

The FAT32 partition mount in the end, still gives me more error messages
but I can at least browse through it and retrieve some files) but the
ext2 won't mount (ext2 filesystem panic, of course, because of the read
errors).

When I boot Win98 (still w/ the broken HD as 2nd master), win98's fdisk
won't even notice there's a 2nd HD and Partition Resizer win warn of an
error (something like ¨partition 1 out of boundaries¨) and won't
recognize anything (not even the 1st HD)...

Now, is there any chance that it's not a hardware fault? If so, how
could I try to make it work? I'm accepting mostly every possible idea,
no matter how risky or absurd it may seem, as the worst that could
happen as losing the HD I can't use now!

TIA,

Guilherme Zahn

PS: Please c/c myself on the replies, OK? Due to the heavy traffic on
the list I had to sign it through another e-mail address, and it's been
hard to check it lately!


Re: mutt questions

1999-09-15 Thread Guilherme Soares Zahn
 Hi lazy folks ;-

Hi!!! ;-)

 More lazy stuff: using the mc editor (very practical
 to zap entire lines of the first mail when you reply,
 or to copy similar lines)

Well... this one is very good for us, old MS-DOS users (it's very similar to 
MS's EDIT ;-)... I also like A LOT the jstar editor (joe's editor, wordstar
emulation)... I just feel back to those times when we used WordStar and/or
the console version of Borland's programming tools, w/ all those '^K'
stuff... ;-) No, I don't think a newbie should learn'em, but if I've already
commited some neurons to recording it... why not to use'em? ;-)

Ciao!!

GZ


Re: To the Debian Project, IMHO

1999-09-14 Thread Guilherme Soares Zahn
Well... my personal oppinion surely agrees with Havoc's, and I'm just addind my
$2c...

I sure don't want to see ONLY X-friendly configuration programs, specially 
because
after you get some insight on the matters this proves to be a slow, sometimes
unreliable and, sometimes, even impossible way to configure what you want (just
remember the problem with Win95's hardware configuration... if your hardware is
misconfigured and you can't run the GUI, then you can't hace access to the 
tools that
let you correct the mistake - so you're stuck!)...

On the other hand, the GUI-versions of those tools are of great value to the 
user
that has little time to read the whole documentation about some feature (say, 
SAMBA)
and want to do his learning 'as time allows it', going from a basic setup to an
advanced and optimized one setp over step, in a reliable way... For this 
purpose, you
can have either a well-commented configuration file (and, in the case of SAMBA, 
I've
never seen one that's 100% complete - RedHat's one is good, Debian's one is 
better,
but each one has it own tweaks, and I may want to try a mix of both) OR a
well-documented GUI-tool, like gtksamba, which organizes the parameters in 
groups and
calls the man file for each parameter when asked... This is a great way to do 
your
learning and to walk over the gap that separates the regular user from the power
user... This was the road I have chosen years ago in respect to Windows (using 
the
excellent documentation that the Norton Utilities used to provide for its 
tools), and
that's the road I've chosen to learn more about Linux.

In the perfect world, the GUI tools and the console tools will both be 
available, and
completely independent - i.e., you can choose to install and/or uninstall each 
of
them whenever you want to w/out messing with the other.

...just my $2c...

Guilherme Zahn
(still a 'pseudo' power-user)


mutt questions

1999-09-14 Thread Guilherme Soares Zahn
Hi there,

I decided to try using mutt as my console-mail-reader because of
pure lazyness (I was used to Pine, but I'd have to grab and compile it,
so... ;-), and I'm quite disappointed with the lack of
'easy-configurability' of it (compared to Pine)... So, I'd like to ask a
few questions...

1) How do I define a default 'reply-to' address?

2) How do I define a default 'save to' folder?

I took a look in my .muttrc file, but didn't find much there to help me
solve these two...

Apart from that, the use of the cursor keys is quite confusing, also...
I don think it's a good policy to have the 'down' key to move you to the
next message... sometimes we only want to go down a single line... What
about using 'n' for 'next message' and 'p' for 'previous message' (and
the cursor keys for their intuitive funcions)

TIA,

Guilherme Zahn


ne3200 EISA

1999-09-14 Thread Guilherme Soares Zahn
Hi there,

we've got 4 NE3200 EISA boards here and, unfortunately, I haven't
found a driver for them to work under Linux yet... Has anyone managed to
set up one of these??

TIA,

Guilherme Zahn


Re: How do you LOW FORMAT a hard drive

1999-09-13 Thread Guilherme Soares Zahn
   I need to Low Format a hard drive - I have a drive that has at some stage
  Some BIOSes lets you do this.

 But you shouldn't ever low level format a hard drive.  It isn't necessary
 any more since the 80's.

More that that, it's REALLY dangerous to do so in new IDE drives (something to 
do
with geometry parameters, if I'm not mistaken)...

Now, how would I LOW FORMAT a floppy disk???

[]'s

Guilherme Zahn


DOWNGRADING glibc (2.1.x = 2.0.x)

1999-09-13 Thread Guilherme Soares Zahn
Hi there,

unfortunately, as every attempt to make my programs work under glibc
2.1.x (now I'm not even sure if it's a glibc problem or if the problem
is on PGI's most recent F77 compiler, but it doesn't really matter, as
I'm running out of time), I decided to downgrade my system from glibc
2.1.x to glibc 2.0.x... Now, is there a less-painful way to do it or
should I just reinstall slink from the beggining

TIA,

Guilherme Zahn


Re: Printer stair stepping

1999-09-13 Thread Guilherme Soares Zahn
 My printer, an HP694C, does the stair-stepping thing. When I set up Mandrake, 
 there was an automatic fix for this during set up. What can I do with Slink 
 to fix this?

 Also, I use lpr. Is this the preferred way for printing with Debian?

Well... The solution I found wasn't really 'The Debian Way' of doing it, but 
worked perfectly...

I just installed the lpr  magicfilter DEB's via DPKG  RedHat's printtool ( 
control-panel, needed by printtool) via alien, and now my printing is just fine 
(probably
exactly the same way as Mandrake's... ;-)


Re: General kernel questions

1999-09-13 Thread Guilherme Soares Zahn
  I wanted to customize my kernel over the weekend, but after looking at what 
  I assumed to be the current  kernel configuration (i.e., the options 
  selected when viewing make xconfig), I was left with some
 questions.

(slip)

Well... This may be either a stupi or naive question, but it just came to my 
mind that *maybe* you (David) have got it all slightly wrong (kind of a 
'windows scar')... (1)Have you already compiled a custom kernel for
you or (2)are you using the one that comes with Debian? If the answer is (2), 
then the mistery's solved... The 'default' kernel comes with a more-or-less 
'comprehensive' build, with almost everything considered
'basic' for a regular user compiled into it and almost EVERY module compiled, 
also... It is NOT the same setting you see when you take a look in the 
'defaults' for make menuconfig (or xconfig or just config)...

Maybe I got it?

Guilherme Zahn


LessTif 0.89

1999-09-10 Thread Guilherme Soares Zahn
Hi there,

do anyone know when (or *if*) LessTif 0.89 deb's will be released? I
was taking a peek at LessTif's Homepage and, among other wonderful news,
they say that now Netscape-smotif should be running 'out of the box'
with LessTif... In case the deb's are not on the 'soon released' list,
has anyone successfully installed LessTif (and LessTif-devel 
LessTif-clients) from the RPM's with ALIEN?

[]'s!

Guilherme Zahn


Re: Manually importing Debian menu to WMaker

1999-09-08 Thread Guilherme Soares Zahn
 Sanity check: you installed WindowMaker from the debs?

Yeap! But I guess I found out what was going on...

 (...) Also, make sure you don't have a file
 ~/GNUstep/Library/WindowMaker/menu.hook, and that the file
 ~/GNUstep/Defaults/WMRootMenu contains only the one line menu.hook (with
 the quotes).

Gotcha! That was the problem! My WMRootMenu had some entries on it (possibly
from a previous - and ill-succeeded - installation of WindowMaker I tried
some months ago), and NO reference to menu.hook! I erased the rest and left
it just as pointed and - voila! - it works fine now!

Now, just a quick question... is there a way to add my own entries to the
WM menus? In Fwhm95 there was...

Ciao

Guilherme Zahn


OT: using printtool under Debian

1999-09-08 Thread Guilherme Soares Zahn
Hi there,

today I was following a suggestion sent here and installed RH's
printtool using alien... The installation goes fine (except it wants
control-panel also installed, but this is also easy to do), but then
when I try to add and configure my printer here I find some problems:

1) It complains that it won't find './printerdb' (but keeps running)

2) When I choose 'select' on 'Input Filter', it comes with an error
(because of the previous error, I think)...

3) When I try to print a test ASCII page it comes with: 'couldn't
execute ¨lpr¨: no such file or directory'...

Is there a way to get round all this? ;-?

TIA,

Guilherme Zahn


NetBIOS over IPX

1999-09-03 Thread Guilherme Soares Zahn
Hi there,

we are trying to migrate our network here from the *%$@ NT to Linux
(our firts tests were enough to convince the Senior SysOp), but we have
to route NetBIOS over IPX for some subnets, and we couldn't find a way
to do so (nowadays we're only able to route NetBIOS over IP)... We're
using ipxripd for the IPX routing... Which app should we use to do the
NetBIOS routing over it???

TIA,

Guilherme Zahn


Manually importing Debian menu to WMaker

1999-09-03 Thread Guilherme Soares Zahn
Hi there,

After some months w/ fvwm95, I'm experimenting WMaker, and I quite
like it (lighter  seems more stable)... but there's a problem: The
Debian default menus aren't merged w/ WMaker's own menus at
installation, and I don't know how to do so... Can someone help me?

TIA,

Guilherme Zahn


Re: Yamaha sound

1999-09-02 Thread Guilherme Soares Zahn
 i got a Yamaha sound card but I can't manage to load sound as a module,
 because i don't know exactly which card it is... Is there a way to get
 the irq, dma, and such things it uses ? I also run NT but I neither can
 find these informations there...

Hi!

Well... it seems it is either a on-board card that uses a Yamaha chipset or 
a 'SB
compatible' that uses the OPL3-SA? chipset (where ? can be 1,2 or x - chipsets 
code
YMF 771, 715  719, respectively). The latter ones are easily supported by Linux
using the OPL3-SAx PnP module... To find out what you should try, there's two 
tools:

1) For ISA cards, try using pnpdump... the best way to use it is to redirect 
it's
output to a file (eg. '$pnpdump isapnp.conf.tst') and then use this file as an 
input
to isapnp (for that purpose, copying that file as /etc/isapnp.conf should be 
enough).

2) For PCI boards, try 'cat /proc/pci'...

And good luck!

Guilherme Zahn


Netscape (wishlist/ buglist such)

1999-09-02 Thread Guilherme Soares Zahn
Hi there,

I know this isn't the most appropriate place for that, but... What's
the 'right' way to send bugs and/or wishlists about Netscape, posting it
straight to Netscape or sending them to the Debian netscape package
administrator?

As I've noticed there's a lot of people talking about Netscape here,
I'll send you a *brief* summary of the most common bugs and of the
wishlist I'll post'em... This might be interesting for the Mozilla
development group, too, don't you think?

*Most common bugs:
Segfaults  Bus errors seem to be very common (to me and to others)
when:

- Closing the original browser window (IF you started NS from a browser
window);

- Sending a user/password pair;

- In WindowMaker, if you set the child windows to open on the same
window as their parents, when Netscape tries to create a new window, if
you're NOT in that workspace, ciao baby!

- The already famous 'mailto:' bug

- HTML mail isn't THAT well supported either, as when you delete them or
while you're editing them Netscape seems to be MUCH more prone to
segfaulting...

*Wishlist

- Netscape should learn from Opera  include buttons that allowed one to
control the loading of images and the processing of Java  JavaScript
for each window (on the individual browsers AND on the mail window)!

- Both in the browser  in the mail subsystems, images should be loaded
AFTER the whole text/HTML code has been loaded (and displayed)

And last, but not least... Is it just me or everyone's noticed that
Netscape's MIME encoding/decoding is just TOO slow???

Ciao all!

Guilherme Zahn


Re: Netscape (wishlist/ buglist such)

1999-09-02 Thread Guilherme Soares Zahn
 Just a comment on this one. Netscape (and other browsers) do exactly that.
 However, if the image tags are not accompanied by width and height
 parameters, Netscape can not render the page until the image headers are
 downloaded and known. It would be really slow for it to re-render the page
 after every image, since it changes the page flow and table sizes, etc..

Hmmm... there's a good point there... ;-)

But, are you positive that Netscape does that? I ask because of one of the 
things
that nags me most in Netscape Mail: sometimes I receive a HTML e-mail w/ images 
(for
instance, an info clipping of some kind) and, if I press 'stop' too soon (in 
less
that, say, 30s) it seems to load only part of the text... ;-/

[]'s

GZ


statically linking libc6

1999-09-02 Thread Guilherme Soares Zahn
Hi there,

SInce I upgraded my system to glibc2.1, there's some vital software
that refuse to run, even if I compile it again from scratch... Now, I'm
willing to try some desperate moves before I give up and try to
downgrade my whole system (that, by now, is 100% potato)...

So, as I'm not a *real* programmer, so I can't go on tracking the
bugs on the original code, I was trying to recompile the program w/
libc5 (thus getting rid of the libc6-related problems), but for some
reason the compilation couldn't be finished... I think the problem may
be related to the PGI Fortran compiler (unfortunately I have to use this
one, as fort77 seems to refuse part of the code), but I couldn't think
of a solution...

There's one solution that I think *maybe* could work, but I'll need
some help from you all... I though of compiling the program statically
linked to ALL the libraries it uses in my home PII-300 (running RedHat
5.2  glibc2.07) and then installing it here, in my work's
486-DX4/100... But then, there's a whole lot of question in my head...

a) Will it work? It uses not only libc6, but lesstif  xlib6g, too...

b) How do I tell the compiler to statically link EVERY library ?

c) How do I make sure the compilers make 486-compatible binaries,
instead of PII-optimized ones?

TIA,

Guilherme Zahn

PS: I'm *really* afraid that one of my next posts will have to be on
'how to fully downgrade a debian system w/out wiping out the whole disk
:-(((


Re: cfdisk big-disk warning

1999-09-02 Thread Guilherme Soares Zahn
 Duggan Dieterly said:
  just to let everyone know, cfdisk does not work with window FAT32
  file partition tables.  use fdisk instead.

 What happens?  I've been able to create partitions extending beyond cylinder
 1023 with (the current as of one week ago Potato) cfdisk, although the
 version on the install disks won't handle large disks.

Well... back at home I was able to run cfdisk (the one that comes w/ RedHat 5.2 
- I
don't know the version) and set up my complete 4.3Gb HD, including the
FAT32-LBA partition...



Killing 'undestructable' processes

1999-09-02 Thread Guilherme Soares Zahn
Hi there,

this time I have a pretty quick and direct question:

is there a way to kill those processes that refuse to die (for
instac,e netscape will behave that way after a crash - and not even a
kill -9 does the trick)???

TIA

Guilherme Zahn


Re: ftp can build data connection - masquerading problem?

1999-08-31 Thread Guilherme Soares Zahn
  Any ideas??

 Correctly masquerading FTP sessions requires a special module,
 ip_masq_ftp in 2.2 version kernels; Do you have this module
 loaded (or built-in to the kernel)?

Hmmm... I have to check it out... Should it be loaded in the masquerading 
server or
in every Linux box whose IP is masqueraded??

Thanks!

Guilherme Zahn


Re: hardware...

1999-08-30 Thread Guilherme Soares Zahn
 ) Stuff to consider:
 ) * drivers don't exist for sound cards with Aureal chips
 )   and the new Soundblaser Live.

 Drivers do exist for the SB Live.  I haven't checked out the latest
 versions which are supposed to add /dev/audio and /dev/dsp, but the old
 version did work w/ CD audio.  The Creative site has these drivers:

Well, the support people from Diamond told me that there's drivers for some 
Aureal
chips, too, as the one used in the Diamond MonsterSound MX300 (not for my MX200,
though :-(

As for printers, most of the *new* Epson Styllus Color work fine, too...

[]'s

Guilherme Zahn


Re: Netscape

1999-08-30 Thread Guilherme Soares Zahn
 Netscape is stable except for when I browse in multiple windows, then
 closing any window may kill my entire netscape suite (downlaod,s collabra,
 everything), it isn't only closing the original window that does it.

I've seen exactly the same problem here... teh workaround I found was to start 
Netscape
through the Mail window, so that closing any browser window won't kill the 
suite...


Compiling w/ libc5

1999-08-30 Thread Guilherme Soares Zahn
Hi there,

I was wondering what would I need to do in order to compile a
software I've got here linked to libc5 and not to libc6... I assume that
just editing the Makefiles and changing 'gcc' for 'altgcc' would be much
of a naive try, wouldn't it? What should I do then? The program also
uses the PGI F77 compiler and the lesstif libraries... What should I do
to make sure that the program is linked to libc5 and NOT libc6?

TIA,

Guilherme Zahn


TeK WYSWYG editor?

1999-08-30 Thread Guilherme Soares Zahn
Hi there,

do anyone know a good WYSWYG TeK editor for Linux (much like
Scientific Word for Windows)? In case you don't... Is there any program
to convert from any of the 'regular' word processors to TeK (even if I'd
have to do some 'fine tuning' on the TeK file later, it would be *a lot*
easier then learning TeK from scratch, wouldn't it? ;-)

[]'s

Guilherme Zahn


dhcpcd question

1999-08-30 Thread Guilherme Soares Zahn
Hi there,

I've faced what I could call a bug (I think) in dhcpcd, and I'd like
to know if there's a known workaround for that...

My linux box should get it's IP address from a DHCP server, and it
really does it perfectly UNTIL they move my PC to a different subnet
(what seems to be happening quite frequently here)... When it happens,
the only way to make dhcpcd get an IP address for me is to delete the
/etc/dhcpc/dhcpcd-eth0.cache file... Then, shouldn't dhcpcd deal with
that automatically? Is there a way to make it do so or should I report
it as a bug?

[]'s

Guilherme Zahn


Re: dhcpcd question

1999-08-30 Thread Guilherme Soares Zahn
 I added an rm /etc/dhcpc/dhcpcd-eth0.* to my dhcpcd start script. I know
 that dhcpcd works well on redhat and does not suffer this problem. I've
 looked through their start scripts and can't seem to find a major
 differences in the way debian and redhat call dhcpcd. Any more ideas?

OK... Just done that, too... But you got me really curious... what could be
the difference between the way RH and Debian do the same thing? ;-?


ftp can build data connection - masquerading problem?

1999-08-30 Thread Guilherme Soares Zahn
Hi there,

Lately I've been facing a strange and very annoying problem... When
I try to do FTP from a site, it will almost surely drop my connection
out when I try to build a data connection (either through a 'get',
'retr' or just a harmless 'dir') with a message like:

ftp dir
200 PORT command successful.
425 Can't build data connection: Connection refused

On other systems I've had a 'address already in use' or something, so I
felt it could have to do with the IP Masquerading... I can't say for
sure if it started just after we set our Linux router to do IP
Masquerading or not, but I feel it was 'almost at the same time', so
maybe I've just overlooked something when I did that... HTTP connections
AND apt-get run just fine, though...

Any ideas??

[]'s

Guilherme Zahn


Re: Netscape

1999-08-26 Thread Guilherme Soares Zahn
 Hmm, that's an interesting thought. I don't run KDE (I run IceWM), but I
 often have Netscape crashes. But I'm running on a 1MB older video card
 and only 32MB RAM and am always getting messages from Netscape about not
 having enough resources (or memory?) to set color pallettes (or somesuch
 -- I just ignore the messages now so I don't remember what they say). So
 it may be that the people having crashes have fewer resources than the
 people not having crashes.

Hmmm... I had never thought of that before... The message you may be 
'forgetting' is
something like 'can't allocate color for default background' or something, given
ONLY when Java comes in... I have the same (I mean, *when* I enable Netscape's
sluggish Java support)... Like you, I have a *%$# 1Mb video card (well, it 
*used* to
have 2Mb, until I tried some experiments with its bus clock XF86Config 
options)... I
don't think it has something to do with the problem (as I crash w/out java 
enabled),
but on the other hand... I have here both fvwm95  KDE, and for some strange 
reason
Netscape seems to be more stable (even if slower) on KDE than on fvwm95 (my 
default
WM)... Could it be that it has something to do with resources and/or key/mouse
bindings? That's an interesting issue for the Gurus... ;-)

GZahn


Re: Netscape

1999-08-26 Thread Guilherme Soares Zahn
Well... The only somehow 'reproductable' crashes I remember of comes when:

1) I try to delete HTML-ized e-mails from the messager window... It won't 
happen 100%
of the times I do it, but, say, 10%...

2) I press 'enter' after entering my username  password for some sites; this 
happens
quite frequently (Hmmm... I'd say 30% of the times, specially if the NS windows 
on
the site requiring authentication isn't on the 1st plane (i.e., it's either 
under
another - NS or not - window or on another desktop).

Also, sometimes Netscape crashes just when I press the 'stop' button on 
Navigator, or
when I click on a harmless link... or even when I'm just typing a new e-mail... 
These
crashes aren't so common as the other ones, but seem to happen at least twice 
or 3
times a day...

[]'s

Guilherme Zahn


Parallel Port Scanner

1999-08-24 Thread Guilherme Soares Zahn
Hi folks!

Some days ago someone posted here a link to a page where I would
find notes and/or drivers for using a parallel port scanner under
Linux... OK, but the *%$@ here entered the page with Netscape and
deleted the message... but, as always, netscape crashed before I could
save the page into my bookmarks, so could anyone post it again???

TIA,

Guilherme Zahn


Re: FAT32 e Compactador DOS-Linux

1999-08-24 Thread Guilherme Soares Zahn
Fala Lindalvo,

o negocio eh o seguinte: O Linux soh consegue acessar volumes FAT32
a partir do kernel 2.2.x, e o seu Slack deve estar com o 2.0.x, neh? OK,
uma sugestao seria atualizar o kernel, mas isso nem sempre eh possivel,
(afinal eh mais um download de 14Mb, neh)?

Quanto a um compactador com suporte a multiplos arquivos com versos
DOS/WIN e Linux, tente o RAR... eh shareware, voce encontra com
facilidade por aih. Tem uma versao pra WIn bem facil de usar, uma versao
pra DOS que vem com um shell bem intuitivo (no mesmo jeitao do antigo
DOSShell)- no Linux nao tem nada disso, eh command-line mesmo, mas o
help eh bem completo. Ele te da uma compactacao BEM superior aa do Zip,
GZip ou Arj, mas eh BEM mais lento (nada que chegue a assustar em um
PII, mas num 486 ce vai penar um bocadin se quiser usar a compctacao
maxima ;-).

[]'s

Guilherme Zahn


Re: Parallel Port Scanner

1999-08-24 Thread Guilherme Soares Zahn
Hey! No wonder everybody just loves this list!

In a few minutes I got a couple of GREAT answers! I've followed the links
and found myself stuck again in a dilemma... My PP Scanner is made by a
Brazilian company (TCE), so I guess it's just an OEM repackage... Anyway, I
know it supports a TWAIN driver... Now, what the hell is a TWAIN driver?
I've been trying to find it out, but to no success... I think it means my
scanner shall be a SCSI-based parallel port device, isn't it?

On the other hand, I'm trying to get in touch with TCE's e-mail support to
have more info on it (but they are so slow and, you know, I couldn't help
asking you all! ;-)

TIA

Guilherme Zahn


Re: Strange (?) boot-up messages

1999-08-20 Thread Guilherme Soares Zahn
  here I am, still trying to fine-tune my PC and understand it a bit
  further...
 That attitude seems to be the minority these days, judging from the
 recent flamefests on Slashdot.

Well... I'm really somehow 'old-fashioned'... ;-)

  OK... I'm puzzled by the 2nd one... what does he mean by 'Cannot find
  map file'? I guess he means that he can't find the /boot/map file,
 No, its looking for a System.map file, which lists where all the
 functions live when the kernel is in memory. (useful for debugging
 kernel panics among other things).

OK... and how do I build a System.map file? ;-?

  Aug 18 16:45:32 groo /usr/sbin/gpm[152]: Skipping a data packet (?)
  Aug 18 16:45:32 groo /usr/sbin/gpm[152]: Skipping a data packet (?)
 
  What's that all about? ;-?
 Perhaps it has something to do with your other problems?

Don't really think so... This one happens in my work PC, where the mouse is
connected to /dev/ttyS0 and, even when the kernel seems to map it to
/dev/ttyS00, the mouse works fine... believe it or not! ;-)

  What is 'perpendicular mode'? Do the massage mean that my FDC is wrongly
  configured for Linux or what? ;-?
 Can you use your floppy drive just fine?  Looking at the source in
 drivers/block/floppy.c, it has something to do with seeking and getting
 high transfer rates (128k/s) on special floppy drive controllers.

OK... I'm sure this VERY old FDC unit wouldn't support it! As the floppy unit
is working fine, I must presume that Linux is only trying to see if it
supports perpendicular mode each time I change the disk in the FDC... No
problem, then!

Ciao, and thanks for your help!

Guilherme Zahn


e2fsck w/out boot?

1999-08-20 Thread Guilherme Soares Zahn
Hi there,

I was wondering if there' s a way to run e2fsck w/out booting the
machine... I know I'd have to remount my / partition as read-only, run
e2fsck  remount the partition as rw, but I can't seem to be able to do
the first step (the system says / is busy)...

The reason I ask that is because earlier today X aborted complaining
of (got it from syslog):

Aug 20 09:56:26 groo kernel: free_one_pmd: bad directory entry 0400

But when I booted the system it said /dev/hda2 is clean... I know, I
should run restart -F, but I was just wondering if there was an easier
way... ;-)

Ciao!

Guilherme Zahn


Re: e2fsck w/out boot?

1999-08-20 Thread Guilherme Soares Zahn
 Did you go to single user mode before you tried to remount root
 read-only?  Have you more than one e2fs partition?

The answer is 'nope' to both, and I think you've just got it... should have 
entered
single mode BEFORE trying that! I guess it's just one typical case of the famous
'DOS/Win former user syndome'... ;-)

BTW... how do I get into single user mode? ;-?


Strange (?) boot-up messages

1999-08-19 Thread Guilherme Soares Zahn
Hi there,

here I am, still trying to fine-tune my PC and understand it a bit
further...

Now, I've been puzzled by some messages I find in the boot sequence
and by a particular message I find in the syslog:

When I boot the system, as soon as the klogd is started here comes the
following messages:

Aug 18 16:45:27 groo kernel: klogd 1.3-3#31, log source = /proc/kmsg
started.
Aug 18 16:45:27 groo kernel: Cannot find map file.
Aug 18 16:45:27 groo kernel: Loaded 25 symbols from 4 modules.

OK... I'm puzzled by the 2nd one... what does he mean by 'Cannot find
map file'? I guess he means that he can't find the /boot/map file, but
it's there (together with a boot.0300 and a boot.0302 - btw, what are
those files anyway?) Is it somehow serious or dangerous for the system?


A bit later, when setting up the serial ports, it states:

Aug 18 16:45:27 groo kernel: Serial driver version 4.27 with no serial
options enabled
Aug 18 16:45:27 groo kernel: ttyS00 at 0x03f8 (irq = 4) is a 16450
Aug 18 16:45:27 groo kernel: ttyS03 at 0x02e8 (irq = 3) is a 16450

OK... whay ttyS00 and not ttyS0?? At home it happens just the same way,
but there I have RedHat 5.2 installed and because of that I can't seem
to find a way to get rid of the old /dev/cua0 mouse device, because if I
link /dev/mouse to /dev/ttyS00 can't find the latter and if I link it to
/dev/ttyS0 it won't find a mouse... ;-/

And then, by the end of the boot-up procedure, I get this one (just like
that, doubled):

Aug 18 16:45:32 groo /usr/sbin/gpm[152]: Skipping a data packet (?)
Aug 18 16:45:32 groo /usr/sbin/gpm[152]: Skipping a data packet (?)

What's that all about? ;-?

Last, in my syslog I will find, from time to time:

(...) kernel: floppy0: perpendicular mode not supported by this FDC.

What is 'perpendicular mode'? Do the massage mean that my FDC is wrongly
configured for Linux or what? ;-?

Thanks for your attention!!!

Guilherme Zahn


Re: IP-Masquerade

1999-08-18 Thread Guilherme Soares Zahn
  The HOWTO suggested I should try something like
 
  ipfwadm -F -p deny (setting 'deny' as the default rule)
  ipfwadm -F -a masquerade -P tcp 192.168.0.0/255.255.0.0 -D 0.0.0.0/0
   ^^^
 is there a typo here or you're using the entire range from 192.168.0 to
 192.168.255. If you're using one C class (192.168.0.0), your mask should
 be 255.255.255.0 (or 192.168.0.0/24).

Nope... we have at least four C classes from that router (192.168.10.0,
192.168.11.0, 193.160.12.0, 192.168.13.0), so I decided to try the more
general approach just to make things easier... I'll try to follow some of the
other suggestions, though, just to make the setup 'cleaner' (I think that
specially using the '-W eth# should make the whole setting match my needs,
allowing ONLY calls from the internal networks to be masqueraded... ;-)

 Just curious: você não está utilizando o potato? Kernel 2.3.x? Por que não
 utiliza o ipchains? (sorry all others :)

No, potato  kernel 2.3.x are in my personal machine... the router has a much
more 'conservative' setup ;-)

Thanks for your support, everybody!!!

Guilherme Zahn


apt-get strange behaviour

1999-08-17 Thread Guilherme Soares Zahn
Hi there,

From some time on (since I've last upgraded apt-get? Can say for
sure! ;-/) I've been facing some strange problems with apt-get...

When I do a 'apt-get update' it seems to go all over the download of
the packages (as expected), but then it come to a segfault when building
the dependency tree... If I run 'apt-get update' again, I find it has
something else to download, then all goes fine, so it seems apt-get is
OK'ing some package file bero it is REALLY 100% downloaded (thus the
segfault when building the dependency tree on the first try)...

Any guesses on what could be going on? I use apt-get 0.3.11...

Ciao,

Guilherme Zahn


IP-Masquerade

1999-08-17 Thread Guilherme Soares Zahn
Hi there,

today I was trying to set our computers to do IP-Masquerading (we'll
be changing our external provider, and while the old one did the
masquerading for us, the now one doesn't)... I tried to do everything as
explained in the IP-Masquerade HOWTO, but for some reason things weren't
running quite fine (well... not fine at all, as the packages coming from
one adapter wouldn't see the other eth's)...

I found a way to set things to work, but I'd like to know if this
creates any problem or opens any security breach (and, if it does, what
should I do)... The idea was to get our subnets 192.168.x.0 to go
through a REAL net...

The HOWTO suggested I should try something like

ipfwadm -F -p deny (setting 'deny' as the default rule)
ipfwadm -F -a masquerade -P tcp 192.168.0.0/255.255.0.0 -D 0.0.0.0/0
(and the same for udp)

I removed both lines and tried:

ipfwadm -F -p accept -m (default policy: accept, masquerading)

Now everuthing works fine, but I'm somehow suspicious this may open a
whole in our security... does it? Is there a safer way to do it?

[]'s

Guilherme Zahn


(OT) Correcting VFAT problems from Linux

1999-08-16 Thread Guilherme Soares Zahn
Hi there,

I think this is 1/2 OT, but as I could think of nowhere else to
ask... ;-)

I needed some tool to diagnose a VFAT (FAT32) partition from inside
Linux... The reason why I want to do so is that all the tools I've tried
to use from inside DOS/WIN refuse to run properly (it seems there's some
rather serious problem with my 4.3Gb Samsung UDMA2 IDE HD, and as far as
I can tell it seems to 'freeze' when trying to read some sector - at
least from DOS/WIN - generating 'stack overflow' messages)...

Anyway, I sort of thought (wondered? hoped? dreamed?) that maybe if
the diagnostic tool was running from Linux it might be possible to
overcome this problem (maybe just a slight difference on the way Linux
accesses the HD, or some fine-tuning on hwclock's settings, could do the
trick)...

TIA,

Guilherme Zahn


killing ALL of a user's processes at once

1999-08-13 Thread Guilherme Soares Zahn
Hi there,

I was wondering if there's a way to kill all of a user's processes
at once... This would be VERY useful in cases like today, when I made a
little mistake in my crontab and a process that should be started at
6h00 am was started once for each minute between 6h00 and 7h00... OK, it
was VERY stupid to put * 6 on the crontab instead of 00 6, but then the
only solution I found to stop all those 60 processes that were running
when I got here, at 9h00, was to reboot the machine...

[]'s

Guilherme Zahn


package update log?

1999-08-13 Thread Guilherme Soares Zahn
Hi there,

I was wondering if there's a maillist where the package manteiners
post their update log... If not, I think the Debian people could think
of that... Just, everytime a package update is uploaded (either to the
stable OR unstable distribution) they would send the changelog.DEBIAN
file to the maillist (so that the users can see if that update is
relevant/ interesting to them or not)...

...just a suggestion (in case one such list doesn't exist - if it
exists, please just give me the directions to subscribe to it! ;-)

[]'s

Guilherme Zahn


Weird Problems w/ Netscape fvwm95 (was: Unable to click on links in Navigator 4.61)

1999-08-12 Thread Guilherme Soares Zahn
Hi there,

I was following the thread and then it came to my mind to ask about a 
minor, but weird, misbehavior of Netscape for Linux (this
has been happening to me since Communicator 4.5 - now I using 4.61):

When I'm editing a mail message, I frequently use shift+ctrl+arrow to 
highlight the next word (or the bunch of blank
spaces up to the next word)... OK, this has always worked fine in the Win 
version, but for some reason in the Linux version it only
works *sometimes*; other times when I do that the screen will just blink 
quickly and the mouse cursos will walk a bit (as if the
keys were moving it)... weird, isn't it? Now, to be true, I've only noticed 
that behavior when running Netscape under fvwm95 (on
KDE it seems to run OK, and I haven't tried it with WMaker, Enlightenment or 
whatever)... Also, from time to time (specially when I
try to be a bit quicker - or impatient - than I should) Netscape will claim 
that it was unable to process a mouse click or
something... Do anyone know what can be going on? Is it a Netscape or a fvwm95 
problem?

[]'s

Guilherme Zahn


Netscape segfaults...

1999-08-12 Thread Guilherme Soares Zahn
Hi there,

once again, the problem is called Netscape... (4.61 ;-)

From time to time, my Netscape just ¨dies¨ (unfortunately, most of
the time I can't get the error message because I run it straight from
the fvwm95 menu)... The few times I could check the message, it was
either a Segmentation Fault or a Bus Error... Also, after a small part
of these crashes, Netscape refuses tu run again, also either with a
Segmentation Fault or with a Bus Error (usually even before creating the
~/.netscape/lock file)... On these (unfortunately not SO rare) events, I
can't even run a xterm (xvt runs fine, though) - it won't open without
any visible error message and the only solution is a complete reboot
(just killing X  restarting it or logging out  in again don't do any
good)...

Can anyone tell me if there's a way to get the system bask to work
without a reboot? What is this ¨Bus Error¨ anyway? Is this a fault in my
system (hardware?) or one of the ¨regular¨ Netscape/xlib6g faults?

[]'s

Guilherme Zahn


Re: [Debian: XFree86] Errors

1999-08-12 Thread Guilherme Soares Zahn
 Config Error: /etc/XF86Config: 190
 VertRefresh 40-100
 horizontal sync value expected
 _X11TransSocketUNIXConnect: Can't connect: errno = 111

 Please can anyone Help me ???

Hi Michelle!

Well, at least the problem *seems* quite easy to solve! Your 
/etc/X11/XF86Config
file is incomplete... X expects to find both a value to the vertical AND to the
horizontal sync, and it can't find the horizontal...

Now, there's two options for that:

1st (the easyer one): Try to run xf86config OR XF86Setup... answer the questions
and... voila... your system should be working fine (I hope! ;-)

2nd (harder, but not much! ;-): Edit ¨by hand¨ the /etc/X11/XF86Config file and,
after you find the ¨Monitor¨ Section, insert a line for the horizontal sync on 
your
monitor... I've included the ¨Monitor¨ section of my XF86Config file as a 
guide, OK?
;-)

Here it is:

Section Monitor
   Identifier  SyncMaster 3Ne
   VendorName  Samsung
   ModelName   SyncMaster 3Ne
   HorizSync   31.5-48.5
   VertRefresh 56-75
   Gamma   1.2
   Modeline  1024x768   65.00 1024 1056 1200 1344 768 771 777 806 -hsync 
-vsync
   Modeline  800x60050.00 800 856 976 1040 600 637 643 666 +hsync +vsync
   Modeline  640x48031.50 640 656 720 840 480 481 484 500 -hsync -vsync
EndSection

Hope this helps!

Guilherme Zahn


Re: Installing Netscape

1999-08-10 Thread Guilherme Soares Zahn
 Sounds like my box. I use ICE, cant start Netscape. I have to use the TKdesk
 browser and double click it then it starts.

  I am trying to install Netscape Navigator and can't seem to get it to
  work.  I have downloaded this file: navigator-v461-export.x86-
  unknown-linuxglibc2.0.tar.gz

Hmmm... First, I wasn't aware that apt-get could install .tar.gz files ;-? Are 
you
sure it hasn't jusrt grabbed the netscape package from the internet once again?

Well, anyway... try running ¨netscape¨ from a xterm and see what's the system's
output (if Netscape doesn't start, the system WILL tell you something about it -
either a ¨command not found¨ (in which case you should add a link to netscape 
in the
/usr/local/bin directory) or a ¨libc.so.6 not found¨ (in which case you should 
check
if glibc is installed and the links OK) or even a ¨bus error¨, ¨segmentation 
fault¨
or some other error message (in which case, I'm sorry to say you should just
uninstall your netscape and try installing it once again - maybe just doing a:

tar -xvvzf  navigator-v461-export.x86-unknown-linuxglibc2.0.tar.gz

then changing to the directory tar creates and running ¨install¨ or something 
(the
script that comes with netecape)

Hope this helps!

Guilherme Zahn


Kernel 2.2.10 make error (internal compiler error)

1999-08-10 Thread Guilherme Soares Zahn
Hi there,

I was trying to compile and install the 2.2.10 kernel, but something
didn't come out so well as I expected...

I did it the ¨general linux way¨, so I did:

make menuconfig (OK)
make dep (OK)
make clean (OK)
make modules (OK)
make bzImage

...and that's where the error came up... the compilation was going on
fine, but then, suddenly, the make process aborted because of a
¨Internal compiler error: program cpp got fatal signal 11¨ (full error
messages and such are in the end of the e-mail)...

What's up? Is this a problem with the kernel code or with my compiler? I
have already had problems to compile the 2.3.11  2.3.12 kernels (to be
short, couldn't compile them at all - it seems they have problems in the
fat and smfs code)...

TIA,

Guilherme Zahn

--BEGIN INCLUDED MESSAGE--

make -C fat
make[2]: Entering directory `/usr/src/linux/fs/fat'
make all_targets
make[3]: Entering directory `/usr/src/linux/fs/fat'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -DCPU=486
-DEXPORT_SYMTAB -c fatfs_syms.c gcc -D__KERNEL__
-I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -DCPU=486   -c -o
buffer.o buffer.c
gcc: Internal compiler error: program cpp got fatal signal 11
make[3]: *** [buffer.o] Error 1
make[3]: Leaving directory `/usr/src/linux/fs/fat'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/fs/fat'
make[1]: *** [_subdir_fat] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_dir_fs] Error 2

--END INCLUDED MESSAGE--



non-'us-ascii' characters again...

1999-08-10 Thread Guilherme Soares Zahn
Hi

I'm really puzzled this time...

As I said in a previous message, when I try to enter non-'us-ascii'
characters on an xterm all I get are escape sequences like \350 and
such... Well, despite all the help I could get, this hasn't changed
(even with my ~/.inputrc and ~/.bashrc including all suggested lines)...
OK, but today I did a test I should have done before and... for root,
who hasn't got any of those lines in his ~/.inputrc (the file doens't
even exist) or ~/.bashrc...

I tried to take a look on /etc/inputrc and /etc/profile, but only to
find that:

/etc/inputrc:
set input_meta on
set output_meta on

/etc/profile (stripping all the unrelated lines):
LESSCHARSET=latin1

OK... how can that be? It seems I'll have to comment all those lines you
(and the docs) suggested to put on my ~/.bashrc and ~/.inputrc, but can
anyone tell me why is this so?

Also... I was told that there shall be a problem with my keytable, as it
converts double quotes to \250 (half size dbl quotes)... How can I
correct that? This is REALLY important...

[]'s

Guilherme Zahn


Re: gnome-apt

1999-08-09 Thread Guilherme Soares Zahn
  Update doesn't work either. In short words: apt-get works perfectly
  but nothing works with gnome-apt  :(

 To be honest I have no clue at all. I haven't rebuilt from scratch with
 the latest libapt-pkg in a while, so I'll try that today and if I have a
 revelation will let you know.

Well... unfortunately I must tell you that from some time to now I've been 
having
just the same problem with gnome-apt... It does the whole dowload of the 
¨.deb¨s, and
then just beeps and goes back to the initial window... It seems to be a small 
problem
that was introduced from 2-3 weeks to now, I'd say... The solution I use is to 
empty
the /var/cache/apt/archives dir, then run gnome-apt and then,, after the 
download is
done, cd /var/cacge/apt/archives and do a dpkg -i *.deb... Just a workaround, 
but
works...

Also, a qustion... couldn't gnome-apt (and apt-get) be set to resume downloading
automatically until the doanload is finished (like wget does?)

Guilherme Zahn


Re: New kernel problems

1999-08-09 Thread Guilherme Soares Zahn
  VFS: Cannot open root device 03:43
  Kernel panic: VFS: Unable to mount root fs on 03:43
 
  I'm not exactly sure how to troubleshoot this. Any advice?
 
 I usually see this error when IDE support has not been compiled in the
 kernel. So I'd make sure that in the Block Devices section you have
 'Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support' 
 'Include IDE/ATA-2 DISK support' set to yes.

Nope... it as long as I can read the signs, the IDE device was found, so the 
problem
seems to be that the e2sf (second extended file system) was either left aside or
created as a module during the krenel creation... Run make menuconfig again and 
check
this out in the ¨filesystems¨ part... the second extended filesystem MUST be 
created
as part of the kernel (otherwise, how would the kernel open the e2fs filesystem 
to
read the modules? ;-)

Guilherme Zahn


non-us-ascii characters

1999-08-09 Thread Guilherme Soares Zahn
Hi there

I've been facing some curious problems when trying to use
non-¨us-ascii¨ characters in my Linux box...

In a regular xterm, in the command prompt, an ¨e¨ with an acute
displays like ¨\351¨, and ¨a tilde¨ like ¨\343¨ and so on... in the same
xterm, if I use the Midnight Commander internal editor, everything
displays fine (except for the c cedilla, wich displays absolutely
nothing), and if I use Joe I just get the wrong, us-ascii, characters
(and e acute displays like an i, an a tilde like a c and so on)... Now,
why is it so? I use glibc 2.1 and, in my .bashrc file, I added the
following lines (as I was told to):

LANG=pt_BR
LC_ALL=pt_BR
LC_CTYPE=ISO-8859-1
LESSCHARSET=latin1
export LANG LC_ALL LC_CTYPE LESSCHARSET

What's up? How can I have, at least, a consistent output (I mean, every
console app undestanding the keyboard the right way)?

Oh, tes... I have a even more serious problem with that... for some
reason, the double quotes come like '\250' on the xterm console, come
like a '' on Joe and, even if in the MC internal editor they seem like
double quotes, they aren't understood that way on scripts, so that the
only way to build decent scripts (and to run certain commands) is to
copy the double quotes from somewhere else and paste in there... Any
suggestions on how to solve that (even if ONLY that)?

TIA,

Guilherme Zahn


Re: non-us-ascii characters

1999-08-09 Thread Guilherme Soares Zahn
  What's up? How can I have, at least, a consistent output (I mean, every
  console app undestanding the keyboard the right way)?

 for bash (and all readline programs) create file ~/.inputrc with:
 (...)

Well... I forgot to say that I already had a .inputrc... anyway, I added
three of those escape sequences that you told me, but I still get the \350's
and such when use those characters... ;-/ Any other comments/suggestions?

 First, normal double quotes have code \042 not \250. You my have keyboard
 badly remapped. I see \250 on my terminal as double quotes, but half size.
 All programs use only \042.

Well... that's what I thought... and where do I change that? ;-)

 Second, your joe is configured for 7-bits characters, use it with option
 -asis or change /etc/Muttrc or ~/.muttrc.

Thanks! I did that, and solved the problem with joe... only one thing: that's
not .muttrc, but .joerc (and .jstarrc ;-)

[]'s

Guiherme Zahn


Re: stop bringing up X window when Linux booting

1999-08-06 Thread Guilherme Soares Zahn
 dpkg --purge xdm

 works for my 2.1 system. Then you must kill -9 pid_for_xdm.

Hmmm... I was thinking of a workaround that *may* work fine... what if you just 
remove the
¨xdm¨ script from the /etc/init.d folder (and the links in the /etc/rc.# 
folders, also)?
This should do the trick *without* the need to completely remove xdm form you 
system (you
may want it back someday) AND without bringing up any problem with broken 
dependencies...

[]'s

Guilherme Zahn


Re: SB16 PnP CD-ROM - proprietary or IDE?

1999-08-06 Thread Guilherme Soares Zahn
 Here's a scenario.  I boot up DOS, along with the PnP drivers, so my
 soundcard and CD-ROM work fine.  Then I soft boot using my Linux boot disk.
 During boot up, I observe these messages:
 hdh: Matshita CR-581 ATAPI CD-ROM drive
 ide3 at 0x168-0x16f, 0x36e on irq 10
 These messages do *not* appear if I hard boot straight into Linux.
 (snip)
 Finally, the command ln -s /dev/hdh /dev/cdrom does not work.  There is no
 /dev/hdh, although linux finds hdh:Matshita CR-581 ATAPI CD-ROM drive during
 start-up.

Well, here the problem *seems* simple: you just forgot to mount your CD unit 
with

mount -t iso9660 /dev/hdh /mnt/cdrom

That's why Linux can't find the filesystem there... Also (I think) you should 
only do
a ls to a mounted filesystem... Other possible reason is that the device in 
/dev/hdh
hasn't been created yet... for that purpose (I guess) you'd have to use 
MAKEDEV, but
then it's a bit beyond my present knowledge...

As for reasons why the device doesn't show up when you hard boot into Linux... 
have
you tried plugging the CD-ROM cable straight into the IDE card? This might even 
solve
the previous problem, and the CD unit should be recognized as /dev/hdb, hdc or 
hdd
(if it's plugged as 1st slave, 2nd master or 2nd slave, respectively). For the
messages you sent I'm almost sure it is a REAL ATAPI/IDE CD-ROM drive.

Hope this helps!

Guilherme Zahn


Re: Is it safe to upgrade slink to libc-2.1 from potato

1999-08-06 Thread Guilherme Soares Zahn
 I want to ask if it is safe to upgrade slink's libc-2.0 to potato's
 libc-2.1. Are there some slink packages dependent specifically on libc2.0,
 which would not work with libc-2.1?

Well... I'd say for 99% of the people I know the glibc2.1 worked wonderfully, 
and
they're very happy with it... Unfortunately, though, I stand on the other 1%, 
and I
must tell you... after a while it gets REALLY hard to do a downgrade in the 
glibc (as
everything else in my potato system is now glibc2.1-dependent)... In my personal
case, the problem was that I HAVE to run some scientific analysis programs that
simply refuse to run since I installed the glibc2.1 (there's rumors that they 
have
eliminated some ¨under-the-roof¨ instructions that shouldn't be used anyway, but
those programs used)...

Anyway, bottom line is that, IMHO, if you only use ¨regular¨ Debian programs 
(the
ones usually distributed with it or with any other Linux distribution like 
RedHat,
Caldera or such) there should be no problem at all...

[]'s

Guilherme Zahn


Re: Is it safe to upgrade slink to libc-2.1 from potato

1999-08-06 Thread Guilherme Soares Zahn
 Thank you. This is OK for me. BTW, which applications you use, which
 depend on libc20? Is it matlab or what? Mathematica people were wise to
 compile their 3.0 version static.

Well... unfortunately (did I REALLY say that? ;-) it's not a commercial suite, 
but a
freeware group-developed suite called RadWare (created by David Radford, of the 
Oak Ridge
National Laboratory). It is very useful for Nuclear Spectroscopy Analysis, 
specially for
gamaXgama coincidence experiments... Anyway, I've already written Mr. Radford 
to see if
he's already aware of that problem (and if he knows of any worakaround or 
solution)...
unfortunately I'm quite ignorant about both C and Fortran (what is my Pascal 
useful for,
anyway? ;-), so I can't even try to hack the code ¨by hand¨...

[]'s

Guilherme Zahn


Re: X window resolution extremely low

1999-08-06 Thread Guilherme Soares Zahn
 I installed slink on my workstation here @ work, and I'm having problems
 with the resolution of X...it's horribly low.  I'd say 300x240.(...) the vid 
 card
 unit is a SiS620 (if I'm correct)...with, what I believe is 8MB RAM (anyway
 for me to check this?)

Welll... good and bad news... the support for the SiS620 is now present in the
new XFree86 3.3.4... The bad: The deb's for the new XFree are still under
work, so you won't find them yet in any ¨regular¨ Debian distribution...

As for the vid memory... I've heard that these on-board AGP video cards
share the ¨regular¨ memory with the remaining of the system (well, this is
what I've heard, but I haven't had a board like this im my hands to check
yet).

[]'s

Guilherme Zahn


Mozilla vs. Communicator

1999-08-05 Thread Guilherme Soares Zahn
Hi there,

I have quite a ¨strange¨ doubt to pose you all...

I've noticed there's different packages for Netscape
Communicator  Mozilla... Is the up-to-date Mozilla
release as good as Netscape Communicator 4.61
(or hopefuilly better, as NS seems to enjoy a lot the
¨killing itself for nothing¨ business)? Does it include
the e-mail reader/composer and the HTML editor?
Which libraries is it based on (is it still Motif/LessTif)?

Bottom line, do YOU think it's worth trading my
Communicator 4.61 for Mozilla 19990716.M8-2?

[]'s

Guilherme Zahn


Re: Mozilla vs. Communicator

1999-08-05 Thread Guilherme Soares Zahn
  (snip) as NS seems to enjoy a lot the ¨killing itself for nothing¨ 
  business)?

 This may not be netscape's fault; there are indications that there may be a
 subtle compiler problem affecting X resulting in these crashes.

Hmmm... and do you have an idea of wheter the XFree team is working on it?
The strange thing is that this seems to affect ONLY Netscape...

  Which libraries is it based on (is it still Motif/LessTif)?

 Gtk (the source still supports using Motif/LessTif as the GUI library, but
 Gtk is the default).

That's REALLY great news, as Motif/LessTif are both ugly and problematic
(I have SERIOUS problems to make the LessTif based apps use a good
color palette - and the palette seems to change from time to time,
according to its own will! ;-(

  Bottom line, do YOU think it's worth trading my Communicator 4.61 for
  Mozilla 19990716.M8-2?

 No. Mozilla looks promising, but still has quite a way to go to get at the
 stability level of netscape.
 You need not trade in though; mozilla and netscape coexist happily.

Hmmm... despite my lack of HD space, I'm thinking seriously in
giving it a chance... ;-)

[]'s

Guilherme Zahn


dpkg locking my machine from time to time/ fsck

1999-08-05 Thread Guilherme Soares Zahn
Hi there,

As it was the second time I've experienced SERIOUS problems with
dpkg this week, I think it's worth poting something here...

Monday I was updating my gmc package when dpkg locked (I think it
was on the ¨unpacking replacement...¨ stage) and the system became so
unstable that I had to reboot the machine. Today it happened again (now
I was updating the samba package), also in the ¨unpacking replacement¨
stage, but now the PC really froze and I was forced to reboot it the
hard way (power off, power on and pray).

Now, both times fsck complained (of course!) and eventually found
¨Duplicate/Bad blocks in use¨. Both times I had to use e2fsck to solve
the problems (fsck complains about something like ¨unexpected
unconsistency found¨), and today I had the attention to run e2fsck w/
the ¨-c¨ option (check for bad blocks) enabled, but it didn't find any.

So, the (rather obvious! ;-) question is: what's up? Is it a problem
with dpkg, a problem with my harddisk or what? Also, why doesn't fsck
solve the problem but e2fsck does?

I really appreciate all kinds of feedback on this problem...

Ciao,

Guilherme Zahn


dpkg problem (rather serious)

1999-08-04 Thread Guilherme Soares Zahn
Hi there,

Yesterday I was trying to run apt-get to update my gmc package when
somethig weird happened and it had a major lock (I think it locked when
running dpkg)... Now, dpkg refuses to run because, when reading the
database, it finds a problem in the /var/lib/dpkg/info/at.list file...

The initial problem was that there was a lot of (non-ascii) garbage at
the end of the file... I backed it up and removed the binary garbage,
and now I get the following message (this time I was trying to remove at
in ordre to have the database OK and then reinstall it):

BEGIN INCLUDED MSG-
ROOT:/var/cache/apt/archives# dpkg -r --no-act at
(Reading database ... dpkg: error processing at (--remove):
 files list file for package `at' is truncated
Errors were encountered while processing:
 at
Processing was halted because there were too many errors.

-END INCLUDED MSG-

Now, how can I arrange things in order to have dpkg running fine again?
I looked in the dpkg help files and couldn't find any useful info about
it (I hoped to find some ¨--force-install¨ or something)...

Alternatively... could someone out there send me (in pvt, of course) a
copy of the /var/lib/dpkg/info/at.list file?

My version of at is 3.1.8-4

[]'s

Guilherme Zahn


Making my Diamond MonsterSound MX200 work

1999-08-03 Thread Guilherme Soares Zahn
Hi there,

I'd like to know if any of you folks managed to make a
Diamond MonsterSound sound board work under Linux...
I own one and I feel really disappointed to be forced to
silence while Linuxing...

[]'s!

Guilherme Zahn