Linux-Misc Digest #567, Volume #27 Mon, 9 Apr 01 08:13:01 EDT
Contents:
Re: I cannot print any .ps file (Juergen Pfann)
Re: kernel upgrade - yikes!! - SOLVED ("ekkis")
Re: Looking for record and playback tool for Linux environment ("Eric")
use of fips and 12-bit FAT (Roger Levy)
Re: frame buffer problem with minicom (David Efflandt)
netscape problem with plugins (Dan)
Command to get linux version (Alex Vinokur)
Re: Command to get linux version ("Nils O. Selåsdal")
Re: Command to get linux version ("Eric")
Re: Command to get linux version (Frank Ranner)
Re: multisessionCD (Bart Friederichs)
Re: Linux root user password lost (Bart Friederichs)
Re: rpc.nfsd: nfssvc: Function not implemented ("Matthew Markopoulos")
Console scrollback buffer problem (Jem)
Re: Command to get linux version (Jean-David Beyer)
Something like the 'what' user command in UNIX (Alex Vinokur)
Re: Something like the 'what' user command in UNIX ("Nils O. Selåsdal")
Re: Something like the 'what' user command in UNIX (Alex Vinokur)
Re: renaming files by removing a single character from original filename ("Peter T.
Breuer")
Re: Ran RHN app and system is gone screwy.... ("JNJ")
Re: You Linux people are unbelievably stupid. (Gareth Jones)
Re: Slackware games windows bigger than desktop ("Peter T. Breuer")
----------------------------------------------------------------------------
From: Juergen Pfann <[EMAIL PROTECTED]>
Subject: Re: I cannot print any .ps file
Date: Mon, 09 Apr 2001 07:21:12 +0200
Leonard Danao wrote:
>
> OK let me clarify this.
> Its probably not my setup with what i have.
>
> I have a pdf file generated by acrobat distiller.
> here is the file format
> [root@web-linux pdffiles]# od -c file.pdf |more
> 0000000 % P D F - 1 . 2 \r % â ã Ï Ó \r \n
> 0000020 3 0 o b j \r < < \r / L i n
> 0000040 e a r i z e d 1 \r / O 5
> 0000060 \r / H [ 6 7 7 1 5 9 ]
> 0000100 \r / L 6 2 8 4 \r / E 5 9 6
> 0000120 0 \r / N 1 \r / T 6 1 0 7
> 0000140 \r > > \r e n d o b j \r
> (...)
> this file is then converted to .ps with the pdf2ps utility from Ghostscript
> I can see what the file was converted to using
> #gs file.ps and it looks fine
> (...)
> I hope that clarifies everything
>
Unfortunately, it doesn't IMHO - you reply to your own post, which I
can't see here in this NG ?
> "Leonard Danao" <[EMAIL PROTECTED]> wrote in message news:...
> > (...)
> > the Printcap file has the following
> > ##PRINTTOOL3## DIRECT POSTSCRIPT 1200x1200 letter {} HPLaserJet4000_PS
> > Default {}
> > lj4000:\
> > :sd=/var/spool/lpd/lj4000:\
> > :mx#0:\
> > :sh:\
> > :if=/var/spool/lpd/lj4000/filter:\
> > :af=/var/spool/lpd/lj4000/acct:\
> > :lp=/dev/null:\
> > :ppdfile=/usr/share/postscript/ppd/HP_LaserJet_4000_Series.ppd:
> >
> > Any ideas?
I still don't quite understand : Are you able to print PS and text files
with this printer, using lpr, in generally - or aren't you ?
Do for instance ghostscript's examples work ?
Tried to customize e.g. the various gslp, gslj, etc. scripts that come
with gs ? Do these work ?
Or, is the above pdf file the _only_ one that doesn't work ?
If so, in the extract above I notice some CRs without NLs - was that
PDF file originated at a Mac ? - Maybe that's the problem's core...
Maybe try to convert that file with "tr '\015' '\012' <filename
>file.tmp".
Does "lpr file.tmp" work now ?
Just some ideas - if I got your problem right...
Juergen
------------------------------
From: "ekkis" <[EMAIL PROTECTED]>
Crossposted-To: redhat.kernel.general,linux.redhat.install,comp.os.linux.setup
Subject: Re: kernel upgrade - yikes!! - SOLVED
Date: Mon, 9 Apr 2001 00:01:20 -0700
"tech2kjason" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Once that is done, run lilo and reboot... At the lilo prompt, select
> the new kernel/label and everything should seem as though it was all a
> bad dream.... when you're comfortable with everything under the new
> kernel you can go back and remove the old 2.2.16 image references from
> lilo.conf. For the time being, leave the other files in /boot alone.
>
> Good luck,
> Jason L. [EMAIL PROTECTED]
Thank you, Thank you, Thank you!
I've found at least a couple of other people who've made the same mistake so
I'll go point them to this thread.
btw, I can blow away the initrd, can't I? I read up on it and it seems like
an optional RAM disk thing that I don't think I care about anyway.
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: comp.software.testing
Subject: Re: Looking for record and playback tool for Linux environment
Date: Mon, 9 Apr 2001 09:09:28 +0200
> I am looking for a record and playback testing tools to test the
> functional testing and ( performance testing) of Java based GUI
> application running on linux system.
>
record and playback what?
on what device?
Anyway, search www.freshmeat.net
Eric
------------------------------
From: Roger Levy <[EMAIL PROTECTED]>
Subject: use of fips and 12-bit FAT
Date: Mon, 9 Apr 2001 00:10:07 -0700
hi everyone,
I just got a new Seagate hard drive and am trying to partition it with
FIPS. I formatted the drive under Win98 with software that came with the
harddrive.
I get the error, though, that FIPS cannot partition a 12-bit FAT table.
Does anyone know what might be going on? Should I try and reformat the
drive directly from Windows first?
Thanks,
Roger
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: frame buffer problem with minicom
Date: Mon, 9 Apr 2001 07:20:56 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On 08 Apr 2001 20:32:54 GMT, Dances With Crows <[EMAIL PROTECTED]> wrote:
>On Sun, 8 Apr 2001 19:25:33 +0000 (UTC), David Efflandt staggered into
>the Black Sun and said:
>>When I booted to a frame buffer console (vesa = 785) and was
>>troubleshooting a modem irq problem, I kept thinking that there was
>>still an irq problem because the output from certain AT commands (like
>>AT&V1) would skip or truncate, as though minicom could not keep up with
>>the modem output (hardware flow control). Then I tried that with a
>>good working external modem and it did the same thing.
>>
>>In a regular text console, without framebuffer, minicom works fine.
>
>Take a look at the system load when you're using a framebuffer console
>and scrolling a lot of text. Then take a look at the system load when
>you're using a standard VGA console. Framebuffers require a *LOT* more
>intervention from the CPU, as none of the nifty accelerated functions
>that are built into most video cards are getting used. If your CPU is
>slow, or if you haven't set hdparm -u1 on your disks, you could end up
>dropping interrupts from the modem. (Modems generate way too many
>interrupts....)
>
>Out of curiosity, why 785 and not 771? 256 colors is plenty for a text
>console, and most likely a lot faster. IMHO, the framebuffer console
>itself is not really useful unless you have an LCD and want to use the
>whole thing in console mode.
Just experimenting. 791 was suggested for my laptop which is 1024x768 and
I was just trying a more normal size font on my desktop. It was a $100
computer (demo or return) that just had the drive jumpers and cables mixed
up and needed a $10 cpu fan (bad connector). It is just a K6-2/400 but
the ATI Rage LT Pro is faster than my old S3 Trio64.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
Date: Mon, 09 Apr 2001 03:31:34 -0400
From: Dan <[EMAIL PROTECTED]>
Subject: netscape problem with plugins
I've install netscape 6.01 on RH 7.0 in /usr/local/netscape, and
naturally the plugins are in /usr/local/netscape/plugins.
However I have java, and flash player plugins installed in that
directory, but it won't work, and when I got to about:plugins, I don't
even see it.
Anyone knows what's going on?
------------------------------
From: Alex Vinokur <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Command to get linux version
Date: Mon, 09 Apr 2001 09:41:14 +0200
What command should I use to get linux version?
Thanks in advance,
Alex Vinokur
------------------------------
Reply-To: "Nils O. Selåsdal" <[EMAIL PROTECTED]>
From: "Nils O. Selåsdal" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Command to get linux version
Date: Mon, 9 Apr 2001 09:48:25 +0200
"Alex Vinokur" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> What command should I use to get linux version?
To get the kernel version, type uname -a
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Command to get linux version
Date: Mon, 9 Apr 2001 09:50:17 +0200
> What command should I use to get linux version?
`uname -a`
Eric
------------------------------
From: Frank Ranner <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Command to get linux version
Date: Mon, 09 Apr 2001 18:03:27 +1000
Alex Vinokur wrote:
>
> What command should I use to get linux version?
>
> Thanks in advance,
> Alex Vinokur
uname -r
More info:
===============
Usage: uname [OPTION]...
Print certain system information. With no OPTION, same as -s.
-a, --all print all information
-m, --machine print the machine (hardware) type
-n, --nodename print the machine's network node hostname
-r, --release print the operating system release
-s, --sysname print the operating system name
-p, --processor print the host processor type
-v print the operating system version
--help display this help and exit
--version output version information and exit
================
regards, Frank Ranner
------------------------------
From: Bart Friederichs <[EMAIL PROTECTED]>
Subject: Re: multisessionCD
Date: Mon, 09 Apr 2001 08:42:11 GMT
Uwe Malzahn wrote:
> Usually you don't have to. Are you sure your CDROM is capable of
> multisession CDs?
Yes. I can read it without problems under Windows 98.
Bart
--
=======================================================================
The internet is a too slow way of doing things you'd never do without
it.
Bart Friederichs, 1998
=========================================================================
------------------------------
From: Bart Friederichs <[EMAIL PROTECTED]>
Subject: Re: Linux root user password lost
Date: Mon, 09 Apr 2001 08:47:38 GMT
nordi wrote:
> I dont't know about plugging your password into /etc/shadow.
> Isn't it supposed to be encrypted, or can it be clear text
> as well? With /etc/passwd it should work I guess.
Yes, that can be done. It is encrypted, but it stays encrypted if you
copy the encrypted pass. Deleting the 'x' or '*' from /etc/passwd also
works. You then have a password-less root account. Just boot, login as
root without pass and run passwd. After that your system is fixed.
BTW:
Isn't
'echo "blabla" > /etc/passwd'
going to overwrite your /etc/passwd file? Shouldn't you use
'echo "blabla" >> /etc/passwd'
To append to it? (Notice the double > )
Bart
--
=======================================================================
The internet is a too slow way of doing things you'd never do without
it.
Bart Friederichs, 1998
=========================================================================
------------------------------
From: "Matthew Markopoulos" <[EMAIL PROTECTED]>
Subject: Re: rpc.nfsd: nfssvc: Function not implemented
Date: Mon, 9 Apr 2001 10:12:14 +0100
Christoph Kukulies <[EMAIL PROTECTED]> wrote:
> I'm running RH 6.1 and I installed a 2.2.17-14 kernel recently.
>
> Since then I I'm getting theses messages during nfs startup:
[...]
I had exactly the same problem on the same platform. Couldn't find a fix so
I removed the nfs-utils package and installed the nfs-server and
nfs-server-clients packages from contrib.redhat.com. Now nfs works fine.
Hope this helps.
Matthew Markopoulos
------------------------------
From: Jem <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.embedded,linux.dev.config,linux.dev.kernel
Subject: Console scrollback buffer problem
Date: Mon, 9 Apr 2001 10:20:00 +0100
Hi guys,
I am having a problem which may or may not be kernel
related, but if it's not any pointers to where the
problem lies would be most welcome.
I am using a 2.2.14 kernel (RedHat... but I've tried
2.2.13 Embedix kernel and I'm sure it's the same in
others).
Hardware configuration is a National Semiconductor Geode
processor (The old Cyrix MediaGX) with the CS5530
companion chipset providing VGA.
The application I have designed uses purely console mode
for a telnet interface. The user needs the ability to
scroll the screen back (Shift-PgUp) to view the session
history.
On all VGA chipsets I have used so far, this doesn't
appear to be a configurable option - it is just there,
and very glad of it I am too...
However, on this board I have now, the scrollback
function does not work at all. I am extremely concerned
that this is a chipset related issue - this is an
essential feature in our "product" and as such, the
chipset will have to be re-thought if this feature is
unavailable.
Can anyone point me to either information on the console
scrollback, reasons why it may not work, or even better
than that... the solution!
Thanks for any help,
Jeremy
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Command to get linux version
Date: Mon, 09 Apr 2001 06:32:21 -0400
"Nils O. Selåsdal" wrote:
>
> "Alex Vinokur" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> >
> > What command should I use to get linux version?
> To get the kernel version, type uname -a
uname -r will get you the kernel version.
But that is not the name of the distribution. If you look in
/etc/redhat-release (assuming you are running Red Hat) or
/etc/va-release (assuming you are running VA Linux version of Red
Hat), it will the name of the release initially installed on you
system. Of course, this latter is not much use because you may have
applied any number of RPMs, and not the same as anyone else. So the
name of the release is not very representative of what you have
running on your machine. For example, I get:
valinux:jdbeyer[/etc/rc.d]$ cat /etc/redhat-release
Red Hat Linux release 6.2 (Piglet)
valinux:jdbeyer[/etc/rc.d]$ cat /etc/va-release
VA Linux Release 6.2.3 08/01/00
To really identify what is running on your machine, assuming
EVERYTHING has been installed using RPM, you would do rpm -qa and get
a list of everything on your machine. Even this would assume you never
built anything from source. Mine starts out:
ElectricFence-2.1-3
setup-2.1.8-1
filesystem-1.3.5-1
basesystem-6.0-4
ldconfig-1.9.5-16
ImageMagick-4.2.9-3
glibc-2.1.3-22.1
[balance snipped]
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 6:20am up 7 days, 13:09, 3 users, load average: 2.10, 2.11, 2.09
------------------------------
From: Alex Vinokur <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Something like the 'what' user command in UNIX
Date: Mon, 09 Apr 2001 12:57:18 +0200
Is there in Linux something like the 'what' user command in UNIX :
http://docs.sun.com:80/ab2/@LegacyPageView?toc=SUNWab_40_4%3A%2Fsafedir%2Fspace3%2Fcoll3%2FSUNWaman%2Ftoc%2FREFMAN1%3A0602_what.1;bt=man+Pages(1)%3A+User+Commands;ps=ps%2FSUNWab_40_4%2FREFMAN1%2F0602_what.1&Ab2Lang=C&Ab2Enc=iso-8859-1
?
============================
Alex Vinokur
mailto:[EMAIL PROTECTED]
http://go.to/alexv_math
============================
------------------------------
Reply-To: "Nils O. Selåsdal" <[EMAIL PROTECTED]>
From: "Nils O. Selåsdal" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Something like the 'what' user command in UNIX
Date: Mon, 9 Apr 2001 13:07:27 +0200
"Alex Vinokur" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
>
> Is there in Linux something like the 'what' user command in UNIX :
>
http://docs.sun.com:80/ab2/@LegacyPageView?toc=SUNWab_40_4%3A%2Fsafedir%2Fsp
ace3%2Fcoll3%2FSUNWaman%2Ftoc%2FREFMAN1%3A0602_what.1;bt=man+Pages(1)%3A+Use
r+Commands;ps=ps%2FSUNWab_40_4%2FREFMAN1%2F0602_what.1&Ab2Lang=C&Ab2Enc=iso-
8859-1
> ?
Im unfamiliar with the 'what', but try
whatis
apropos
which
whereis
------------------------------
From: Alex Vinokur <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Something like the 'what' user command in UNIX
Date: Mon, 09 Apr 2001 13:25:11 +0200
"Nils O. Selåsdal" wrote:
> "Alex Vinokur" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> >
> >
> > Is there in Linux something like the 'what' user command in UNIX :
> >
> http://docs.sun.com:80/ab2/@LegacyPageView?toc=SUNWab_40_4%3A%2Fsafedir%2Fsp
> ace3%2Fcoll3%2FSUNWaman%2Ftoc%2FREFMAN1%3A0602_what.1;bt=man+Pages(1)%3A+Use
> r+Commands;ps=ps%2FSUNWab_40_4%2FREFMAN1%2F0602_what.1&Ab2Lang=C&Ab2Enc=iso-
> 8859-1
> > ?
> Im unfamiliar with the 'what', but try
> whatis
> apropos
> which
> whereis
The coomands above aren't like 'what'.
======================================================
Solaris 2.6 Reference Manual AnswerBook >> man Pages(1): User Commands
======================================================
<quote>
NAME
what - extract SCCS version information from a file
SYNOPSIS
what [ -s ] filename . . .
DESCRIPTION
what searches each filename for occurrences of the pattern @(#) that the
SCCS get
command (see sccs-get(1)) substitutes for the %Z% ID keyword, and prints
what follows
up to a ", >, NEWLINE, \, or null character.
</quote>
======================================================
--
============================
Alex Vinokur
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
http://go.to/alexv_math
============================
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: renaming files by removing a single character from original filename
Date: Mon, 09 Apr 2001 11:29:25 GMT
Glitch <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, "Peter T. Breuer"
> <[EMAIL PROTECTED]> wrote:
>>> I got a bunch of files that need to be renamed. The original filenames
>>> have characters in them above the usual 255 character ASCII. I thought
>> You mean above the usual 127 character ascii (approx).
>> I'd just do something like;
>>
>> for i in ./* ; do
>> mv -i $i `echo $i | tr --complement -d '[:print:]'`
>> done
> thanks, worked like a charm. I had to edit the command itself a little
> bit to use ` instead of ' (from echo to the end)
Glad to hear it, but the command as listed above DOES have ` (back
tick) from before the echo to the end! Your fonts must be strange.
> after that it worked fine and renamed the files as I wanted, thanks again
BTW, I'd have replaced the characters with _ (underscore) instead of
deleting them! I'd have checked that no overwriting of one image over
another could occur before even attempting the mv. But you can finesse it
to infinity.
Peter
------------------------------
From: "JNJ" <[EMAIL PROTECTED]>
Subject: Re: Ran RHN app and system is gone screwy....
Date: Mon, 9 Apr 2001 07:40:52 -0400
> The rule is "NEVER use the RHN / up2date to update the kernel"...
> Basically, up2date just isn't that smart. A quick fix would be to
> repair the references in lilo and /boot to make sure that they point
> to the newly installed kernel-2.2.17 which means fixing the symlinks,
> and editing lilo.conf. After a reboot into the 2.2.17 kernel, your
> system will load the new 2.2.17 libraries and go back to being a happy
> camper.
I'm a tad new to this -- any FAQs out there to give some guidance on this?
A thought -- would it be easier to just do a kernel upgrade altogether? (Is
2.2.17 the latest RH kernel? I know 2.4.3 is out....)
James
------------------------------
From: Gareth Jones <[EMAIL PROTECTED]>
Subject: Re: You Linux people are unbelievably stupid.
Reply-To: [EMAIL PROTECTED]
Date: Mon, 09 Apr 2001 11:45:07 GMT
Arctic Storm <[EMAIL PROTECTED]> wrote:
>Not *all* Linux users. Only those who write the "How-To" on Samba.
>I've been trying to setup Linux printer server for weeks without success,
>because all the Samba How-To is *wrong*. To be more specific, all the of
>the How-To is not complete.
How Tos are not professional pieces of documentation written by pro
writers paid for their time. They are written by volunteers, in their
own time, just because they think it might help someone. Frequently
they are not complete, and often they are not as well written as pro
material. What do you want for free??? If you want pro documentation
on Samba, there are a number of books you can buy, or you can pay
someone to make some comprehensive documentation.
>It is truely shocking that *no one* has included this important information
>in any of the Samba How-To. Shame on you!
Shame on you. Rather than slagging off the author in this newsgroup,
why did you not just email him with the information you discovered, so
that he could include it in the next version of the How To?
Gareth
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Slackware games windows bigger than desktop
Date: Mon, 9 Apr 2001 13:32:57 +0200
Bill Lucas <[EMAIL PROTECTED]> wrote:
> On Sun, 08 Apr 2001 21:19:28 GMT, "Peter T. Breuer"
> 1024x768 was plenty large enough, I just cant seem to find the happy
> medium where the icons and text are readable and the programs doesn't
> fall off the window. I guess it's time to upgrade the 14"
Programs' initial window sizes will be set up for a 1024x768 screen. If
your screen makes default fonts seem small at that size, then change the
default fonts for the application/wm in question - but a more usual
solution with a small physical screen is to have a virtual desktop
larger than the physical screen size, so that you can "pan" around it
with the mouse. (note: most people hate this configuration when it
happens to them other than by design!). To get this setup, include both
800x600 and 1024x768 among the set of working resolutions you use, and
select 800x600 as the default.
> thanx for pointing me in the right direction
Peter
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************