[Fwd: Re: basic c thing]

1999-09-27 Thread Robin Burgener
Or you could try "man rename.2".  rename is a stdio function.  You
should also look at opendir, readdir and closedir.  

 Original Message 
Subject: Re: basic c thing
Resent-Date: 26 Sep 1999 10:22:49 -
Resent-From: debian-devel@lists.debian.org
Resent-CC: recipient list not shown: ;
Date: Sun, 26 Sep 1999 11:21:06 +0200 (CEST)
From: Thomas Schoepf <[EMAIL PROTECTED]>
To: Phillip Neumann <[EMAIL PROTECTED]>
CC: debian-devel@lists.debian.org

On Fri, 24 Sep 1999, Phillip Neumann wrote:

> Im just beginning to mess my hands into c, so i need some tips...
> i want to make a program that will rename all dirs in the current dir 
> position to "-renamed". rename files instead of dirs would help me 
> a lot too...

Is this everything you want? Then why torture your brain with c? This is
what I would try:

#!/bin/sh
for i in *; do
if [ -d $i ]; then
mv $i $i.renamed
fi
done


-- Thomas
PGP public key available (KeyID 2EA7BBBD) | Echelon is watching you.
http://www.in.tum.de/~schoepf/pgpkey.txt  |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]



[Fwd: corel linux demo]

1999-09-30 Thread Robin Burgener
Why wait for a third party to make disks, Corel will be making disks for
the next beta and the final version.  For more information, see
http://linux.corel.com

 Original Message 
Subject: corel linux demo
Resent-Date: 30 Sep 1999 12:28:33 -
Resent-From: debian-devel@lists.debian.org
Resent-CC: recipient list not shown: ;
Date: Thu, 30 Sep 1999 05:29:29 -0700 (PDT)
From: Kenneth Scharf <[EMAIL PROTECTED]>
To: debian-devel@lists.debian.org

They said that the beta of their linux distro will be
available for public download by the end of October. 
I  hope some shovelware cd makers will burn their beta
onto cdr and sell it for those of us without T1 lines.
 If they put it up as an ISO image I will try to grab
the file from the office on an overnight download.



Re: Terminal I/O without NCURSES

2000-03-23 Thread Robin Burgener

man console_codes

The console is a VT102


[EMAIL PROTECTED] wrote:
> 
> Where Can I look for any document/tutorial about the Linux's
> keyboard/video/xterm
> low-level programming ?
> 
> This is because I would like to make a my own library for managing the
> Linux's
> terminals, without using the famous ncurses libraries.
> I tried to watch ncurses's sources, but they are too complex for me!
> 
> Thanks for all information.
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
  Robin Burgener / Linux Kernel Group / Corel Corporation
  mailto: [EMAIL PROTECTED]

  20Q, the neural-net on the Internet - http://www.20q.net