HDTenEightyP/NetNews huggingface dataset:
From: diamond@jit345.bad.jit.dec.com (Norman Diamond)
Newsgroups: comp.std.c
Subject: Re: TMS320C25 AND C
Date: 27 Jan 93 02:05:06 GMT
Reply-To: diamond@jit.dec.com (Norman Diamond)
Organization: Digital Equipment Corporation Japan , Tokyo

In article <1993Jan26.165328.1@sask.usask.ca> uttamchandan@sask.usask.ca writes:
>I WNAT TO READ DATA FROM A FILE AND WRITE TO MEMORY ADDRESS SAY 
>BASE_IN=7000..

The standard allows integers to be cast to pointers, though the result is
implementation-defined.  Consider something like:
  char *BASE_IN;
  BASE_IN = (char *) 7000;
  fread (BASE_IN, whatever_size, 1, whatever_file);
(Or if you meant 7000 as a hexadecimal address then say 0x7000.)

>THEN READ IT .. PROCESS IT... THEN WRITE TO MEMEORY AT BASE_OUT=10000

  char some_char;
  char *BASE_OUT;
  BASE_OUT = 10000;
  some_char = *BASE_IN;
  *BASE_OUT = process(some_char);

This has been a service of the comp.std-and-homework-server.c newsgroup.
--
Norman Diamond                diamond@jit.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.
Pardon me?  Or do I have to commit a crime first?
From: hahn@csd4.csd.uwm.edu (David James Hahn)
Newsgroups: comp.emacs
Subject: Help (Location of help...)
Date: 22 Jan 1993 01:40:34 GMT
Organization: Computing Services Division, University of Wisconsin - Milwaukee
Distribution: usa
NNTP-Posting-Host: 129.89.7.4
Originator: hahn@csd4.csd.uwm.edu


Hey all.  I'm taking a class that I need to use emacs (for LISP). 
I've used VI all these years, and am finding that learning EMACS is more
difficult than learning LISP.  What I'm asking is, if there is an archive
location with some basic (not manuals...) type help of commands for
emacs. Help with emacs in general would be nice, but even nicer would
be a help file/manual or whatever, that includes the interactive lisp/emacs
commands (such as ESC-X run-lisp), that type of thing.   I would really
appreciate a direction to look, and email repsonses. (I obviouslly don't
read this newsgroup, or I'd not be asking for help...)

					Thanks much,
		
						David
-- 
David Hahn
University of Wisconsin : Milwaukee 
hahn@csd4.csd.uwm.edu
Newsgroups: comp.emacs
From: geoff@ficus.cs.ucla.edu (Geoffrey Kuenning)
Subject: Re: hand injuries
Organization: UCLA, Computer Science Department
Date: Wed, 27 Jan 93 20:30:05 GMT

Reportedly, Peter G. Neumann (moderator of comp.risks) has a modified
keyboard which has pedals for the shift, control, and alt keys.  I'd
guess it does wonders for that sore-little-finger syndrome...
-- 
	Geoff Kuenning	geoff@maui.cs.ucla.edu	geoff@ITcorp.com
Newsgroups: comp.emacs
From: clarkw@utdallas.edu (WILLIAM D CLARK)
Newsgroups: comp.emacs
Subject: Re: hand injuries
Date: 26 Jan 93 22:16:28 GMT
Organization: Univ. of Texas at Dallas


If you're used to vi's keystrokes, try vip mode (version 4.3 is MUCH better
than version 3.5) or evi mode.

Bill Clark
clarkw@utdallas.edu
From: michael@resonex.com (Michael Bryan)
Newsgroups: comp.emacs
Subject: Re: hand injuries
Date: 27 Jan 93 11:55:38 GMT
Organization: Resonex Inc., Sunnyvale CA

In article <C1HqBo.9ru@rice.edu> sbyrnes@rice.edu (Steven Byrnes) writes:
>
>No, sorry.  I've been thinking seriously about getting a chording keyboard
>lately, though.  Of course, thinking about it doesn't count.  :-)

I'd *love* to try out the DataHand.  It looks like it is a remarkable
device, and might be just what I need.  However, until they go into
normal production, and the $2K pricetag is significantly reduced,
I'm afraid I won't be able to get one.

-- 
Michael Bryan     michael@resonex.com
From: grossjoh@bonny.ls6.informatik.uni-dortmund.de (Kai Grossjohann)
Newsgroups: comp.emacs
Subject: Re: auto-fill-mode
Date: 26 Jan 93 15:31:38
Organization: Universitaet Dortmund, Lehrstuhl Informatik VI
	<C1FMB6.3nn@iapa.uucp%mailhost.ecn.uoknor.edu>
	<1993Jan26.045634.28599@sarah.albany.edu>
Reply-To: Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de>
NNTP-Posting-Host: bonny.informatik.uni-dortmund.de
In-reply-to: cc2955@sarah.albany.edu's message of Tue, 26 Jan 93 04:56:34 GMT
Comments: Hyperbole mail buttons accepted, v3.06.

>>>>> On Tue, 26 Jan 93 04:56:34 GMT,
>>>>> cc2955@sarah.albany.edu (Charley Chen) said:

  Charley> I ask before about how to get auto-fill-mode on whenever I use
  Charley> emacs and lots of people reponded and all the reponse were the same

  Charley>    (setq text-mode-hook
  Charley>          '(lambda () (auto-fill-mode 1)))

  Charley> but from what I can see I need to be in text mode or something.
  Charley> Usually get the (Fundamental) mode and I still do, even after
  Charley> putting in that thing in my .emacs.  My question now is that do I
  Charley> have to compile it or do I need something that will switch me to
  Charley> text mode right away?  Thanks.

Hmmm... The idea in Emacs is that you don't want auto-fill-mode for, say C
source files or other source code files. So they think that for each kind of
file there is a special mode that does the right thing. If you really want,
you can get auto-fill-mode for every file you visit by saying:

	(setq find-file-hooks
	      '(lambda () (auto-fill-mode 1)))

Note, however, that not every buffer belongs to a file. The *scratch* buffer
you get when you start up Emacs without args does not belong to a file, so
auto-fill-mode will be off there.

However, I do not miss the feature of having auto-fill-mode in every buffer
because my text files are usually in TeX-mode or LaTeX-mode or mail-mode or
news-mode or something.

	Hope this gives you some info,
	/Kai
--
  Kai Grossjohann            Phone (voice): 49 231 75 30 15
  Baroper Str. 331 App. 510  E-Mail: 
  W-4600 Dortmund 50         grossjoh@ls6.informatik.uni-dortmund.de
  Germany                   
--
Newsgroups: comp.emacs
From: dfox@quack.sac.ca.us (David Fox)
Subject: Re: describe variable
Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
Distribution: comp
Date: 28 Jan 1993 06:52:08 UTC

In article <GUNNAR.93Jan27154814@logsvo.sundsvall.trab.se> gunnar@sundsvall.trab.se (Gunnar.Bostrom) writes:
>I know that it is possible to describe a variable with C-h v but is it
>possible to describe all variables that matches a regular expression?
>The result should be stored in a buffer.

I know that apropos (C-h a) works for functions, and I don't see any reason
why it shouldn't work for variables as well.  I just haven't tried it.

>Gunnar Bostrom                        
>Telia Research AB		E-mail: Gunnar.Bostrom@sundsvall.trab.se
>Box 883                         Tel: +46 60 161457
>S-851 24 Sundsvall, Sweden      Fax: +46 60 122944


-- 
------------------------------------------------------------------------
in real life: david fox            email: dfox@quack.sac.ca.us
5479 Castle Manor Drive,                  
San Jose, CA 95129                 "Thanks for letting me change some
USA                                 magnetic patterns on your HD" -me
408-253-7992                        
"You've just won an absolutely FREE trip to the Isles of Langerhans" -me
------------------------------------------------------------------------
Newsgroups: comp.emacs,gnu.emacs.hlp,alt.religion.emacs,sci.med.occupational
From: ejh@khonshu.colorado.edu (Edward J. Hartnett)
Subject: Re: hand injuries from EMACS
Organization: CIRES, University of Colorado
Date: 28 Jan 93 11:32:31

In article <C1JuEH.Mu3@world.std.com> ari@world.std.com (Ari I Halberstadt) writes:

   In article <1993Jan27.181411.9154@smos.com> david@smos.com (David Tornheim) writes:
   (article on how to avoid damage from Emacs keyboarding)
   > 13) Study martial arts.

   Not all martial arts were created equal. Aikido, which I have been
   forced to stop practicing, uses a lot of wrist grasps and
   twisting/bending motions. It also involves a lot of rolling around,
   which if not done properly can damage the shoulder and neck (wrist
   injury is probably possible as well). Martial arts that involve
   punching heavy bags or [padded?] opponents may also cause wrist
   damage.

As the one who originally suggested martial arts as a good way to keep
your muscles strong and flexible, I feel I should add in every school
and style I have studied (4 styles, maybe 10 schools) punching the
heavy bag, sparring, and punching pads with power has been a small
part of the training. Most of the training is done just punching the
air or such, and use of heavy bags, while encouraged, is not necessary
to get the benifits of martial arts. Of course, you'll want to do it
occasionally, just to get the feel, but it's not like you do it every
night, or even every week.

Also any good instructor, when informed of your medical concerns and
or problems will take care to tailor your training to get maximum
benifit and not increase your problems.

One good thing about the martial arts is that, unlike, for example,
football or jogging, there is no one part of the body that needs to be
used. You use what you have, and learn to take the most advantage of
what you have to work with. For example I knew one very advanced
student who had no right foot. It's hard to imagine any other physical
activity in which he could excell, yet it made little difference in
karate. There are styles and techniques that are appropriate for
almost any situation.

My original suggestion was not entirely serious, but I did know
another guy who's problems with carpal tunnel syndrome cleared up when
he started martial arts. MA is in general a very safe and healthful
study for people of all ages and physical conditions.

Now if only I could write a karate major mode for emacs.
--
	Don't blame me, I voted against Amendment 2!

Edward Hartnett				ejh@khonshu.colorado.edu
Newsgroups: comp.emacs
Subject: Is there a lint-mode (or something similar)?
From: solomon@pa621a.inland.com (Paul J. Solomon)
Date: 22 Jan 93 10:34:56 CDT
Organization: Inland Steel Company, East Chicago, IN
Nntp-Posting-User: skolly

Has anyone written any utilities to be used with LINT?  For example, (similar
to the GREP stuff), having the ability to send LINT output to an emacs
window.  Once this is done, the user can put the cursor on a (error/warning)
line and make a certain key combination.  This would take the user to that
line in the source code.

-paul.
-- 
----------------------------------------------------------------------
| Paul J. Solomon            |  "Consequences, Schmonsequences...    |
| solomon@pa621a.inland.com  |       as long as I'm RICH!!!"         |
| Inland Steel Co.           |             -Daffy Duck               |
----------------------------------------------------------------------
Newsgroups: comp.emacs
From: dan@mdbs.uucp (Daniel Lawrence)
Subject: MicroEMACS Release Schedule
Followup-To: comp.emacs
Summary: MicroEMACS v3.12
Keywords: uEMACS v3.12
Reply-To: mdbs!dan@dynamo.ecn.purdue.edu (Daniel Lawrence)
Organization: Micro Data Base Systems, Lafayette, Indiana
Date: Tue, 26 Jan 93 21:04:24 GMT

	Just to keep everyone up to date, MicroEMACS v3.12 is currently
in BETA testing and I am planning on releasing it in early April. This
new release includes a wonderfull new MicroSoft Windows version ported
by Pierre Perot, and a MSDOS DPMI protected mode version (using Rational
Systems, Inc. DOS16M product) which allows using all of memory for
editing. Look forward for this in April. (I have over 50 BETA sites, so
I can, unfortunatly, not accept any more at this time).

			Daniel Lawrence  voice: (317) 742-5153
					  arpa:	mdbs!dan@dynamo.ecn.purdue.edu
				The Programmer's Room 
				Fido: 1:201/10 - (317) 742-5533


Newsgroups: comp.emacs
From: warsaw@nlm.nih.gov (Barry A. Warsaw)
Subject: Re: hand injuries
Reply-To: warsaw@nlm.nih.gov (Barry A. Warsaw)
Organization: Century Computing, Inc.
Date: 26 Jan 93 21:02:32 GMT


I keep hearing about new key input devices (not keyboards) which are
supposed to be much better for your hands. Can anybody give more
information on these things and does anybody use one regularly?  Any
Sun type-4 replacements available?

-Barry
Newsgroups: comp.emacs
From: gbb@unislc.uucp (Gregg Beardsley)
Subject: [emacs on u6000/65]
X-Newsreader: TIN [version 1.1 PL6]
Organization: Unisys Corporation SLC
Date: Tue, 26 Jan 1993 17:43:45 GMT

I'm trying to install emacs on a UNISYS U6000/65 (SVR4) and having problems
with xmakefile in src directory. If anyone has done this and might have 
some suggestions, I would appreciate the help.    


-- 
Gregg Beardsley      INET gbb@unislc.slc.unisys.com
                     UUCP ...!{hpda, sun, uplherc}unislc!gbb
                     VOICE: (801) 594-5599
From: jaitken@csugrad.cs.vt.edu (Jeff Aitken)
Newsgroups: comp.emacs
Subject: Re: hand injuries
Date: 27 Jan 93 08:04:17 GMT
Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
X-Newsreader: Tin 1.1 PL4

david@smos.com (David Tornheim) writes:
: I have used EMACS for about 8 years now and have sworn by it, since
: I can use it on almost every machine.  Unfortunately, I've noticed that
: my hands hurt quite a bit at the end of the day, _especially_ when
: I edit files with EMACS.  The frequent use of the CNTL key combined
: with another key is the motion that is most painful. (e.g. I use C-b and
: C-f a lot to move around within a line, since commands like M-F and
: M-B actually take longer).  Because of this, I'm seriously considering
: switching over to the evil VI editor to save my hands from permanent
: damage (no kidding!).  Is anyone else in the same boat? Does anyone
: have other suggestions?
: 
: -David Tornheim


     Well, I don't know if anyone else has ever heard of this, but
there are some kind of gloves made just for this type of problem.
They are made from spandex-like material and look like weightlifting
gloves (i.e., they have the finger ends cut off)  Now, I've only seen
them once and have absolutely no idea if they work or not, but since
you are having problems you may want to ask around.  In fact, if you'd
like, I can try and track down the person who I saw had them.

-- 
Jeff Aitken                     |     
jaitken@csugrad.cs.vt.edu       |     Everyone is allowed to be stupid.
DEC User's Group Vice President |     It's  just that some people abuse
Va. Tech Computer Science Dept. |     the priviledge.
From: wa95003@black.ox.ac.uk (Martin J Bligh)
Newsgroups: comp.emacs
Subject: Re: hand injuries
Date: 27 Jan 93 10:34:59 GMT
Organization: Oxford University, UK
Originator: wa95003@black

In article <1993Jan26.002855.29015@smos.com> david@smos.com (David Tornheim) writes:
>I have used EMACS for about 8 years now and have sworn by it, since
>I can use it on almost every machine.  Unfortunately, I've noticed that
>my hands hurt quite a bit at the end of the day, _especially_ when
>I edit files with EMACS.  The frequent use of the CNTL key combined
>with another key is the motion that is most painful. (e.g. I use C-b and
>C-f a lot to move around within a line, since commands like M-F and
>M-B actually take longer).  Because of this, I'm seriously considering
>switching over to the evil VI editor to save my hands from permanent
>damage (no kidding!).  Is anyone else in the same boat? Does anyone
>have other suggestions?

Why not just configure emacs to use your cursor keys? This should save
most of the wear & tear.

Fletch
Newsgroups: comp.emacs
From: colakovi@en.ecn.purdue.edu (Nick R Colakovic)
Subject: Mapping ^H in Emacs for a HP-UX 8.0 machine running VUE.
Followup-To: colakovi@ecn.purdue.edu
Keywords: emacs,hp-ux,vue,delete 
Organization: Purdue University Engineering Computer Network
Date: Tue, 26 Jan 93 17:33:37 GMT


I have recently installed the Unofficial HP Emacs distribution on a HP
700 series machine running HP/UX 8.0.
	I succeeded in compiling emacs on this system but am faced
with a problem in using it in X.  The system uses HP's VUE X
environment.  The problem is that the keyboard's backspace (delete) is
mapped to ^H.  This means that while in a X window pressing the
backspace key results in calling up the emacs help system.  Unlike
most keyboards that I have used, there appears to be no delete or
backspace key mapped to ^?.  
	Is there a way in this distribution to map ^H to the normal
backspace-delete while in X?  I understand that this is not an easy
thing to deal with, but I have seen a similiar thing done on a Apollo
system.
---
*****************************************************************************
| Nick R. Colakovic                  | Internet: colakovi@en.ecn.purdue.edu |
| School of Electrical Engineering   | Phone   : (317) 743-0642             |
| Purdue University                  |                                      |
*****************************************************************************


-- 
*****************************************************************************
| Nick R. Colakovic                  | Internet: colakovi@en.ecn.purdue.edu |
| School of Electrical Engineering   | Phone   : (317) 743-0642             |
| Purdue University                  |                                      |
From: goodhear@husc8.harvard.edu (Eric Goodheart)
Newsgroups: comp.emacs
Subject: etags.zip
Keywords: How to get?
Date: 27 Jan 93 06:25:59 GMT
Article-I.D.: husc.goodhear.728115959

I want to run etags on my pc.  Archie tells me that an etags utility
exists for the pc.  It seems to be found in freemacs directories at
anonymous ftp sites.  But everytime I try to download it, the server
returns:  Permission denied.  So where do I find a version of etags in
the public domain?  Does the animal exist?

Eric Goodheart
From: kinsellaj@ul.ie
Newsgroups: comp.emacs
Subject: Keymaps for Wordstar-type emulation
Date: 19 Jan 93 10:59:59 GMT
Organization: University of Limerick, Ireland

I am trying to set up a keymap for Gnu Emaps using the .emacs file. I am using
emacs 18.59 on a DEC Ultrix workstation. I am using Telnet to emulate a vt100
terminal.

I wish to map the Ctrl left and right arrow key combinations (like in the
Wordstar-type editors such as the Borland Turbo IDE) into forward-word and 
backward-word respectively.

I tried using global-set-key:

(global-set-key "\C-]" 'forward-word)

(the above works for the Ctrl-] combo, but when I enter the escape seq for 
rightarrow instead of ], emacs does't like it!

Any suggestions gratefully received, either to this newsgroup or via e_mail to

KINSELLAJ@UL.IE

Thanks

John Kinsella
Dept. of Mathematics
University of Limerick
Limerick
IRELAND
From: huang@dcdwest.uucp (William Huang)
Newsgroups: comp.emacs
Subject: core restart
Summary: how to move a process to another machine
Keywords: core debugger dbx gdb
Date: 21 Jan 93 20:57:26 GMT
Followup-To: dedwest!huang@ucsd.edu
Distribution: usa
Organization: ITT Aerospace/Communications Division - West

I hope this is not too dumb of a question as I have not
been monitering this newsgroup .... and I don't even think this
is the appropriate newsgroup except that people in this newsgroup
are very smart .... but
 
I need a way to restart from core.  In other word, if I have a program
that takes several day to run.  In the middle of the excution, someone
says get your $#@$% process off this machine or I'll shove the $%#$ your #@$#$
up the #$^@$ to smitherines.  What I would like to be able to do is
to kill -BUS that job.  Then evoke a debugger like gdb, attach it
or load the core, and continue execution from where it left off on
another machine.
 
Is this possible?  How is this done?
 
 
Bill Huang
dcdwest!huang@ucsd.edu
From: jaitken@csugrad.cs.vt.edu (Jeff Aitken)
Newsgroups: comp.emacs
Subject: Re: auto-fill-mode
Date: 27 Jan 93 08:00:18 GMT
Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
X-Newsreader: Tin 1.1 PL4

cc2955@sarah.albany.edu (Charley Chen) writes:
: 
: Can someone tell me how to have auto-fill-mode on everytime I use emacs?  
: besides using M-x auto-fill-mode everytime I use it.  Thanks
: 
: 
: 	Charley


     I don't know if this will do it or not, but I have the following
line in my .emacs file and it seems to do what you're asking:

(setq-default auto-fill-hook 'do-auto-fill)

 Hope this helps!

-- 
Jeff Aitken                     |     
jaitken@csugrad.cs.vt.edu       |     Everyone is allowed to be stupid.
DEC User's Group Vice President |     It's  just that some people abuse
Va. Tech Computer Science Dept. |     the priviledge.
Newsgroups: comp.emacs
From: david@smos.com (David Tornheim)
Subject: hand injuries
Organization: S-MOS, Inc
Date: Tue, 26 Jan 1993 00:28:55 GMT

I have used EMACS for about 8 years now and have sworn by it, since
I can use it on almost every machine.  Unfortunately, I've noticed that
my hands hurt quite a bit at the end of the day, _especially_ when
I edit files with EMACS.  The frequent use of the CNTL key combined
with another key is the motion that is most painful. (e.g. I use C-b and
C-f a lot to move around within a line, since commands like M-F and
M-B actually take longer).  Because of this, I'm seriously considering
switching over to the evil VI editor to save my hands from permanent
damage (no kidding!).  Is anyone else in the same boat? Does anyone
have other suggestions?

-David Tornheim
Newsgroups: comp.emacs
From: jabram@pdx025.intel.com (Jeff Abramson)
Subject: Re: hand injuries
Organization: Intel Corp., Hillsboro, Oregon
Date: Tue, 26 Jan 1993 15:19:13 GMT


In article <1993Jan26.002855.29015@smos.com> david@smos.com (David Tornheim) writes:

   I have used EMACS for about 8 years now and have sworn by it, since
   I can use it on almost every machine.  Unfortunately, I've noticed that
   my hands hurt quite a bit at the end of the day, _especially_ when
   I edit files with EMACS.  The frequent use of the CNTL key combined
   with another key is the motion that is most painful. (e.g. I use C-b and
   C-f a lot to move around within a line, since commands like M-F and
   M-B actually take longer).  Because of this, I'm seriously considering
   switching over to the evil VI editor to save my hands from permanent
   damage (no kidding!).  Is anyone else in the same boat? Does anyone
   have other suggestions?

Your hands probably hurt for reasons other then using EMACS.  When you type,
do you rest your wrists on a table, desk, or wristpad?  You shouldn't.  Are
your wrists bend with respect to your lower arms?  They shouldn't be.  Both of
these reasons are more likely to damage your hand muscles, and cause soreness.
The wristpads that are so popular should NOT be used while typing, this is a
myth.  They should only be used to rest your wrists when NOT typing.

I think there is one reason why you should stay with EMACS, it is
customizable, therefore it should take less effort to do anything then it does
in VI.  Is your control key below the left shift next to the spacebar?  If so,
switch it with your Caps Lock key.  I have both caps lock and control bound to
control.  I do not know how to do it within emacs, because I have it globally
bound in my xsession using xmodmap:

        # Caps lock should work like control.
        #
        xmodmap -e "clear Lock"
        xmodmap -e "add Control = Caps_Lock"

We've just had extensive ergonomic training, at believe it or not, it does
make a difference how you sit and how you type.  If your computer time is work
related, then your company should order furniture and provide training. Lots
of tools can be blamed also, but you can customize EMACS to make it not one of
them.

I tried not to make this a public service announcement, but I hope that some
people can use this info that was given to me not too long ago...

--Jeff
--
--Jeff Abramson
  Microprocessor Division 6                    jabram@ichips.intel.com
  Intel Corporation, Hillsboro OR                       (503) 696-4784
Newsgroups: comp.emacs