[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

346.0. "DELETE COLUMNS???" by ANT::WOLOCH () Thu Oct 30 1986 09:34

    
    I am looking for a way to edit columns in VMS.  For example,
    suppose I had a summary with six columns and I wanted to delete
    column four.  Is there any way to do it other than line by line
    by line...
    
    Thanks,
    
    Nancy   ;^)
T.RTitleUserPersonal
Name
DateLines
346.1TPU has it nowVAXWRK::NORDLINGERIn a GALAXY far, far awayThu Oct 30 1986 10:254
	You can use the rectangular select/cut commands in TPU. 

	John 

346.2Actually, EVEplus Has It NowFROST::HARRIMANknees are wierdThu Oct 30 1986 21:0011
    Actually the rectangular cut and paste is in EVEplus, which is an
    extension of the EVE editor (written in TPU). You may get the EVEplus
    software from the net, the rectangular cut and paste is in
    RECCUTPAS.TPU. You don't need all of EVEplus to use it, but you
    may want it, it's neat stuff. If I knew how to do the neat trick
    with the KP7 I'd set this up (someone else who noze is welcome)
    but the pointer to the conference where you can find it is
    DSSDEV::TPU_NOTES. They have a kit which you can "install" and build
    your "own" section file (or have your sysmgr install it shared).
    
    
346.3try sedtIOSG::HORSFIELDjakc - the well-known typoFri Oct 31 1986 03:5221
	SEDT will do it for you better than EVEplus. the eveplus 
	version always puts spaces in place of the text you cut 
	out. for example, cutting out the 2222:

111111 2222222  333333                  111111          333333
111111 2222222  333333   ------->       111111          333333
111111 2222222  333333                  111111          333333
                                        
	with sedt, you can do that or, you can do:

111111 2222222  333333                  111111   333333
111111 2222222  333333  ----->          111111   333333
111111 2222222  333333                  111111   333333
					


	sedt is fast and friendly, and small. There's a notes
	conference on curie::sedt. or send me mail.

	
	jack 
346.4But TPU code was *meant* to be hacked...ANYWAY::GORDONRandom Emotion GeneratorFri Oct 31 1986 08:1910
    re: .3
    
    	Yes, the "supplied" version only does "overstrike" cut & paste,
    but I sent Nancy a version I have modified to do insert cut & paste
    as well... (based on the current buffer setting.)  It may not be
    perfect, but it seems to work well enough for me.
    
    	If anyone else would like it, send me mail...
    
    					--Doug
346.5CAFEIN::PFAUYou can't get there from hereFri Oct 31 1986 10:456
    Was .4 really meant as a reply to .3?  SEDT does both insert and
    replace mode with block cut and paste.
    
    See PARVAX::SEDT$DIST: or the conference at CURIE::SEDT.
    
    tom_p
346.6Learn modeANT::ZARLENGAMichael Zarlenga - LMO2/E06Fri Oct 31 1986 13:448
    	Of course if you just want to remove some columns you
    could :  a) position cursor in row 1, column <whatever>,
    b) <DO> Learn, c) delete 1 char, down arrow, d) ^R to
    remember the key sequence, e) <whatever> key to assign the
    learned sequence to, f) <DO> Repeat <large #> <whatever_key>
    	Learn in EVE is MUCH EASIER than it was/is in EDT!!
    
    mike
346.7CLT::GILBERTeager like a childFri Oct 31 1986 15:032
    VAX Sort/Merge will do it.  You'll want to use the /FIELD and /DATA
    clauses in the specification file, and MERGE/NOCHECK/SPEC=xxx at DCL.
346.8sedt learns too!IOSG::HORSFIELDjakc - the well-known typoFri Oct 31 1986 15:097
< Note 346.6 by ANT::ZARLENGA "Michael Zarlenga - LMO2/E06" >
                                -< Learn mode >-

	naturally, learn mode in sedt is just as easy :-)
	

	jack
346.9Betcha EMACS can handle it...18461::HARLEYWhen the going gets weird, the weird turn proFri Oct 31 1986 15:320
346.10yes, emacs can and does!IOSG::HORSFIELDjakc - the well-known typoSun Nov 02 1986 13:210
346.11why not...FOREST::HEARNTimeshare - Life&#039;s a BATCH anywayMon Nov 03 1986 11:523
    
    	Teco doesn't do bad in LEARN mode either....
    
346.12might as well admit it ...ANT::ZARLENGAMichael Zarlenga - LMO2/E06Mon Nov 03 1986 14:553
    Face it, when it comes to editors, TPU (EVE flavors) is the best.
    
    The others all fall short in different places!
346.13I favor SEDTCAFEIN::PFAUYou can&#039;t get there from hereMon Nov 03 1986 17:484
    TPU is nice if you want to learn to program it.  For those who want
    an editor that is usable 'out of the box', TPU (EVE) falls short.
    
    tom_p
346.14SEDT and EMACS for meIOSG::HORSFIELDjakc - the well-known typoTue Nov 04 1986 03:4324
>    Face it, when it comes to editors, TPU (EVE flavors) is the best.
>    
>    The others all fall short in different places!

	i think we've got off the delete columns topic and that this
	could start a long and violent discussion. it's very difficult
	to persuade anybody that a particular editor is better than
	the one he uses...

	i believe, however, that no editor is perfect - they all 
	fall short somewhere.
	
	my preference for an editor out of the box is SEDT (try 
	it - you might like it!). it also runs on my rainbow. and 
	it'll run on an i*m pc if you've got one.
	
	as for TPU, i've hardly hacked it at all. i find it to 
	be too introspective - all the functions seem to be trying 
	to tell me how TPU feels about something...
	
	give me EMACS any day!

	
	jack 
346.15TPU: an editor's editorVAXWRK::NORDLINGERIn a GALAXY far, far awayTue Nov 04 1986 16:083
>    Face it, when it comes to editors, TPU (EVE flavors) is the best.
 
     If fact they liked it so much they wrote notes in it! :^)
346.16still use EDTJON::MORONEYWelcome to the MachineTue Nov 04 1986 16:4711
>    Face it, when it comes to editors, TPU (EVE flavors) is the best.

Well, TPU looks like it has lots of potential to be good. Too bad it starts out
brain-damaged though, I've never gotten around to learning enough about it to
fix it enough to be usable.

As to programming NOTES in it, I seem to remember NOTES-11 being lots faster
than VNOTES or VAX Notes, except when accessing files on remote nodes (cause no
server with NOTES-11).  VAX Notes also takes a zillion years to start up.

-Mike
346.17no, emacs and sedtIOSG::HORSFIELDjakc - the well-known typoWed Nov 05 1986 03:2510
>>    Face it, when it comes to editors, TPU (EVE flavors) is the best.
 
>>     If fact they liked it so much they wrote notes in it! :^)


	NO - i use emacs to write notes - emacs has its own notes 
	interface which has nothing to do with TPU. 
	
	for the odd occasion i use the TPU notes interface, i have
	SEDT set up to be the editor.
346.18Did I miss something?FROST::HARRIMANknees are wierdWed Nov 05 1986 14:138
    Is SEDT a supported product? 
    
    hate to appear ignorant but at least I'm honest...
    
    I know about EMACS's un-supportedness (I've used EMACS for ages)
    but TPU is a supported product - a popular trait...
    
    /pjh
346.19no, and yesIOSG::HORSFIELDjakc - the well-known typoThu Nov 06 1986 03:5915
	SEDT is not supported by DEC. It is written, developed,
	refined and supported by Anker Berg-Sonne (CURIE::ANKER). 
	
	that does not mean that it is a midnight hack. it is a 
	high quality editor, and Anker's support is fast and good. 

	Rather than have me go on about it here, look in the SEDT
	conference (CURIE::SEDT) at note 181 and its replies - see how
	other people have got on with it. And better than that, try
	SEDT for yourself. The more people who use it, the better its
	chance of becoming a "supported" product.
	

	jack