Re: Looking for a special type of editor

2002-10-10 Thread Kent West

Frank Gevaerts wrote:
 On Wed, Oct 09, 2002 at 02:23:32PM -0500, Kent West wrote:
 

A sysadmin friend of mine asks the following:

Well I need an editor that will add a time stamp at the beginning of each 
line.
 
 I guess both vi and emacs are capable of doing this with some macro. 


My friend writes:
 Just thought I'd let you know the vi macro works great!
 
 Thanks again for your help!
 -m.


Another customer satisfied via the Debian User list!

Thanks!

Kent


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




Looking for a special type of editor

2002-10-09 Thread Kent West



A sysadmin friend of mine asks the following:

Anyone ever heard of an application that does the following...

You know how some text editors will number the lines?
Well I need an editor that will add a time stamp at the beginning of each 
line.

I can certainly see why a normal editor might have problems with this, but 
do ya'll know of any application (for *nix) that does anything similar? 
Kinda like a .history file. 

I am beta testing an application, and I need an easy way of recording (and 
timestamping) everything I do.  Any ideas?

--

Thanks,

Kent



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




Re: Looking for a special type of editor

2002-10-09 Thread Frank Gevaerts

On Wed, Oct 09, 2002 at 02:23:32PM -0500, Kent West wrote:
 
 
 A sysadmin friend of mine asks the following:
 
 Anyone ever heard of an application that does the following...
 
 You know how some text editors will number the lines?
 Well I need an editor that will add a time stamp at the beginning of each 
 line.
 
 I can certainly see why a normal editor might have problems with this, but 
 do ya'll know of any application (for *nix) that does anything similar? 
 Kinda like a .history file. 
 
 I am beta testing an application, and I need an easy way of recording (and 
 timestamping) everything I do.  Any ideas?

I guess both vi and emacs are capable of doing this with some macro. 
(sorry, but I can't help more than that. vi and emacs macros are a
little beyond my reach, although I knpw they are very powerful)

Depending on your exact needs you might also be able to use cvs or rcs.

Frank

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


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




Re: Looking for a special type of editor

2002-10-09 Thread Sean 'Shaleh' Perry

On Wednesday 09 October 2002 12:23, Kent West wrote:

 I am beta testing an application, and I need an easy way of recording (and
 timestamping) everything I do.  Any ideas?

store the config/source code/etc in cvs.  Lets you roll back a version, give a 
special name to a version, etc.


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




Re: Looking for a special type of editor

2002-10-09 Thread Shyamal Prasad

Kent == Kent West [EMAIL PROTECTED] writes:

Kent A sysadmin friend of mine asks the following:

Kent Anyone ever heard of an application that does the
Kent following...

Kent You know how some text editors will number the lines?  Well
Kent I need an editor that will add a time stamp at the beginning
Kent of each line.

On every line? And you update this each time you save? I don't really
understand what you want.

Kent I can certainly see why a normal editor might have problems
Kent with this, but do ya'll know of any application (for *nix)
Kent that does anything similar? Kinda like a .history file. I am
Kent beta testing an application, and I need an easy way of
Kent recording (and timestamping) everything I do.  Any ideas?

It's relatively easy to develop a emacs minor mode to do this. But I'm
not sure what you want. If you just want a history log just add the
word $Log$ some where in the file where you want the log and use RCS.

Cheers!
Shyamal


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