Linux-Misc Digest #95, Volume #25                Mon, 10 Jul 00 09:13:01 EDT

Contents:
  Re: small script (Koos Pol)
  Re: I/O flushing on small files (Floyd Davidson)
  Re: why can i telnet as root on one but not on another? (jellybeesh)
  Re: I/O flushing on small files ("Philippe ALLOUCHE")
  Re: Netscape crashed on SMP system (solved) (Bettina Grohnert)
  make and the 'no' command error (J Bland)
  Re: CHILD_MAX: can't limit the number of processes per real UID (Olivier ROBERT)
  Re: Launching Mozilla M16 from desktop (Dirk Reckmann)
  wuftp patch (Eric Headley)
  Re: Application required - Word Processor ("Barns")
  Emacs.. line truncation (Alex Fitterling)
  Re: fonts problem in Netscape (Mike Frisch)
  Re: Application required - Word Processor (Dances With Crows)
  gtk and video (Ian Mortimer)
  mounting a floppy and viewing it's contents - newbie ("Barns")
  Help - Is there a 3D Text Rendering Program for Linux (e.g. Web Page Titles)? (Derek 
Mark Edding)
  Re: mounting a floppy and viewing it's contents - newbie (Audun Simonsen)
  Re: Help - Is there a 3D Text Rendering Program for Linux (e.g. Web Page  (Ian 
Mortimer)
  Re: How to set icons from Enlightenment theme? ("RetroGrouch")
  Tape Emulator ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (Koos Pol)
Subject: Re: small script
Date: 10 Jul 2000 10:08:59 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 10 Jul 2000 09:46:32 +0200, Houppertz Xavier
<[EMAIL PROTECTED]> wrote:
| Hello,
| 
| I would like to write a small script file which would do the following :
| count the number of files in a directory,
| keep the 10 most recent and delete the others.
| 
| Any idea how to do that ?
| 
| Thanks
| 
| Xavier


$SOMEDIR=/usr/local/test
mkdir keep
ls -Atr $SOMEDIR | tail -10 | while read f; do mv $SOMEDIR/$f keep; done
rm $SOMEDIR/*
mv keep/* $SOMEDIR
rmdir keep


Note 1: This code is tested here and works. YMMV
Note 2: Does not discriminate between files and directories
Note 3: You better make sure $SOMEDIR exists.

HTH.
Koos Pol
======================================================================
S.C. Pol - Systems Administrator - Compuware Europe B.V. - Amsterdam
T:+31 20 3116122   F:+31 20 3116200   E:[EMAIL PROTECTED]

Check my email address when you hit "Reply".

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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: I/O flushing on small files
Date: 10 Jul 2000 01:22:20 -0800

[EMAIL PROTECTED] wrote:
>I have a problem with programs not seeing data in files, and I
>wonder if anyone might have the best solution (I have a
>workaround, but it doesn't make much sense).

The immediate solution is to use setvbuf() to unbuffer the read
operations.  However, there are a number of other problems with
your code which are minor, but worth changing.

(One other solution you might consider, is to buffer the data,
close the file, and only open it up to re-read when stat() says
the file has actually changed.)

As to what is happening...  The stdio functions are buffering
file read/write data, and for a file that is only being read the
sole reason to actually access the disk is when a request is
made for data currently not in the disk buffer.  Your 40 byte
read is small enough to result in one disk read and then all of
the subsequent reads are satisfied by simply repositioning
within the same input buffer.  Hence new data in the actual disk
file is never seen.

You can determine the disk input buffer size, by putting this
line at the start of one of your test programs:

  printf("The input buffer size is %d bytes.\n", BUFSIZ);

It most likely will be 1024 bytes.

When you call fflush() (which is a bad idea because it results
in what the C Standard calls "undefined behavior" if the last
operation was a file read) it is forcing the next read to switch
modes back to read, and to refresh the buffer with a disk read.
(In theory it could also cause your hard disk to die too.)

Your other "fix", which sets your read size large enough to
cause the input buffer to be filled more than once (a 4k read
when the input buffer is 1k in size), causes (4 in this case)
new disk blocks to be read.  This is actually a satisfactory
solution in that you are guaranteed that it will be portable.
You could set your read buffer to BUFSIZ+1 and guarantee that
the program would function correctly.  But using setvbuf() to
simply unbuffer the input is a better idea.

Let me go though your code, and pedantically pick at it (and
others might want to pedantically pick at my comments, which you
will no doubt learn a great deal from).  Then I'll include one
possible way to rewrite your examples.

>Client Sourcecode...
>
>// cc -o client client.c
>#include <stdio.h>

You really do need some other header here.

#include <stdlib.h>
#include <unistd.h>
#include <string.h>

>main()

int main(void)

>{
>  FILE *fd;

This isn't wrong, but it is bad style.  "fd" is usually a
variable name used for "file descriptors".  "fp" is commonly
used for pointers to a struct FILE.  What you are using is the
later, so "fp" would be appropriate, and "fd" is just confusing.

>#define SZ 40
>  char str[SZ];
>  int counter = 0;
>
>  fd = fopen("FLUSH_TEST", "w+b");
>  if (fd == NULL) exit(2);

Everyone will argue style on this, but here is how I would write
that.  I see no point in opening the file read/write in this
example.  Same with the "b" for binary.  If you're real program
is to run on non-UNIX systems, use the "b".

   #define TESTFILE  "FLUSH_TEST"
   if (NULL == (fp = TESTFILE, "w"))) {
     fprintf(stderr, "Cannot open file %s\n", TESTFILE);
     exit(EXIT_FAILURE);
   }

>  bzero(str, SZ);

Use memset() instead of bzero.

>  while (1) {
>    sprintf(str, "Counter: %ld", counter++);
>
>    (void)fseek(fd, 0L, SEEK_SET);

You don't need to cast functions.

>    fwrite(str, sizeof(char), SZ, fd);

There is no point in ever using "sizeof(char)", because it is
defined by the C Standard to be 1, always.  Perhaps the best
way to write that (and to include some error checking) is:

     if (1 != (fwrite(str, sizeof str, 1, fp))) {
       fprintf(stderr, "Error reading file %s\n", TESTFILE)
       exit(EXIT_FAILURE);
     }

>    fflush(fd);
>    printf("Client: %s\n", str);
>    sleep(1);
>  }

Your main() function returns a type int, and must have
a return statement at the end.

  return EXIT_SUCCESS;

>}

It would appear that you are not using the compiler's facilities
to warn you about potential problems.  At a minimum you want to
use the "-Wall" option.  I use a simple Makefile to test code like
the above (email me if you would like a copy), and here is how
I _normally_ invoke the compiler:

gcc -g -ansi -pedantic -Wall -Wpointer-arith -Wcast-align +
    -Wcast-qual -Wtraditional -Wshadow -Wnested-externs   +
    -Wstrict-prototypes   -c foo.c

(wrapped with '+' at the end of each line to make it readable)

Anyway, here is how I would write your two programs.  Some of
the difference is clearly just a matter of style, and perhaps
yours is as good as mine or the next guys.

/* foo.c  --  the "server" code */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

#define SZ 40
#define TESTFILE  "FLUSH_TEST"

int
main(void)
{
  FILE *fp;
  char str[SZ];
  int  counter = 0;

  if (NULL == (fp = fopen(TESTFILE, "r"))) {
    fprintf(stderr, "Cannot open file %s reading.\n", TESTFILE);
    exit(EXIT_FAILURE);
  }

  memset(str, 0, sizeof str);
  setvbuf(fp, NULL, _IONBF, 0);

  while (++counter < 15) {
    rewind(fp);    /* used just for demonstration purposes */
    if (1 != (fread(str, sizeof str, 1, fp))) {
      fprintf(stderr, "read failure on file %s\n", TESTFILE);
      exit(EXIT_FAILURE);
    }
    printf("Server: %s\n", str);
    sleep(1);
  }

  return EXIT_SUCCESS;
}

/* foo1.c -- the "client" code */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

#define SZ 40
#define TESTFILE  "FLUSH_TEST"

int
main(void)
{
  char   str[SZ];
  int    counter = 0;
  FILE   *fp;

  if (NULL == (fp = fopen("FLUSH_TEST", "w"))) {
    fprintf(stderr, "Cannot open file for writing.\n");
    exit(EXIT_FAILURE);
  }

  memset(str, 0, sizeof str);

  while (++counter < 15) {
    sprintf(str, "Counter: %d", counter);
    fseek(fp, 0L, SEEK_SET);
    if (1 != (fwrite(str, sizeof str, 1, fp))) {
      fprintf(stderr, "write failure on file %s\n", TESTFILE);
      exit(EXIT_FAILURE);
    }
    fflush(fp);
    printf("Client: %s\n", str);
    sleep(1);
  }

  return EXIT_SUCCESS;
}

-- 
Floyd L. Davidson                          [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)

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

From: jellybeesh <[EMAIL PROTECTED]>
Subject: Re: why can i telnet as root on one but not on another?
Date: Mon, 10 Jul 2000 10:30:04 GMT


kmself wrote:
> 
> 
> On or about Sun, 09 Jul 2000 19:30:04 GMT, jellybeesh 
<[EMAIL PROTECTED]> scrivened:
> > i have 2 linux machine 
> > both have the same /etc/securetty entries
> > (ie. tty1 - tty8)
> 
> > but i am able to telnet as root on one but not the other.
> 
> > what modifications should i make on the one that does not allow 
> > "root telnet" 
> 
> Telnet as root ***SHOULD*** be DISabled.  It's a massive security hole.
> For that matter, so is telnet.
> 
> You should use ssh or another secure protocol for general remote
> connectivity requirements.  If you need to use telnet at all, restrict
> it to specific hosts with /etc/hosts.allow.
> 
> You can switch from one user to another with the su command.  Doing so
> in a telnet session still exposes your root password to cleartext
> network transmission and possible sniffing.

thanks for the reply.
Yes I understand the security threats and linux by default won't allow
telnet as root so it does not require Disabling.

but for added knowledge, how do i enable this? 
i am only telnet'ing' within my own intranet.

i still need to telnet in as user and su to root even 
with /etc/hosts.allow explicitly allowing my intranet hosts.

pls assist,
beesh


--
Posted via CNET Help.com
http://www.help.com/

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

From: "Philippe ALLOUCHE" <[EMAIL PROTECTED]>
Subject: Re: I/O flushing on small files
Date: Mon, 10 Jul 2000 12:35:18 +0200

Try open instead fopen

<[EMAIL PROTECTED]> a �crit dans le message : 8kb2e5$ihh$[EMAIL PROTECTED]
> I have a problem with programs not seeing data in files, and I wonder if
> anyone might have the best solution (I have a workaround, but it doesn't
> make much sense).
>
> Take, for example the following scenario (sourcecode included)...
>
> A program is constantly writing to the same position in a file (of
> length 40 bytes).
> A server is constantly reading from the same position in the same file.
>
> Even though the client is flushing after every write, the server does
> not see the updated data.
> However, if the server itself flushes after the read, it does.
>
> It doesn't make sense. Any ideas?
>
> Notes: if the buffersize is changed to be over 4K, then the problem
> disappears (which seems to make some kind of sense as it looks like a
> buffering problem).
>
> Compiler:
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>
> Linux Redhat 6.2.
>
> Client Sourcecode...
>
> // cc -o client client.c
> #include <stdio.h>
> main()
> {
>   FILE *fd;
> #define SZ 40
>   char str[SZ];
>   int counter = 0;
>
>   fd = fopen("FLUSH_TEST", "w+b");
>   if (fd == NULL) exit(2);
>
>   bzero(str, SZ);
>   while (1) {
>     sprintf(str, "Counter: %ld", counter++);
>
>     (void)fseek(fd, 0L, SEEK_SET);
>     fwrite(str, sizeof(char), SZ, fd);
>     fflush(fd);
>     printf("Client: %s\n", str);
>     sleep(1);
>   }
> }
>
> Server sourcecode:
>
> // cc -o server server.c
> #include <stdio.h>
> main()
> {
>   FILE *fd;
> #define SZ 40
>   char str[SZ];
>
>   fd = fopen("FLUSH_TEST", "w+b");
>   if (fd == NULL) exit(2);
>
>   bzero(str, SZ);
>   while (1) {
>     (void)fseek(fd, 0L, SEEK_SET);
>     fread(str, sizeof(char), SZ, fd);
>     // Putting in this flush is my workaround. WHY??
>     //    fflush(fd);
>     printf("Server: %s\n", str);
>     sleep(1);
>   }
> }
>
> Many regards,
> Ian Collins.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



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

From: Bettina Grohnert <[EMAIL PROTECTED]>
Subject: Re: Netscape crashed on SMP system (solved)
Date: Fri, 7 Jul 2000 15:58:14 +0200
Reply-To: [EMAIL PROTECTED]

Yan Seiner wrote:
> I've been running netscape under SMP for a while.  I am using a tyan
> mobo with pii/333 CPUs.
> 
> It sounds like you may have some sort of misconfig somewhere, a bad
> install of netscape, or a hardware problem with the settings.  
> 
> boot with linux nosmp (this will only run on one CPU).  If the problem
> persists, it's not SMP that's causing the problem.
> 
> This machine is not overclocked, is it?
> 
> --Yan

Well, you were right Yan. I read the release note for 4.73 very carefully and
found out that my problem has to do with the .mailcap file. I had to comment
out the line:
application/x-javascript;; x-mozilla-flags=prompt

Now everything is alright. I had been on the wrong path, thinking that is had
to do with SMP. 

Thanx to Yan and Raymond,
Betti

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

From: [EMAIL PROTECTED] (J Bland)
Subject: make and the 'no' command error
Date: 10 Jul 2000 11:09:59 GMT

While trying to compile both gimp and xmms I have had the compilation stop
with the following error:

make[2]: Entering directory /home/shrike/src/xmms-1.2.1/po'
PATH=../src:$PATH : --default-domain=xmms --directory=.. \
  --add-comments --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
&& test ! -f xmms.po \
   || ( rm -f ./xmms.pot \
        && mv xmms.po ./xmms.pot )
file=./`echo ja | sed 's,.*/,,'.gmo \
  && rm -f $file && PATH=../src:$PATH no -o $file ja.po
/bin/sh: no: command not found

This is on SuSE 6.4 (upgraded from the ftp version).

Any idea what's doing this?

Frinky

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

From: Olivier ROBERT <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.setup
Subject: Re: CHILD_MAX: can't limit the number of processes per real UID
Date: Mon, 10 Jul 2000 13:30:30 +0200

Ross Crawford wrote:
> Did you make clean before recompiling?
> 

Yes, I've even made a make mrproper!

O.R.

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

From: [EMAIL PROTECTED] (Dirk Reckmann)
Subject: Re: Launching Mozilla M16 from desktop
Date: 10 Jul 2000 11:43:03 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 10 Jul 2000 04:34:10 -0400,
Michael Proto <[EMAIL PROTECTED]> wrote:

>> >I've created a launcher that points to the mozilla executable, but when I
>> >double-click, it doesn't launch the browser.
>> 
>> You must execute mozilla while cd'd in its directory ... don't know why.
>
>Couldn't you write a launcher script?
>
>pwd > PATH_NOW

This writes the curent working dir in an file called PATH_NOW...

>cd /usr/local/mozilla
>mozilla
>cd $PATH_NOW

... and this changes the working dir to the directory stored in
the environment variable PATH_NOW.

You should decide for one of them :-)

Either:
PATH_NOW=`pwd`
...
cd $PATH_NOW

or:
pwd > PATH_NOW
...
cd `cat PATH_NOW`

The first one is the better solution, I think.

Ciao,
  Dirk



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

From: Eric Headley <[EMAIL PROTECTED]>
Subject: wuftp patch
Date: Mon, 10 Jul 2000 11:52:46 GMT

I installed wuftp patch from
ftp://ftp.slackware.com/pub/slackware/slackware-7.1/patches/
on to my Slackware 4.0 system.  Now I can't log in via ftp.  I keep
getting the message:
421 Service not available, remote server has closed connection
I checked for a patch in the Slackware 4.0 directory but there wasn't
any.  What should I do now ?

Eric Headley


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "Barns" <[EMAIL PROTECTED]>
Subject: Re: Application required - Word Processor
Date: Mon, 10 Jul 2000 13:56:53 +0200

Hi, forgot to mention I don't have X windows loaded (and my hardware will
not allow it)

I have vi loaded. Does anyone know how to get vi to wrap a line once I get
to the end of the screen instead of causing the text to scroll from right to
left?

Thanks - Bernard

"Michael Proto" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Barns wrote:
> >
> > Hi guys,
> >
> > I dusted off my 386 20 mhz which had been minus a screen for 5 years.
> > I just want to use it for word processing. Is there a freeware word
> > processing package available. My machine has Linux 1.2.1 and MSDOS 6.22.
> > (Did I hear someone laugh - I am from Africa!!)
> >
> > (I don't have a CDRom either)
> >
> > Thanks - Bernard
>
> Try Abiword-- http://www.abisource.com
>
>
> --
> Michael Proto           |
> [EMAIL PROTECTED]     | "What, me worry?"
> www.mp3.com/protologic  |   -A.E.Newman



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

From: Alex Fitterling <[EMAIL PROTECTED]>
Subject: Emacs.. line truncation
Date: Mon, 10 Jul 2000 14:12:28 +0200

Hello sweeties.. (no, I'm not gay... anyhow who cares..) ;)

Is there any command in emacs, which could perform line/word wrapping and line
 truncation on a written text... Well ,I know there's usally text-mode... but
 what I would need is just a command which converts text in one buffer to
 truncate text.. to have if I would had performed those comand - truncated
 text.. (oh it gets literal) :) 

...any advice from you ?

Thx.... 

-- 


Alex Fitterling


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

From: [EMAIL PROTECTED] (Mike Frisch)
Subject: Re: fonts problem in Netscape
Date: Mon, 10 Jul 2000 12:06:01 GMT

On Mon, 10 Jul 2000 04:38:25 -0400, Michael Proto <[EMAIL PROTECTED]> wrote:
>Speaking of Netscpae font problems, here's a sample from my .Xdefaults
>file:
>
>Netscape*documentFonts.sizeIncrement:   08
>
>This tells Netscape to use incremental and decremental fonts that are 8%
>larger/smaller than the base font. By default, this value is set to 20%.
>Make it smaller to get smaller veriations in the font sizes.

I've got mine set at 04 and the fonts are still unmanagable.  Some fonts
are too large and some are too small.  I cannot find a happy medium.

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Application required - Word Processor
Date: 10 Jul 2000 08:09:53 EDT
Reply-To: [EMAIL PROTECTED]

On Mon, 10 Jul 2000 13:56:53 +0200, Barns 
<<3969ba8b$0$[EMAIL PROTECTED]>> shouted forth into the ether:
>Hi, forgot to mention I don't have X windows loaded (and my hardware will
>not allow it)
>I have vi loaded. Does anyone know how to get vi to wrap a line once I get
>to the end of the screen instead of causing the text to scroll from right to
>left?

Unclear what you mean there.  Try
:se textwidth=72
or
:se textwidth=0

and one of those should work.  You can put the proper command in your
~/.vimrc or ~/.exrc once you've figured out which one you actually
want.  Also try entering :help from command mode--the docs for vim are
pretty extensive.

-- 
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

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

From: Ian Mortimer <[EMAIL PROTECTED]>
Subject: gtk and video
Date: Mon, 10 Jul 2000 13:14:21 +0000

Hi all,

Does anybody know of any widgets that enable you to display video (from
/dev/video) in a gtk window ?

I have my stepper controller working (from gtk post above) but I would
now like to have the video ouput (from the camera mounted to the
stepper) in a little panel next to the controls so I can see what is
going on (rather than having xawtv running)

Is this possible ?

Rgds,

Ian.

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

From: "Barns" <[EMAIL PROTECTED]>
Subject: mounting a floppy and viewing it's contents - newbie
Date: Mon, 10 Jul 2000 14:13:57 +0200

Hi,

I am trying to see what's on my 3.5 inch disk.

what's wrong with mount /dev/fd0 /floppy
and then ls -al floppy

What am I doing wrong?

Bernard



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

From: [EMAIL PROTECTED] (Derek Mark Edding)
Subject: Help - Is there a 3D Text Rendering Program for Linux (e.g. Web Page Titles)?
Date: Mon, 10 Jul 2000 12:22:13 GMT


Hi Folks,

I'm looking for a ->simple<- application that allows rendering 3D text
for web page titles, if possible.  I'd like to create a series of images
with shading from different angles in order to build an animated GIF image
(as with gifmerge).

I've been staring at the documentation for the GIMP for quite a while and
still haven't worked out how to accomplish this, using which plug-ins,
et al.  I also downloaded blender hoping that it would provide a
more straightforward solution, and couldn't get past the main screen.
I thought Perl 5 was challenging, but this graphics stuff has a learning
curve!

There was a simple 3D text rendering program for the Macintosh that I used
a few years ago that would be ideal for this project, but that was then,
this is now.  

Thanks for any pointers!

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~ Derek Mark Edding ~~~~~~~~~~~~~~~ [EMAIL PROTECTED] ~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~ "An end to BS on Usenet in Our Lifetimes!" ~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

From: Audun Simonsen <[EMAIL PROTECTED]>
Subject: Re: mounting a floppy and viewing it's contents - newbie
Date: Mon, 10 Jul 2000 14:29:42 +0200

On Mon, 10 Jul 2000 14:13:57 +0200, "Barns"
<[EMAIL PROTECTED]> wrote:

>Hi,
>
>I am trying to see what's on my 3.5 inch disk.
>
>what's wrong with mount /dev/fd0 /floppy
>and then ls -al floppy
>

Do you get an error message?

You havent specified file system type.
Try with

mount -t vfat /dev/fd0 /floppy

if you try to mount a dos floppy.

Audun

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

From: Ian Mortimer <[EMAIL PROTECTED]>
Subject: Re: Help - Is there a 3D Text Rendering Program for Linux (e.g. Web Page 
Date: Mon, 10 Jul 2000 13:39:30 +0000

Derek Mark Edding wrote:
> 
> Hi Folks,
> 
> I'm looking for a ->simple<- application that allows rendering 3D text
> for web page titles, if possible.  I'd like to create a series of images
> with shading from different angles in order to build an animated GIF image
> (as with gifmerge).
> 
> I've been staring at the documentation for the GIMP for quite a while and
> still haven't worked out how to accomplish this, using which plug-ins,
> et al.  I also downloaded blender hoping that it would provide a
> more straightforward solution, and couldn't get past the main screen.

If you want to give blender another go, I have a simple 3D text tutorial
on my page.

http://www.boney.clara.net/linux/blender/blender.html

Rgds,

Ian.


> I thought Perl 5 was challenging, but this graphics stuff has a learning
> curve!
> 
> There was a simple 3D text rendering program for the Macintosh that I used
> a few years ago that would be ideal for this project, but that was then,
> this is now.
> 
> Thanks for any pointers!
> 
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~ Derek Mark Edding ~~~~~~~~~~~~~~~ [EMAIL PROTECTED] ~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~ "An end to BS on Usenet in Our Lifetimes!" ~~~~~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

From: "RetroGrouch" <[EMAIL PROTECTED]>
Subject: Re: How to set icons from Enlightenment theme?
Date: Mon, 10 Jul 2000 08:04:32 -0500

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(Marc D. Williams) wrote:
> On 31 May 2000 09:56:16 GMT, Andrew Purugganan <[EMAIL PROTECTED]>
> wrote:
>>Well I managed to put the eMac.etheme in the right spot so that it 
>>appears when I select 'Run enlightenment configuration tool'. It seems I
>> have almost everything but the icons that appear in the screenshot on 
>>Ethemes.org. I picked the 'quick' d/load hyperlink for 0.15. ARe the
>>icons a separate package in an Enlightenment theme file? Or do I  have
>>to grab them myself somehow?
> 
> There should be a README in the eMac.etheme file. I have all of my
> ethemes unpacked anyway but in your case, once the theme is running I
> assume it's temporarily unpacked in ~/.enlightenment/themes/emac/ or
> somewhere. While in E check out that README, if possible, for tips on
> using that theme.
> 
>>BTW, I have GNOME+E running, at least until I figure out how to get rid 
>>if GNOME :-)
> 
> Check your .xinitrc or .xsession file, comment out the line with
>   exec gnome-session
> and put in
>   enlightenment (or exec enlightenment)
> That might work.  

I just went through this last night.  On a RedHat 6.2 system.  It's a
bunch of nested scripts, but the gist of it is that if you do not have a
.xsession file in your home directory, RH will autmatically run Gnome. 
Simply create a file called .xsession, with the one line

enlightenment

in it, then exit vi (or whatever editor you use) and chmod +x .xsession.

See the X howto for a more detailed description of what to do in the
.xsession script.

Log out, log in, no more Gnome.  The Gnome apps and menus are still there,
just not the bloat....

Now, does anyone know where I can find icons for Enlightenemt?

I am looking for an MS windows icons (yes I run win98 under linux),
netscape, a few others that match the E themes....

--Yan

> 
>>jazz  annandy AT dc DOT seflin DOT org
> 
> Normally when people do the above it's because they've munged their
> From: address to reduce spam but they want other folks to get the
> correct address if they need to reply via mail. In your case your
> correct address _is_ in your From header anyway.  :-)
> 
> 


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

From: [EMAIL PROTECTED]
Subject: Tape Emulator
Date: Mon, 10 Jul 2000 12:45:56 GMT

Hi there,

I'm looking for a tape emulator in C, ie something that emulate a tape
device and respond correctly to ioctl calls with mtio parameter (to do
rewind, step block, etc ...).

Thanks for any help,

Christophe
[EMAIL PROTECTED]




Sent via Deja.com http://www.deja.com/
Before you buy.

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


** 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 (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

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