FC3 and ghostscript
by Bill R. Williams
I went straight from FC1 to FC3 and something ugly has appeared.
(I mention this because it might have appeared in FC2, but I wouldn't
know.
The ghostscript output UGLY! Big clunky-looking font.
Easy to create example: (using yum startup -- any [ba]sh script will do.)
$ enscript -p out.ps -G -C --color --pretty-print=sh /etc/init.d/yum
$ gv out.ps # or whatever GS viewer you use
The above example you can do a perl script (--pretty-print=perl) or
whatever.
Part of the problem is easy to notice that because there is COLOR in
out.ps the gv display will have some text "backed-up" over preceding
characters. Not so noticeable for those who don't do a lot of
'enscript' of scripts, is that the font is big and clunky and runs off
the right-hand side of the "page".
I do quite a bit of programming in various scripts and sometimes
C/C++, and I have a need to produce nice program listings.
I have used 'enscript' for years; from RH v7.x through FC1 it produced
exactly what I needed. With FC3, it is just unusable for my purposes.
Note that NO FONT is specified, so I am used to getting the default
which is mono-spaced resulting in output that has all characters lined
up as they should be. (No variable-width character adjustment.
Kerning?) I have tried many variations specifying a font to get back
to what I want. If I specify something which produces variable-width
characters, the output is "correct" in that there is no "backed-up"
text due to the color specification; however, this type of font is no
good for program listing purposes.
I have determined that the problem is with ghostscript! (Any utility
I use which displays postscript uses ghostscript.) I can produce my
standard enscript output on my FC3 system at home, take it to my
office and look at it on my RH 7.3 system with gv and it is as I want
it to be.
This problem is significant to me for several reasons, and affects my
intention to upgrade my system at work to FC3.
Help will REALLY be appreciated!
(Including the proper "official" place to post this.)
--
---------------------------------------------
Bill R. Williams <brwilliams AT chartertn DOT net>
18 years, 11 months
software to read BIOS values
by dballester@kernpharma.com
Hi to all:
Some time ago I saw a Linux application capable to read BIOS values,
something like <Register> <Content> . Now i don't remember where andf when
i saw this app, and google can't help me very much.
May be the reference was done here in this list. Anybofy remeber it,
or knows what I am talking about?
As usual, a lot of TIAs
David Ballester Montolio
GNU/Linux user #206389
GNU/Linux - Unices Sysadmin
Oracle DBA
SAP-BC
Kern Pharma - Grupo Indukern
www.kernpharma.com
18 years, 11 months
Re: Bittorrent - how to use on Linux?
by Paul Howarth
Andrea Montenegro wrote:
> Paul Howarth wrote:
>
>> Andrea Montenegro wrote:
>>
>>> I was wondering if anyone has experience the same problem with
>>> bittorrent and FC3: I installed the version 3.4.2-1-1 from a rpm I
>>> found on Internet; the program seems to work fine using the command
>>> line "/usr/bin/btdownloadcurses --max_upload_rate 32 <torrent file>",
>>> except for the fact that after a few hours my operating system stop
>>> responding and I'm forced to shut down the machine using the power
>>> button. I tried to login through ssh when the computer hang, but even
>>> that didn't work.
>>>
>>> The operating system is very stable until I run bittorrent, and it
>>> runs 24 hours a day without a glitch. Is there a log file that can
>>> help to better understand what causes the problem?
>>
>>
>>
>> This isn't something I've noticed but perhaps you could give the new
>> beta version (3.9.1) a try and see if that's any better?
>>
>> I have RPMs for it at:
>> http://www.city-fan.org/ftp/contrib/bittorrent/BETA/
>>
>> Paul.
>>
> Thanks Paul, I'll give it a try.
Did this help?
FWIW, I now have an FC3 package of the new BitTorrent 4.0.0 client (no
longer a beta) at:
http://www.city-fan.org/ftp/contrib/bittorrent/
Paul.
19 years
create a restricted user
by Zacharie Elcor
I want to create a restricted user without password that can only use
a web browser.
I added a user named "visitor" and created in his home dir a file
.xsession that contains:
firefox
so that when he logs in, firefox is launched, and when he closes
firefox, he is logged out.
This works fine but he is still able to ctrl+alt+F(1-6) and log in to
browse the file system.
To prevent that, I tried to set /bin/false as the default shell for
that user in /etc/passwd but this also prevented him to log in
graphically.
Is there a way to be sure that "visitor" will only be able to browse
the web and not the file system ? any security issues ?
Thanks for help
19 years
SB Audigy not detected
by Robert Crowther
I have just purchased an Audigy 2 soundcard (this one:
http://www.ebuyer.com/customer/products/index.html?product_uid=82109).
I have an Asus A7V333 motherboard which has onboard sound, but there
is no way to disable the onboard sound in the BIOS (all the
information I could find indicated that the onboard sound would be
turned off automatically if there was a soundcard plugged in, but this
doesn't seem to be the case).
Gnome doesn't detect the soundcard at all, it doesn't appear in any of
the system tools and, even after I manually added entries to
modprobe.conf I am still stuck with only my onboard soundcard. The
snd_emu10k1 module is getting loaded, it appears when I lsmod, but no
sound card device is created.
It does seem that the kernel knows the card is there, it just doesn't
seem to know what it is:
#/sbin/lspci | grep Creative
00:0e.0 Multimedia audio controller: Creative Labs: Unknown device 0008
#/usr/sbin/kudzu -p --class=AUDIO
class: AUDIO
bus: PCI
detached: 0
driver: unknown
desc: "Creative Labs: Unknown device 0008"
vendorId: 1102
deviceId: 0008
subVendorId: 1102
subDeviceId: 1001
pciType: 1
pcidom: 0
pcibus: 0
pcidev: e
pcifn: 0
-
class: AUDIO
bus: PCI
detached: 0
driver: snd-cmipci
desc: "C-Media Electronics Inc CM8738"
vendorId: 13f6
deviceId: 0111
subVendorId: 1043
subDeviceId: 80e2
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 5
pcifn: 0
So I'm thinking there will be a config file somewhere where I can
explain that the snd_emu10k1 is the driver for deviceid 0008? Does
anyone know where that is - or am I barking up the wrong tree. (BTW -
currently running 2.6.10-1.770_FC3 because I couldn't get fglrx to
work with the 2.6.11 kernel).
Rob
19 years
Printing problem with CUPS after FC3 upgrade
by felix
Hi,
I have a strange problem. There's a computer on the network
that are connected to a printer via Samba and another one by
JetDirect (on port 9100). The computer used to be on FC2
and could print on either printer fine. After upgrading to FC3,
however, it stopped sending jobs to the printers.
More precisely, it still sends jobs to the printers, but nothing
comes out on the other end. There are no error messages or
anything. It's just a black hole.
I am totally at a loss at this point...
19 years
gtkglarea
by Paul D. Jones
I am trying to install a piece of software that requires the gtkglarea
libraries, is there an rpm for these for FC3? I couldn't find one. I guess
this has been removed from the core 3 distribution, are there any
incompatibilities I should be aware of?
Thanks
Paul
================================
Paul D. Jones, Ph.D.
NIH Postdoctoral Fellow
Department of Entomology &
Cancer Research Center
University of California, Davis
Davis, CA 95616
================================
19 years, 1 month
Fedoraforum.org is now official?
by David Hoffman
OK, so I get this note today that says that the new official support
site for Fedora is going to be the web-based forums at
fedoraforum.org.
I guess all the hassle about the mailing list over the past few weeks
finally got to someone.
However, it also says that the mailing list is not going away, and
that "users are encouraged to go to the forums first if they have
support questions.
So now people will be going to two different places to NOT search the
archives, and ask questions.
Brilliant!
--
David
Registered Linux User 383030 (since everyone else was doing it 8-)
-----------------------------------------------------------------------
There are only 10 kinds of people in this world,
those who understand binary, and those who don't.
19 years, 1 month