HDTenEightyP/NetNews huggingface dataset:
From: frechett@spot.Colorado.EDU (-=Runaway Daemon=-)
Subject: Re: Elvis 1.6
Organization: University of Colorado, Boulder
Date: Mon, 5 Oct 1992 21:23:00 GMT



I tried to bind function keys with elvis and ran into the same bug.
I however found a way to do it.. It's not pretty but it works.  It's
also possible to invoke it accidentally in odd ways.
:map ^[[2 ^[
:map ^[3~ ^[

This was to bind the F11 key on a DEC vaxstation or vt1000 keyboard to
escape.  The key normally outputs.. ^[[23~   but I couldn't map
the whole thing.  It does however let you do it in peices.  The only 
problem comes about if you find some reason to issue a ^[3~ or some
such.

It's a hack but it works.

	ian
From: barr@pop.psu.edu (David Barr)
Newsgroups: comp.editors
Subject: Re: PEN Editor
Date: 1 Oct 92 01:46:42 GMT
Organization: Penn State Population Research Institute

In article <1992Sep30.230121.15170@point.uucp> wek@point.uucp (Bill Kuykendall) writes:
>Thanks much for any information or insight you may have.  And hopefully,
>we'll have Point to Point's $EDITOR out the door without too much delay.

Hey, there you go!  Call it "$EDITOR"!

setenv EDITOR \$EDITOR

Naah.  :-)

--Dave
``I've always wanted to name a machine "dot", and give myself an account
name called "at"''
-- 
System Administrator, Population Research Institute    barr@pop.psu.edu
From: 873clifton@gw.wmich.edu
Newsgroups: comp.editors
Subject: Re: EMACS LOGO
Date: 29 Sep 92 16:04:39 EST
Distribution: na
Organization: Western Michigan University

In article <1a8a0nINN7en@darkstar.UCSC.EDU>, david@cats.ucsc.edu (David Wright) writes:
> 
> 
> Is there a way to avoid the logo when emacs starts up? At 2400 baud
> it takes a while to get of the damn thing. And, by the way, how would
> one automatically start up emacs in Dired mode?
>

If you are refering to GNU Emacs try:

     *	add: (setq inhibit-startup-message t) to your .emacs file to
	suppress copyleft info when starting Emacs without a file.

     *  load Emacs with a directory name rather than a file name to
	start in dired mode, ie.: %emacs ~.

Enjoy,

/Doug
--
Douglas Clifton [99clifto@lab.cc.wmich.edu]
From: david@cats.ucsc.edu (David Wright)
Newsgroups: comp.editors
Subject: EMACS LOGO
Date: 29 Sep 1992 01:03:19 GMT
Organization: University of California; Santa Cruz
Distribution: na
NNTP-Posting-Host: si.ucsc.edu



Is there a way to avoid the logo when emacs starts up? At 2400 baud
it takes a while to get of the damn thing. And, by the way, how would
one automatically start up emacs in Dired mode?


---Thanks
-- 
   |^^^^^^|      _______________________________________________________
   |      |      |"There is nothing in the marginal conditions that    | 
   |      |      | distinguish a mountain from a mole hill"            |
   | (o)(o)      O         Kenneth Boulding                            | 
   @      _)    o|_____________________________________________________|  
    |  ____\ o o
    |     /   
   /     \                              All comments  are mine---(David Wright) 
Newsgroups: comp.editors
From: rac@sherpa.uucp (Roger Cornelius)
Subject: Re: vi help
Organization: Personal System Computing :-) Gulfport, FL
Date: Fri, 02 Oct 1992 13:29:02 GMT

In article <1992Oct1.200327.19080@msuinfo.cl.msu.edu>, cassidy@cps.msu.edu (John J Cassidy) writes:
> 
> 	Can someone help me?  I've been using vi now for
> about a year.  Some of the problems with vi escape me, and
> I saw that you have this newsgroup here.  
> 
> 	Is there any way in vi to read in an additional
> file to the one you are working on?

:<address>r filename

Specifying <address> is optional and if not specified, file is read
in after the current line.

> 	Also linefeeds kind of bug me, is there a way
> to append the line following onto the end of the current 
> line?  In other words, delete the line feed/carraige 
> return.

Use J on the line you want to join to.

> 	Oh yes, and you can tell me I should have read`
> the manual, but I have read the manual on our system, and
> it simply does not cover inside commands, only command-line
> ones.

You need to retrieve some of the documents from the vi archives.
Instructions are posted to this group regularly.

-- 
Roger Cornelius        sherpa!rac@uunet.uu.net       ...!uunet!sherpa!rac
Newsgroups: comp.editors
From: sridhar@enuxhb.eas.asu.edu (Sridhar Venkataraman)
Subject: Re: Paragraphs and vi
Organization: Arizona State University, Tempe AZ
Distribution: na
Date: Mon, 5 Oct 1992 05:58:56 GMT

satya@wheat.ecn.purdue.edu (Satya Bhamidipati)
writes on comp.editors:

)>stty: TCGETS: Operation not supported on socket

I am not too sure what happens here but read ahead...

)>         -- Eric
)
)	 I have a similar problem. I get two extra lines with:
)
)	>>	mesg: cannot stat
)        >>	Where are you?

Just take out the 'mesg ?' line from your .cshrc and place it in
.login. If you want more info just visit news.answers for the
comp.unix.questions/shell FAQs. It is explained to a good detail
there. 

In short, if any terminal dependent commands are in your .cshrc
(I am speaking w.r.t csh and its variants) you are likely to get such
messages whenever vi or rsh etc. tries to run a command. Try placing them
in .login.

)	   Satya (satya@pasture.ecn.purdue.edu)

Sridhar.
Newsgroups: comp.editors
From: dattier@ddsw1.mcs.com (DWT)
Subject: Re: vi help
Date: Fri, 2 Oct 1992 17:29:10 GMT
Organization: Contributor Account at ddsw1, Chicago, Illinois  60657

cassidy@cps.msu.edu (John J Cassidy) wrote in
<1992Oct1.200327.19080@msuinfo.cl.msu.edu>:

| 	Is there any way in vi to read in an additional
| file to the one you are working on?

:r filename

| 	Also linefeeds kind of bug me, is there a way
| to append the line following onto the end of the current 
| line?  In other words, delete the line feed/carraige 
| return.

A  [lower-case a appends after the current cursor position; capital A
	appends at the end of the current line]

| 	Oh yes, and you can tell me I should have read`
| the manual, but I have read the manual on our system, and
| it simply does not cover inside commands, only command-line ones.

Your system needs more documentation, and perhaps it has it.  If not, there
are loads of reference texts in the vi archives, per Ove Ruben R. Olsen's
regular posts to comp.editors.

David W. Tamkin   Box 59297   Northtown Station, Illinois  60659-0297
dattier@ddsw1.mcs.com    CompuServe: 73720,1570    MCI Mail: 426-1818
From: eric@ils.nwu.edu (Eric Goldstein)
Newsgroups: comp.editors
Subject: Re: Paragraphs and vi
Date: 4 Oct 92 05:09:51 GMT
Organization: The Institute for the Learning Sciences

I've gotten several helpful replies to my query.  Thanks!!!

The advice in each case was to use the Unix fmt command.
In vi, fmt can be invoked for the paragraph in question by
using the !}fmt command.

In my case, this just about works (but not quite).  The 
paragraph does get formated, but the system then inserts
a message directly into my text.  Using the example I gave
earlier:
------------------------------------------------------------------
stty: TCGETS: Operation not supported on socket
This is a sample sentence.  This is sample sentence number two, which
is longer than the others.  This is sample sentence number three.  This
is sample sentence number four.
------------------------------------------------------------------
 
This isn't too bad -- I can always just delete out the line....
...but naturally, I wonder if there is a better way to do it.  I'm using
SunOS Release 4.1.2, and I'm woefully ignorant of Unix tricks.  And
the fmt command sure was a cool thing to find out about!

       Thanks!   
         -- Eric

--
From: winney@DAL.MOBIL.COM (Randy Winney)
Newsgroups: comp.editors
Subject: Re: CRISP information wanted
Date: 6 Oct 92 13:21:43 GMT

In article <1992Oct5.192716.1920@mintaka.lcs.mit.edu>, feoh@hal.gnu.ai.mit.edu (Chris Patti) writes:
|> Hello, I've recently acquired CRISP 2.1e and am trying to set it up on our 

version 2.2e is the last shareware version...

|> 
|> Also, does anyone know how/where / from whom to get the commercial version of
|> CRISP? My boss (whom this is for) has expressed interest in buyig a version 
|> if it would provide good solid support across all platforms...

contact rohit@neosoft.com


-- 
Randy Winney       winney@dal.mobil.com
Mobil Exploration & Producing Technology Center
Dallas, Texas
From: lewis@bnrmtl.bnr.ca (Pierre LEWis)
Newsgroups: comp.editors
Subject: Re: damn tabs
Date: 6 Oct 92 12:40:18 GMT
Reply-To: lew@bnr.ca (Pierre LEWis)
Organization: Bell-Northern Research Montreal, Canada

In article <1992Oct6.073948.26242@cbfsb.cb.att.com> nh@cbnewsg.cb.att.com
(nicholas.hounsome) writes:

> I never understand why people object to tabs apart from when perverts
> decide to treat them as other than every 8th position.

I object to them simply because perverts are a fact of life.  Many folks
here (and elsewhere) use them to mean 2-4 spaces (one indentation level), and
our printer setup assumes, by default, that they mean 3!  So I avoid them
except where I have absolutely no choice (makefiles).

-- 
Pierre LEWIS    +1 514 765-8207      ESN 852-8207
Internet: lew@bnr.ca                 Corwan: lewis@bnrmtl

Implementing standards is like walking on water -- both work best when frozen.
From: koslowj@math.ksu.edu (Juergen Koslowski)
Newsgroups: comp.editors
Subject: help with TERM setting for DEMACS on TOSHIBA 3300SL
Date: 1 Oct 1992 02:01:00 -0500
Organization: Dept. of Mathematics, Kansas State University
Distribution: inet
NNTP-Posting-Host: hilbert.math.ksu.edu
Keywords: DEMACS, TERM, TOSHIBA 3300SL

Hi there,

I'm trying to install demacs on my Toshiba 3300SL, but run into trouble
when setting the variable TERM. Chosing "ibmpc" (I do have ansi.sys)
results in a rater garbeled screen when calling demacs. But at least I can
exit cleanly with ^X ^C. Other choices gave slightly less garbeled screens,
but didn't recognize ^X ^C anymore. Any suggestions (short of running Unix...)?

Thank you,	J"urgen
-- 
J"urgen Koslowski         | If I don't see you no more in this world
Department of Mathematics | I meet you in the next world
Kansas State University   | and don't be late!
koslowj@math.ksu.edu      |                         Jimi Hendrix (Voodoo Chile)
Newsgroups: comp.editors
From: annius@eri.research.ptt.nl (Annius Groenink)
Subject: Re: vi help
Organization: PTT Research
Date: Fri, 2 Oct 1992 16:25:55 GMT

bt@irfu.se (Bo Thide') writes:

>>There must be a better way than this, but:

  ** complicated hack **

>What's wrong wiht "J" (to Join two consecutive lines, separated by EOL)?

What's wrong with a menu? I mean this is incredible; there seem to be no
editors for UNIX terminals that are intuitive and easy to take benefit of all
possibilities etc.

-- 
Annius Victor Groenink      Universiteit Utrecht      PTT Research Leidschendam
Mathematics/Comp. Sc.        avgroeni@cs.ruu.nl       +31 70 3325445 (weekdays)
Atari ST/Music          A.V.Groenink@research.ptt.nl  +31 70 3464732 (evenings)
_____________My opinions are my opinions____________  +31 5700 29396 (weekends)
Newsgroups: comp.editors
From: vilva@madras.b23b.ingr.com (Vilva Natarajan)
Subject: vi options 
Reply-To: "Vilva Natarajan <vilva@madras.b23b.ingr.COM>"
Organization: "Dazix, an Intergraph Company., Huntsville, AL 35894, USA."
Date: Wed, 30 Sep 1992 22:19:57 GMT


 Hi,

    From inside vi, a ":r!<cmd>" reads in the output of the
    shell command into the file. Is there a way to do this
    on the command line? I tried the -c option as follows
	
	vi -c ":r\!pwd" test

    but the command output never shows up in the file.
    Any help would be appreciated.



vn

----

____________________________________________________________________

Vilva Natarajan				Intergraph Corporation
email: vilva@madras.b23b.ingr.com	Tel: 205-730-8544
____________________________________________________________________
From: martelli@cadlab.sublink.org (Alex Martelli)
Newsgroups: comp.editors
Subject: Re: vi options
Date: 2 Oct 92 11:03:42 GMT
Organization: CAD.LAB S.p.A., Bologna, Italia

vilva@madras.b23b.ingr.com (Vilva Natarajan) writes:
	...
:    From inside vi, a ":r!<cmd>" reads in the output of the
:    shell command into the file. Is there a way to do this
:    on the command line? I tried the -c option as follows
:	
:	vi -c ":r\!pwd" test
:
:    but the command output never shows up in the file.
:    Any help would be appreciated.

    vi +":r !pwd" test  

will work IF file test already exists, but NOT if the file does
not exist beforehand [as once again vi fails the test of least
astonishment...:-(].  Use something like:

    touch test;vi -c ":r !pwd" test

to work in either case (the ! must be escaped only in csh and
workalikes, not in ksh and its ilk, so I refuse to escape it!-).
-- 
Email: martelli@cadlab.sublink.org                   Phone: ++39 (51) 6130360
CAD.LAB s.p.a., v. Ronzani 7/29, Casalecchio, Italia   Fax: ++39 (51) 6130294 
Newsgroups: comp.editors
From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
Subject: Re: damn tabs
Organization: AT&T
Date: Tue, 6 Oct 1992 07:39:48 GMT

From article <1992Oct6.040531.25139@cronkite.ocis.temple.edu>, by ray@astro.ocis.temple.edu (Ray Lauff):
> Hello
>    I hate the way vi places tabs in the file instead of spaces.
> Don't get me wrong - the Autoindent feature is very spiffy -- 
> but I hate the <tab> characters it leaves behind.  
> 
>    Right now I use the Unix "expand" command to remove all the
> tabs, but it is a tedious process.  Is there a way to request
> vi to replace the tabs with spaces before it saves the file?
> 
>     Any help appreciated.  Thanks in advance.
> 
> Ray.
> ray@astro.temple.edu

set tabstop=1000

This will handle autoindent and initial 'tabbing' with ^T but of course
you must never touch the tab key. To get around this type

map! ^V^I ^V ^V ^V ^V ^V 

i.e. map tab to however may spaces you want -(be careful with your ^Vs
here)

Of course this is not proper tabbing so you may just want to map it to 
one space. 

I never understand why people object to tabs apart from when perverts 
decide to treat them as other than every 8th position. If it is just
that you want smaller indentation then the trick is to set shiftwidth
and 'tab' in with ^T instead of TAB - To my mind this is realy clever
because it produces your indentation with the minimum possible 
number of TABs and spaces.

Nick Hounsome
Newsgroups: comp.editors
From: satya@wheat.ecn.purdue.edu (Satya Bhamidipati)
Subject: Re: Paragraphs and vi
Organization: Purdue University Engineering Computer Network
Distribution: na
Date: Sun, 4 Oct 1992 18:14:43 GMT

In article <1992Oct4.050951.2469@ils.nwu.edu> eric@ils.nwu.edu (Eric Goldstein) writes:
>I've gotten several helpful replies to my query.  Thanks!!!
>
>The advice in each case was to use the Unix fmt command.
>In vi, fmt can be invoked for the paragraph in question by
>using the !}fmt command.
>
>In my case, this just about works (but not quite).  The 
>paragraph does get formated, but the system then inserts
>a message directly into my text.  Using the example I gave
>earlier:
>------------------------------------------------------------------
>stty: TCGETS: Operation not supported on socket
>This is a sample sentence.  This is sample sentence number two, which
>is longer than the others.  This is sample sentence number three.  This
>is sample sentence number four.
>------------------------------------------------------------------
> 
>This isn't too bad -- I can always just delete out the line....
>...but naturally, I wonder if there is a better way to do it.  I'm using
>SunOS Release 4.1.2, and I'm woefully ignorant of Unix tricks.  And
>the fmt command sure was a cool thing to find out about!
>
>       Thanks!   
>         -- Eric
>
>-- 

	 I have a similar problem. I get two extra lines with:

	>>	mesg: cannot stat
        >>	Where are you?

	   Any suggestions ?



	   Thanks.   

	   Satya (satya@pasture.ecn.purdue.edu)
    
	  
Newsgroups: comp.editors
From: tlukka@vipunen.hut.fi (Tuomas Lukka)
Subject: ViX -- vi for x???
Keywords: Vi, X, editor
Organization: Helsinki University of Technology, Finland
Date:  4 Oct 92 17:52:34 GMT

I've been thinking of making a vi-compatible X editor for some time now and
would like to have other peoples' opinion about taking up such a project:
  First of all: has anything like this been done?
    i.e. am I reinventing the wheel here?

  2. The actual implementation -- my current plans are as follows:
	-the editor part is one widget class. Inside the editor class,
	 there are two different types of buffers: the editor buffer and
 	 the small buffers, i.e. cut,paste, what you type etc.

  3. The shell around the widget: I'm thinking of things like several 
	 windows to the same file, buttons/symbolic representation of
	 the named buffers, menus (if you want them, definable by resources)
	etc.

  4. Thoughts -- what should it be like --
	I'd like to spare the general features of vi, small size, speed,
  	fast commands etc, but add more.. 
	And most importantly, make vi X-aware, to make it more usable.
	backwards-compatible of course, if you want, you can just use it
	like the old vi, but then again, multiple windows and things like
	that seem pretty nice to me.

Please reply by email, and tell me if I'm wasting my time or making a
well-niched effort here.

Of course, the editor will be publicly available, NOT however in public
domain.. something like the copyleft, maybe, will have to see about that
in due time.

	TJL
-- 
 /--\  TJL -- Tuomas J. Lukka  tlukka@vipunen.hut.fi IIIIIIIII -------    Just
/-\ o\        Puistokaari 1E18  _________--------------------+    I  J     go
\o \-/        00200 Helsinki    --------I GONE FISHING AGAIN ->   I        to
 \__/  SIGh.. Finland T. +358-0-6923924 /---------------------    L___    sleep..
From: rliles@spuds.mlb.semi.harris.com (Ray Liles)
Newsgroups: comp.editors
Subject: Vi Formating without using fmt
Date: 4 Oct 92 18:31:59 GMT
Organization: Harris Semiconductor, Melbourne FL

I hate to take up bandwidth with what appears to be obvious to veteran vi
users, but I can't seem to find *formating* documentation in any books.
Directions to FAQs/sites would be appreciated.

1. How do you insert text into an existing paragraph AND reformat/fill that
   paragraph so that all text observes the wrapmargin, without part of a word
   on one line and the rest of the word on the next?

2. How do you justify text for both the left AND right margins without running
   through fmt?

Ray
-------------------------------------------------------------------------------
  \  \  \                                         |  Harris Semiconductor     
   \--\--\                                        |  Mail Stop 58-032         
    \ |\  \                                       |  P.O. Box 883             
      |      WA4VME                               |  Melbourne, Florida 32902 
      |      Ray H. Liles                         |  407-729-4640 (Office)    
      |      rliles@heimdall.mlb.semi.harris.com  |  407-729-4029 (FAX)       
-------------------------------------------------------------------------------
Newsgroups: comp.editors
From: gleeson@mundil.cs.mu.OZ.AU (Red Mountain)
Subject: Re: vi help
Organization: Computer Science, University of Melbourne, Australia
Date: Sat, 3 Oct 1992 04:21:26 GMT

In <1992Oct2.125721.24689@irfu.se> bt@irfu.se (Bo Thide') writes:
>In article <9227622.3723@mulga.cs.mu.OZ.AU> gleeson@mundil.cs.mu.OZ.AU (Red Mountain) writes:
>>There must be a better way than this, but:
>>d$k$p

>What's wrong wiht "J" (to Join two consecutive lines, separated by EOL)?

That'd be it, then :-)

Marty.
---------------------=============***O***=============-------------------------
Martin J. Gleeson  | Computer Science, Melbourne Uni, Oz |    ...  __o    Outta
gleeson@mundil.cs.mu.oz.au |     E Pluribus Unix         |  ...   -\<,       my
"We gladly feast on those who would subdue us." - Addams |  ....(_)/(_)..  way!
 "I can't give you brains, but I can give you a diploma." - The Wizard of Oz
---------------------=============***O***=============-------------------------
Newsgroups: comp.editors
From: alien@boi.hp.com (Tom von Alten)
Subject: Re: Conversion of WP50 files to text
Date: Mon, 28 Sep 1992 03:24:09 GMT
Organization: Hewlett-Packard
X-Newsreader: Tin 1.1 PL3

andym@techbook.com (Andy McNiece) writes:
: 
: If anyone has worked with this before or knows of books available on
: this subject, please email.

You could just try calling WordPerfect.  Their products come with
"free" support.
_____________
Tom von Alten           email: alien@hpdmd48.boi.hp.com
                        Hewlett-Packard Disk Memory Division
From: achim@mips1.info.uqam.ca (Marcel Achim)
Newsgroups: comp.editors
Subject: troff to latex converter
Date: 27 Sep 92 21:01:17 GMT
Organization: Universite du Quebec a Montreal

Hi!

   Does anyone know about a troff to latex source converter, either
   public or not. Please answer to mili@aicha.info.uqam.ca as I'm
   writing down this note for him.

   Thanks.
Newsgroups: comp.editors
From: andym@techbook.com (Andy McNiece)
Subject: Conversion of WP50 files to text
Organization: TECHbooks of Beaverton Oregon - Public Access Unix
Date: Sun, 27 Sep 1992 14:05:59 GMT

I am looking for help in converting WP50 files to text.  We have many
users from the PC world who use WP50 on an Ultrix operating system.  I
would like to be able to send the WP50 documents through a converter so
that they could then be fed into a mail system or a fax system.  I am
primarily interested in determing the format of the header portion of a
WP50 file that precedes the actual text of the document.  

Although WP50 allows a user to convert a file to text from within the
application, the convert program provided by WP does not allow
conversion to text outside the application.

If anyone has worked with this before or knows of books available on
this subject, please email.
-- 
andym@techbook.COM  Public Access User --- Not affiliated with InterCom
Public Access UNIX and Internet at (503) 220-0636 (1200/2400, N81) 
Newsgroups: comp.editors
From: sjane@bmers248.bnr.ca (sjs)
Subject: Re: Elvis 1.6
Organization: Irrelevant, Ottawa, Canada
Date: Mon, 05 Oct 92 12:03:46 GMT

In article <1992Oct2.213941.19659@ims.com> ericm@hummer.ims.com (Eric Martinson) writes:
>I am running Elvis 1.6 on a Sun IPX with Sun O/S 4.1.2.  Yesterday I tried
>to use the map key to map a few of the function keys.  I want to create a
>command on a function key that automatically reads in a code comment 
>template and the current cursor position.  The following is the
>map command I used:
>
>
>:map ^[[11~   :r   /engr/ericm/templates/method.C^M
>
>When I press the key associated with ^[[11~ I get dumped out of elvis.
>I have never used mapping before but from the manuals and docs I read,
>the above seems like it should work.  It works for Sun's vi.
>
Yes, Sir, it's a bug with the way Elvis figures out when it has a unique
escape sequence and what that sequence is.  Essentially, Elvis stops
reading the escape characters once it has decided it's unique & then it
tries to act on that too-short sequence.   So, if you have, in your
mappings, ":map ^[[11~ :r ..." and nothing else, when you hit the key that
produces ^[[11~, Elvis will read ^[[, decide that it has read enough, try
to act on ^[[ (which, of course, doesn't have a mapping), barf & dump
you.

The work-around is to map some fictional sequence, like "^[[11r", which
is the same as the one you want except for the last letter & that will
force Elvis to read all of the escape sequence.

Alternatively, you can hack the source code.  My sysadmin was kind 
enough to do that for me & he sent a copy of what he did to Steve,
(the author), so Steve should have the fix available.  (Course, he
may have been too busy to look at it!)

-sjs
--
It's not irrelevant; it's a hippopotamus.   sjane@BNR.CA