Linux-Misc Digest #644, Volume #26               Wed, 27 Dec 00 06:13:02 EST

Contents:
  Re: Installing KDE problem with libXm.so.1... (elaine chan)
  Re: Only with Linux... (Floyd Davidson)
  Re: Alias?? (Charles Young)
  Re: Only with Linux... (kristian ragndahl)
  Re: What can I delete in /tmp? (Andrew N. McGuire)
  Re: Only with Linux... (Floyd Davidson)
  Re: RH & Keyboard (Andrew N. McGuire)
  x-windows question ([EMAIL PROTECTED])
  Re: Only with Linux... (Marc Mims)
  Re: x-windows question ("D. Stimits")
  .exe ([EMAIL PROTECTED])
  how you you play mov, avi files ? ([EMAIL PROTECTED])
  Re: Alias?? (Dave Brown)
  Re: automated file transfer between UNIX and NT (Ernst Sexauer)
  Re: Unable to ping ("Tauno Voipio")
  forget root password! What to do? (Fung Wai Keung)
  Re: ...wrong major or minor number (M. Buchenrieder)
  Re: forget root password! What to do? (Bit Twister)

----------------------------------------------------------------------------

Subject: Re: Installing KDE problem with libXm.so.1...
From: [EMAIL PROTECTED] (elaine chan)
Date: Wed, 27 Dec 2000 05:19:13 GMT

  libXm.so.1.0.2 is  in the Lesstif package.  I needed it for
Xemacs(Slackware 7.1) so I copied libXm.so.1.0.2 into /usr/lib/LibXm.so.1

In article <[EMAIL PROTECTED]>,
Guy Parry  <[EMAIL PROTECTED]> wrote:
>     I'd like to install KDE - which I *thought* I already had!  But
>apparently I need file libXm.so.1.  Anyone know which package I need
>to install to have it?
>      tia...


-- 

------------------------------

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: 26 Dec 2000 19:43:31 -0900

[EMAIL PROTECTED] (Steve Lamb) wrote:
>On Wed, 27 Dec 2000 02:12:46 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>You know, this is very strange, but doing just filename* works. Somebody
>>explain it to me please.
>
>    What shell are you using?  All the shells that I am aware of would do
>globbing and pass the resulting list to the program in question.
>
>    Odd, just found out bash doesn't do the globbing.  How bad of it.

Bash does do globbing.

However, if there is no match for filename*, that will be passed
exactly as is to find, which will work as expected.

Likewise if there is just one file which matches, and that is
passed to find, find will appear to function perfectly, but in
fact will search only for that one filename.

And if filename* matches two or more files, each will be passed
to find and all but the first will be considered an error by
find, which will produce a message to that effect.

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

------------------------------

From: Charles Young <[EMAIL PROTECTED]>
Subject: Re: Alias??
Date: Mon, 25 Dec 2000 11:27:50 -0600

Thank you for your help.  I was able to put the aliased in the
.bashrc file and it worked!

[EMAIL PROTECTED] wrote:

> David <[EMAIL PROTECTED]> wrote:
> > Charles Young wrote:
> >>
> >> I am able to make aliases as directed, but after
> >> logging out they have disappeared.  Is there some
> >> way to save them from session to session?
>
> > As root run:  "newaliases"
>
> I think the poster was referring to shell aliases, not mail aliases...
>
> In order to have aliases recognized b/w sessions, they need to be placed inside
> the appropriate startup file for the shell (ie. .bashrc for bash, .cshrc for csh).
>
> Adam


------------------------------

From: kristian ragndahl <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: 27 Dec 2000 05:44:36 GMT

>>>>> "M" == MH <[EMAIL PROTECTED]> writes:

    M> John Hasler wrote:

    >> It's 'Ctrl-x Ctrl-c'.  That means press the control key, press
    >> the 'x' key, release it, press the 'c' key, release it, and
    >> then release the control key.

    M> Oops.  First time EVER I've seen a double combination key to
    M> execute a command.

    Didn't you say you were using vi?

    If you follow John's instructions you''ll find that it's a quite
    ergonomical key sequence. (use the left little finger for Ctrl and
    left index finger for x & c). I don't believe emacs is easier than
    vi/vim to learn though.

-- 
kristian ragndahl, http://www.ragndahl.cx/

------------------------------

Subject: Re: What can I delete in /tmp?
From: [EMAIL PROTECTED] (Andrew N. McGuire)
Date: 26 Dec 2000 23:36:31 -0600

>>>>> "HB" == Hal Burgiss <[EMAIL PROTECTED]> writes:

HB> On 15 Dec 2000 11:00:46 -0500, Paul Kimoto <[EMAIL PROTECTED]> wrote:
>> In article <[EMAIL PROTECTED]>, Peter T. Breuer wrote:
>>> Do nothing, and file a bug report with your distro. It should be
>>> removing the contents of /tmp every day at 6am via a cronjob.
>>> 
>>> tmp means tmp

That would be wreckless.

>> Why do you want to remove my /tmp/.X0-lock, /tmp/.X11-unix, and
>> /tmp/ssh-*?

HB> My thoughts exactly. Depending on what one has running at the time, you
HB> might wind up with some really unpredicatable behavior if you clear
HB> everything out. The best solution is to run 'tmpwatch' occasionally
HB> since it was designed specifically for this.

FHS 2.1 :

3.11 /tmp : Temporary files

The /tmp directory shall be made available for programs that require temporary 
files.

Although data stored in /tmp may be deleted in a site-specific manner, it is 
recommended that files and directories located in /tmp be deleted whenever the
system is booted.  Programs shall not assume that any files or directories in 
/tmp are preserved between invocations of the program.

anm

-- 
perl -wMstrict -e '
$a=[[qw[J u s t]],[qw[A n o t h e r]],[qw[P e r l]],[qw[H a c k e r]]];$.++
;$@=$#$a;$$=[reverse sort map$#$_=>@$a]->[$|];for$](--$...$$){for$}($|..$@)
{$$[$]][$}]=$a->[$}][$]]}}$,=$";$\=$/;print map defined()?$_:$,,@$_ for @$;
'

------------------------------

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: 26 Dec 2000 20:31:12 -0900

MH <[EMAIL PROTECTED]> wrote:
>John Hasler wrote:
>> MH writes:
>> > ...it is *discouraging* to find the first "help" menu listing the "exit
>> > Emacs" key-combo *incorrectly* as "Ctr-x or Ctr-c", neither of which
>> > work.
>> 
>> It's 'Ctrl-x Ctrl-c'.  That means press the control key, press the 'x'
>> key, release it, press the 'c' key, release it, and then release the
>> control key.
>> 
>> > "Ctr-z", which is NOT listed does,...
>> 
>> No it doesn't.  That just suspends it.  Typing 'fg' will bring it back.
>
>Oops.  First time EVER I've seen a double combination key to execute a 
>command.  I expect Emacs will not become an editor I'm fond of.  :-(

Don't judge too quickly.  There is a great deal of benefit to having
some commands be multiple keys.  The most obvious is that it provides
the user with many more commands that can be executed without having
to go to _huge_ numbers of keystrokes (typing out command names, for
example).  But think about another thing too...  if the exit command
were a single key it would be very easy to accidentally exit.  Since
it is a command that is used infrequently, and one you never want to
type accidentally, what is the problem with letting it be two key
strokes and reserving all the single key commands for things that are
done frequently?

It also happens that by far and away the best email and news reading
programs around, are the "gnus" package that runs under Emacs.

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

------------------------------

Subject: Re: RH & Keyboard
From: [EMAIL PROTECTED] (Andrew N. McGuire)
Date: 27 Dec 2000 00:18:53 -0600

>>>>> "DS" == Davide Santo <[EMAIL PROTECTED]> writes:

DS> This is a multi-part message in MIME format.
DS> --------------9AAE2942654AADCB05DCE06A
DS> Content-Type: text/plain; charset=us-ascii
DS> Content-Transfer-Encoding: 7bit

bad, bad, bad

DS>     I am a ultra beginner in Linux and I have a basic question I am sure
DS> most of you wise men out there could answer.
DS> I have RH 6.2 on a PC having an Italian Keyboard but when I write C code
DS> I like to use the US keyboard map (I remember by heart where the keys
DS> are). So I learnt how to chenge keyboard mapping using linuxconf but it
DS> worked on a normal Terminal not under the Xterminal or under any editor
DS> that I can call under XWindow.
DS> Can anyone please teach me the trick ?

man xmodmap

DS> --------------9AAE2942654AADCB05DCE06A
DS> Content-Type: text/x-vcard; charset=us-ascii;
DS>  name="r54134.vcf"
DS> Content-Transfer-Encoding: 7bit
DS> Content-Description: Card for Davide Santo
DS> Content-Disposition: attachment;
DS>  filename="r54134.vcf"

worse, worse, worse

DS> begin:vcard 
DS> n:SANTO;Davide
DS> tel;fax:+49.(0)89.92103-888
DS> tel;work:+49.(0)89.92103-116
DS> x-mozilla-html:FALSE
DS> url:www.motorola.com
DS> org:MOTOROLA SPS TSG DIS;Driver Information System Europe 
DS> adr:;;Schatzbogen 7;Munich;;D-81829;Germany
DS> version:2.1
DS> email;internet:[EMAIL PROTECTED]
DS> title:System Engineer
DS> fn:Davide SANTO
DS> end:vcard

DS> --------------9AAE2942654AADCB05DCE06A--

a damned shame, such a well put question mucked by multi-part MIRE.

you will probably get a better answer when you cease posting mutlt-part
mime and that vcard hooey.  usenet is a plain text medium.

anm

-- 
perl -wMstrict -e '
$a=[[qw[J u s t]],[qw[A n o t h e r]],[qw[P e r l]],[qw[H a c k e r]]];$.++
;$@=$#$a;$$=[reverse sort map$#$_=>@$a]->[$|];for$](--$...$$){for$}($|..$@)
{$$[$]][$}]=$a->[$}][$]]}}$,=$";$\=$/;print map defined()?$_:$,,@$_ for @$;
'

------------------------------

From: [EMAIL PROTECTED]
Subject: x-windows question
Date: Wed, 27 Dec 2000 06:47:32 GMT

 I installed peanut linux on an 486 compaq, did the config for x-
windows and even got confirmation that the x server works while in the
setup2 program in peanut's installation.  Now when I boot into linux
and type startx I get a "No valid modes found" error.  Can someone
point me to a resource or elaborate on some troubleshooting tips for
this?  The monitor is an IBM 3237 and the video card is an TENG ET4000.
I have the resolution set at 640x480 in VGA mode because I'm not sure
if this supports 800x600.

Roper

--
Banner ad blocking with one file:
http://www.21stcentury.net/~flan/hosts.html


Sent via Deja.com
http://www.deja.com/

------------------------------

From: [EMAIL PROTECTED] (Marc Mims)
Subject: Re: Only with Linux...
Date: Wed, 27 Dec 2000 07:22:31 GMT

In article <[EMAIL PROTECTED]>, kristian ragndahl wrote:
>    If you follow John's instructions you''ll find that it's a quite
>    ergonomical key sequence. (use the left little finger for Ctrl and
>    left index finger for x & c). I don't believe emacs is easier than
>    vi/vim to learn though.

Not on my dvorak keyboard -- it would be the equivalent of Ctrl-b Ctrl-i
on a QWERTY keyboard.  Very cumbersome.  Good thing emacs keys bindings
are programmable. :-)

        -Marc

-- 

------------------------------

Date: Wed, 27 Dec 2000 00:55:31 -0700
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: x-windows question

[EMAIL PROTECTED] wrote:
> 
>  I installed peanut linux on an 486 compaq, did the config for x-
> windows and even got confirmation that the x server works while in the
> setup2 program in peanut's installation.  Now when I boot into linux
> and type startx I get a "No valid modes found" error.  Can someone
> point me to a resource or elaborate on some troubleshooting tips for
> this?  The monitor is an IBM 3237 and the video card is an TENG ET4000.
> I have the resolution set at 640x480 in VGA mode because I'm not sure
> if this supports 800x600.
> 
> Roper
> 
> --
> Banner ad blocking with one file:
> http://www.21stcentury.net/~flan/hosts.html
> 
> Sent via Deja.com
> http://www.deja.com/

Wow, I had an ET4000 Tseng card a VERY long time ago. Pentiums didn't
even exist yet. It worked quite nicely though on a 486. I don't recall
much about the card. I *think* it supported 800x600.

I also don't know anything about Peanut linux file setup. But the mode
lines you are looking for are a setting in XF86Config, probably
/etc/X11/XF86Config, maybe /etc/XF86Config.

Within this config file, you'll find a listing of HorizSync (horizontal
allowed monitor refresh rate, kilohertz), VertRefresh (vertical allowed
monitor refresh rate, hertz), sometimes Clocks (dot clock; many now
don't need to be specified, the ET4000 might require it, try commenting
it out first), and modelines. The bandwidth that the monitor must
survive is basically the result of color depth (more color increases
bandwidth required), dot clock, horizontal, and vertical refresh, at a
given resolution (more resolution implies requires more bandwidth). Get
the bandwidth going too high on these older monitors and they will
attempt to function that high, resulting in death to the monitor. So if
X11 is predicting that your listed modelines, in combination with max
monitor refresh rates, is too high, it will say no valid modelines and
refuse to work. I can't offer you any advice on the refresh or dot
clocks, other than to say that you need to be sure your refresh rates
are properly set on the monitor; if not set, it will disallow what might
otherwise be a valid modeline. Once you have those set, if you still
can't get it to run, see this URL for modeline calculations:
http://www.hut.fi/Misc/Electronics/faq/vga2rgb/calc.html

The other thing is that if you specify a combination of too much color
and/or resolution, you will exceed the video card's memory capacity, and
this will also cause it to fail. At first, do not use any virtual
desktop sizes, just get it to work one mode at a time, starting low,
like 320x200, 8 bit color. Work your way up.

------------------------------

From: [EMAIL PROTECTED]
Subject: .exe
Date: Wed, 27 Dec 2000 08:02:51 GMT

hi all. i'm trying to find how to open a .exe file in RH 6.2. I'm sure
it's easy, but i cannot do it. i downloaded 'filename.exe' and when i
double-click, i'm prompted to "select an application to open" it with?
suggestions appreciated.


Sent via Deja.com
http://www.deja.com/

------------------------------

From: [EMAIL PROTECTED]
Subject: how you you play mov, avi files ?
Date: Wed, 27 Dec 2000 08:18:17 GMT

how you you play mov, avi files  in linux, I downloaded thousands of
softwares from internet , none of them works on my RH 5.2.


Sent via Deja.com
http://www.deja.com/

------------------------------

From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: Alias??
Reply-To: [EMAIL PROTECTED]
Date: 27 Dec 2000 00:06:25 -0600

In article <[EMAIL PROTECTED]>, Dave Brown wrote:
>In article <[EMAIL PROTECTED]>, David wrote:
>>[EMAIL PROTECTED] wrote:
>>> 
>>> 
>>> I think the poster was referring to shell aliases, not mail aliases...
>>> 
>>> In order to have aliases recognized b/w sessions, they need to be placed inside
>>> the appropriate startup file for the shell (ie. .bashrc for bash, .cshrc for csh).
>>> 
>>> Adam
>>
>>Ok then you would add the alias to the ".profile' file in user home.
>>
>>-- 
>>Confucius say: He who play in root, eventually kill tree.
>>Registered with the Linux Counter.  http://counter.li.org
>>ID # 123538
>>Completed more W/U's than 98.944% of seti users. +/- 0.01%

Sorry for the misfire.  

.profile is not the place to put aliases (unless you want them only 
to exist in your login shell.  And assuming you're using bash, .profile 
is not the correct place for anything.  bash preferes .bash_profile, which 
is usually created by most Linux installers, and if .bash_profile exists, 
.profile is ignored.  Aliases should be placed in .bashrc, so that they 
will be present in every shell, (eg., each terminal window).  

-- 
Dave Brown  Austin, TX

------------------------------

From: Ernst Sexauer <[EMAIL PROTECTED]>
Subject: Re: automated file transfer between UNIX and NT
Date: Wed, 27 Dec 2000 10:47:38 +0100



[EMAIL PROTECTED] schrieb:

> I am looking for a solution to transfer files automatically between a
> UNIX box and a NT box. These two boxes are connected through a LAN.

You can do this easily under control of the Unixmachine with smbmount and
cp for both directions. Under NT with the at-cron you will have the
problem, that it runs in system-context; you may then not have the rights
to all files.

Best regards

E.R. Sexauer


------------------------------

From: "Tauno Voipio" <[EMAIL PROTECTED]>
Subject: Re: Unable to ping
Date: Wed, 27 Dec 2000 09:44:21 GMT


"Chakravarthy K Sannedhi" <[EMAIL PROTECTED]> wrote in message
news:925npc$86v$[EMAIL PROTECTED]...
> Here is the information needed:
>
> ifconfig(before pinging):
> eth0    Link encap:Ethernet HWaddr 00:10:4B:D5:2B:A1
>            inet addr:138.26.80.80 Bcast:138.26.255.255 Mask:255.255.0.0
>            UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric:1
>            RX packets: 0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:279 errors:0 dropped:0 overruns:0 carrieer:279
>            collisions:0 txqueuelen:100
>            Interrupt:5 Base address:0xdc00
>
> eth1    Link encap:Ethernet HWaddr 00:10:4B:99:36:B2
>            inet addr:10.10.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
>            UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric:1
>            RX packets: 0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:72 errors:0 dropped:0 overruns:0 carrieer:72
>            collisions:0 txqueuelen:100
>            Interrupt:10 Base address:0xdc00
>

At least, there is a base address conflict between eth0 and eth1: they are
both at 0xdc00.

Pinging any of the own IP addresses does not tell anything of the net
hardware functioning: the IP stack is smart enough to pipe all packets
through lo.

Tauno Voipio
tauno voipio @ iki fi




------------------------------

From: Fung Wai Keung <[EMAIL PROTECTED]>
Subject: forget root password! What to do?
Date: 27 Dec 2000 10:08:47 GMT

Hi all,

I have forgotten my root password.  How to recover or re-assign the root
password?

Thanks in advance.

-- 

Regards,
Wai Keung, Fung

Department of Automation and Computer Aided Engineering,
The Chinese University of Hong Kong,
Shatin, N.T.,
Hong Kong

Tel: (852)26098056      Fax: (852)26036002
Email: [EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: ...wrong major or minor number
Date: Wed, 27 Dec 2000 08:39:36 GMT

"Steffen Schulz (pepe)" <[EMAIL PROTECTED]> writes:

>Hi,

>I can not remenber I have done anything concerning /dev/hda (except
>enabling dma by default in kernel). But since a few days I get error
>$subject when I try to mount my windows partitions.
>"/" and "/boot" arre not making any trouble...

[...]

200 quatloos that you recompiled your kernel and didn't load
the vfat module prior to invoking the "mount" command.

Michael
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

------------------------------

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: forget root password! What to do?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 27 Dec 2000 10:39:29 GMT


hit the Tab key at the lilo prompt and enter
linux single

At the prompt enter
passwd root


On 27 Dec 2000 10:08:47 GMT, Fung Wai Keung
> <[EMAIL PROTECTED]> wrote:
>Hi all,
>
>I have forgotten my root password.  How to recover or re-assign the root
>password?
>

-- 
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it. 
Do a,  man command_here or cat command_here, before using it.

------------------------------


** 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
******************************

Reply via email to