home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!cbnewsd!cbfsb!cbnewsg.cb.att.com!nh
- From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
- Subject: Re: Why I love VI
- Message-ID: <1992Aug21.074921.2293@cbfsb.cb.att.com>
- Sender: news@cbfsb.cb.att.com
- Organization: AT&T
- References: <451mf#a.messina@netcom.com>
- Date: Fri, 21 Aug 1992 07:49:21 GMT
- Lines: 200
-
- From article <451mf#a.messina@netcom.com>, by messina@netcom.com (Tony Porczyk):
- > rahardj@ccu.umanitoba.ca (Budi Rahardjo) writes:
- >
- >>david@cats.ucsc.edu (David Wright) writes:
- >>>The thing I can't stand about vi is that it doesn't automaticaly format,
- >>>for some dumb reason. Other than that, vi is great: I use it all the time.
- >
- >>Exactly. I am still looking for UNIX editor(s) that does justification on
- >>the fly. The only editor that can do that so far is CRISP (a BRIEF clone).
- >
- > For email and such I use mg (microGnuEmacs) which is very small, fast, and
- > does paragraph reformatting automatically as you go.
- >
- > t.
-
- I do not realy see why you need to do it on the fly. I just type away
- and when I have finished I type :%!fmt to format the lot.
-
- Using elvis you can make things even easier by setting fmt as the program
- to call when you press = and using the inverse text block marking feature.
-
- I would say that justification is not realy an editor type feature .
- An editor is, in my opinion, a program for quickly creating and changing
- source code and basic notes, memos and documents.
-
- Justification comes into the realm of word processing/desk top publishing
- for which you realy want something like framemaker or interleaf.
-
- I think vi fills its niche very well; emacs is almost a word processor
- but is too customizable and complicated and in any case I think that
- word processors as a class are being squeezed out of existence by
- desktop publishing packages which are in a different league.
-
- Nick Hounsome
-
-
-
- From vn Mon Aug 10 04:14:08 1992
- Subject: Re: Question: how to wake up XNextEvent for pipe/socket input pending?
- Newsgroups: comp.windows.x.intrinsics,comp.windows.x,comp.windows.x.apps
- References: <1992Aug10.005053.29300@macc.wisc.edu>
-
- From article <1992Aug10.005053.29300@macc.wisc.edu>, by daerb@vms.macc.wisc.edu (David Erb):
- > How do I get XNextEvent to wake up when input has
- > become available on some pipe (fifo) or socket? As far
- > as I can tell, Xlib only wakes up on a fixed set of
- > user-oriented events which does not include input pending.
- >
- > I hope there is an elegant solution! Any help would be
- > greatly appreciated. Please respond by e-mail and I will
- > post a summary. Thanks in advance.
- >
- > Dave
- >
- > Background:
- [deleted]
-
- O'Reilly & Associates publish a good book "Power programming with RPC"
- by John Bloomer. This contains all the info that you want.
- The source from the book - which may be enough to get you giong, is
- archived at various sites (ftp.uu.net) under ~/nutshell/rpc
-
-
-
- From vn Tue Aug 11 03:44:30 1992
- Subject: Re: backspace kills shell
- Newsgroups: comp.unix.shell
- References: <1992Aug10.162557.13690@novell.com>
-
- From article <1992Aug10.162557.13690@novell.com>, by tporczyk@novell.com (Tony Porczyk):
- > pcwood@romulus (Paul Wood) writes:
- >>The following is a part of a shell I use with our system wide cshrc
- >>---
- >>[...]
- >>---
- >>The problem I am having is when a user mistypes the terminal choice and
- >>backspaces, the TERM env never gets set and it drops out of she script
- >>past the if statement. What can I do to avoid this problem?
- >
- > Before you get to this section, put the following line in your .cshrc:
- >
- > stty new erase ^H intr ^?
- >
- > (enter both characters with vi using "Ctrl-v" quoting).
- >
- > t.
-
- I would hazard a guess that this is what you already have - it is common
- to have interupt set delete (del). On some keyboards this seems to
- make sense but on others this key appears to be the natural key to do
- backspacing.
-
- I always use
-
- stty intr ^c
-
- and set erase to either ^h or ^? depending on the keyboard.
-
- Nick Hounsome
-
- From vn Thu Aug 20 04:21:56 1992
- Subject: Re: Mailtool and .signature
- Newsgroups: comp.windows.open-look
- References: <2161@ncr-mpd.FtCollins.NCR.COM>
-
- From article <2161@ncr-mpd.FtCollins.NCR.COM>, by Chip.Brewster@FtCollinsCO.NCR.COM (Chip Brewster):
- >
- > In article <1992Aug15.114827.25770@ucthpx.uct.ac.za>,
- > fred@dip1.ee.uct.ac.za (Fred Hoare) writes:
- > |> Hi
- > |>
- > |> I'm sure that I've seen a post like this before but I can't remember
- > |> the answer to the question - Is there a FAQ list for this group and
- > if so where
- > |> can I find it?
- > |>
- > |> I am running OW 3.0 and would like to get the mailtool to automatically
- > |> append a signature to my mail. I had a look at the manual entry for mailtool
- > |> and for mail and tried to set up my .mailrc file. The option I tried
- > was the
- > |> following
- > |> set sign=`~/.signature'
- > |> which is what would be used in mail to aappend a signature when the
- > ~a command
- > |> was entered into a file.
- > |>
- > |> Is there a way to do this or will mailtool source code have to be modified?
- > |>
- >
- > One way to do this is to create the file $HOME/.text_extras_menu or copy
- > it from /usr/lib. Then add the line:
- >
- > "Signature" cat $HOME/.signature
- >
- > You will also need to add the following resource to your $HOME/.Xdefaults:
- >
- > Text.ExtrasMenuFilename: /<your_home_path>/.text_extras_menu
- >
- > Then you simply pop-up the menu in any XView text window and select
- > Extras->Signature. The advantage with this method is it works with
- > other XView apps, not just mailtool.
- >
-
- easier still is to add it to your list of templates (see properties)
- Unfortunately this is not automatic which was the original request.
- I know of no way to do it.
-
- From vn Fri Aug 21 03:48:19 1992
- Subject: Re: vi (cut and paste)
- Newsgroups: comp.unix.questions comp.editors
- References: <515@alden.UUCP>
-
- From article <515@alden.UUCP>, by sgr@alden.UUCP (Stan Ryckman):
- > In article <1992Aug17.200149.7817@s912%bnf.com> bibb@s912%bnf.com (Ken Bibb) writes:
- >>In <3815@keele.keele.ac.uk> phd85@seq1.keele.ac.uk (D.H. Holden) writes:
- >>> hi,
- >>> Does anyone know how you cut a range of text to one
- >>> of the named buffers, where the range does not cover
- >>> an integer number of lines, i.e.,
- >>> How do i cut from here > text text text ..........
- >>> ............... n number of lines .....
- >>> ...... to here < into the named buffer "a for example?
- >>> Cheers,
- >>> Dave.
- >>In the following texT:
- >>aaabbbbbb
- >>bbbbbbbbb
- >>bbbbccccc
- >>
- >>I'll assume you want to cut the b's out and save them into buffer a.
- >>1) position the cursor at the beginning of the range to be cut (1Gfb will work
- >> in this example).
- >>2) ma (mark the location with marker a)
- >>3) move to the end of the range (Gfc will work in this example)
- >>4) "ad`a will cut the range and put it into buffer a
- >
- > NOT!
- >
- > This grabs all three full lines. (I tried it! Did you?)
- >
- [deleted]
-
- The preceding reply is correct and works unless
- a) you have a prehistoric version of vi
- b) you did not read it properly and typed ' instead of ` in 4.
-
- ma marks the line and the position in it.
- ' works on the line position
- ` works on the character position
-
- indeed if you type `a it will move you to the character position and ``
- acts as the character equivalent of ``.
-
- Since it is even implemented in my version of elvis as well I assume that
- (b) applies.
-
- Nick Hounsome
-
-
-
-