home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!munnari.oz.au!manuel!csc.canberra.edu.au!news
- From: Kim Holburn <kim@csc.canberra.edu.au>
- Subject: Re: Wierd vi problem under Dynix/ptx
- Message-ID: <1992Aug28.010032.7140@csc.canberra.edu.au>
- X-Xxdate: Fri, 28 Aug 92 19:16:10 GMT
- Sender: news@csc.canberra.edu.au
- Organization: University of Canberra
- X-Useragent: Nuntius v1.1.1d7
- References: <1992Aug27.013743.1381@csc.canberra.edu.au>
- Date: Fri, 28 Aug 92 01:00:32 GMT
- Lines: 149
-
- Thanks folks.
- I'd never come across a system with the default set up, so simple it's
- embarassing really.
-
- All the replies about the stty problem were similar, here's one of them:
-
- >In article <1992Aug27.013743.1381@csc.canberra.edu.au> you write:
- >> On a sequent running ptx. vi does weird things with @ and # and maybe
- >> other letters. It treats them like some sort of control characters.
- >> This doesn't happen on any other system I've come across. I have to
- >> quote these characters with ^v in order to insert them. Is there any
- >> way of fixing this.
-
- Arne Henrik Juul <arnej@lise.unit.no> wrote
-
- My guess is, you have the erase/kill characters set to their really-awful,
- old default values. Try on the command line:
- $ stty -a
- (You should get some information, also about the erase/kill characters,
- like this:)
- speed 9600 baud; line = 0; intr = DEL; quit = ^|; erase = #; kill = @;
- eof = ^d; eol = ^`; start = ^q; stop = ^s; susp = ^z; swtch = ^`
- -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk
- -ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
- ixon -ixany -ixoff
- isig icanon -xcase echo echoe echok -echonl -noflsh -iexten -tostop
- opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
- (Notice the "#" and "@" !)
- $ stty erase ^h
- (This is one useful value, also DEL is often used)
- $ stty kill ^u
-
- "David A. Wagner" <dawagner@phoenix.Princeton.EDU> wrote :
-
- >> I think if I need to read a manual to use a
- >>program then it is basically a badly written program.
- >>
- >
- > <puke> Sorry if this sounds flamish, elistist, or obnoxious - it's
- >not meant that way - but, why are you using Unix then? :-)
-
- Well said. I use a mac most of the time actually. But I have this job :-)
- I should mention here that I use vi a lot. I sometimes think I live in
- vi. It has been postulated that there are in fact an infinite number of
- vi commands and we can only ever know a small fraction:-) I also have to
- teach vi to unix beginners on occasions. I like vi's power but I still
- consider it a dreadful editor because of its modality and lack of on-line
- help.
- As for emacs, what can I say. I just recently got the source and compiled
- it. I did try all those things various people suggested except for the
- tutorial. I want to learn it I really do!! I can't see why the command
- for quitting the program isn't at the top of the help text. Perhaps emacs
- users never quit emacs. Somehow C-C didn't work on my development system
- (vanilla sunOS 4.1.1 mostly). As I said, I had to log in and kill it
- eventually.
-
- >>
- >>Vi doesn't even seem to have a manual, or not one that includes it's
- >>editing commands.
- >>
- >
- > Yeah, I agree - vi SHOULD have an online manual detailing all
- >it's editing commands. So should troff, and pic, and tbl, and eq, and
- >... - oh wait, there I go babbling again :-) It IS in the printed
- >manuals, but who looks there? :-) There is an anonymous FTP site for
- >VI stuff, though:
- >
- >--------BEGIN-----------
- >#
- ># Mostly files on vi.
- >#
- ># Index of archive: alf.uib.no (129.177.30.3)
- ># Filearea: /pub/lpf/misc
- ># Archive maintainer: Ove Ruben R Olsen (rubenro@viggo.blh.no)
- ># Archive updated: Thu Aug 22 18:06:23 GMT 1991
- >#
- >
- >In the macros/ directory there exsist macros for vi. Look at file
- >macros/INDEX.
- >
- >UCB = University of California, Berkley. (Hometown of vi)
- >
- >
- >
- INDEX This file. *
- WHOandWHERE A 'thank you' too all who have submitted to the
- archive.
-
- ex.changes.Z ex changes from version to version. UCB-dist.
- ex.fix.Z An Encore ex fix.
- ex.reference.Z ex Reference Manual. UCB-dist.
- ex.summary.Z ex Command Summary. UCB-dist.
- jl.ex.ref.Z Another reference for vi.
- learn-vi.tar.Z LVI - The Learners Introduction to VI. Interactive.
- nvi.tar.Z Novice VI.
- shell-100.BetaA.Z Conversion table between different shells.
- vi.1.Z Vi formated manual.
- vi.132.Z A tip on using vi on vt-100 with 132 colums.
- vi.apwh.ms.Z Vi Command & Function Reference. UCB-dist.
- vi.beiners.Z Vi beginers guide.
- vi.card.tex.Z Vi reference card in TeX. Found inside
- learn-vi.tar.Z
- vi.chars.Z Apendix: character functions. UCB-dist.
- vi.course.Z A course on using vi. Paper.
- vi.course.tar.Z A course package on using vi. Paper.
- vi.help.Z Vi recerence card. Found inside learn-vi.tar.Z
- vi.intro.Z Introduction on Display Editing with Vi. UCB-dist.
- vi.intro.ps.Z Vi.intro in PostScript format. UCB-dist.
- vi.macros.Z Macros, Abbrevitations, and Buffers.
- vi.macroDoc.tar.Z Two docs describing macros in vi. Sample exrc file
- incl.
- vi.man.tut.Z VI manual-page with a tutor.
- vi.multfile.Z A doc on how to work with multiple files in vi.
- vi.online-200.tar.Z Vi ON-LINE HELP with 'windows for vi'. Version 2.00
- vi.passwd.Z A script for "secure" editing of /etc/passwd.
- vi.passwd.fix.Z A fix to vi.passwd.fix.Z
- vi.patch.Z Path to fix a "security" hole in VI.
- vi.quick.Z Vi Quick reference card.
- vi.ref.Z UNIX VI quick reference card.
- vi.refchrt.Z Vi reference chart.
- vi.reference.Z Vi reference. Version 7.
- vi.reference.ms.Z Vi reference for typesetters.
- vi.sigint.fix A src fix for vi dealing with 'sigint'.
- vi.song.Z A song about vi.
- vi.summary.Z Vi / ex Quick reference. UCB-dist.
- vi.startup.d.Z NetNews discussion about ex:COMMAND / vi:COMMAND
- feature.
- vi.tabs.Z A tip on tabs in vi.
- vi.tags.Z A paper on a tag-tech.
- vi.tagStack.Z Patch for vaxen to make tag stack avail. Fixes for
- sun.
- vi.tips.Z Beginer's tips on vi.
- vi.tutor.Z An interactive tutor for vi.
- vi.ucb.tar.Z The whole UCB-dist package. package. *
-
- vi-buffer.el.Z Invoke vi inside emacs. *
-
-
-
- +----------------------------+-----------------------------------------+
- | Kim Holburn | Internet : kim@csc.canberra.edu.au |
- | Computer Services Centre | |
- | University of Canberra | Phone : (06)201 2203, (06)201 2401 |
- | PO Box 1 Belconnen | |
- | ACT Australia | Fax : (06)201 5074 |
- +----------------------------+-----------------------------------------+
- | born again and again and again and again and again buddhist |
- | well... in a previous life anyway :-) |
- +----------------------------------------------------------------------+
-