[fa.info-vax] An ioctl

info-vax@ucbvax.ARPA (05/13/85)

From: newman%umass-cs.csnet@csnet-relay.arpa



    i am looking for an implementation of the Unix ioctl() function
to run under Vax-11 C.  The only one i know of is part of the Eunice
Unix emulator, and i want this to run on non-Eunice systems.  As a
proper implementation would undoubtedly require new versions of ALL
the Vax-11 C i/o routines, i thought it smart to ask around first.
Obviously, some features will be lost in the transition, but i really
need this function.
     It's kind of ironic that the reason i need the Unix-emulating
routines is to support moving a new window package (to replace curses)
from VMS to Unix -- just when DEC went to the trouble of putting curses
into Vax-11 C v2.0.


					Neville D. Newman
					University of Massachusetts

				newman%umass-cs.CSNET@CSnet-Relay.ARPA

info-vax@ucbvax.ARPA (05/24/85)

From: decwrl!decvax!seismo!rochester!rocksanne!sunybcs!acsgrlk@BERKELEY (Bob Lay Kong)

	If you do get some equivalent for ioctl for VMS can you 
	please mail me a copy...

				Thanks...
				Bob Kong

				sunybcs!acsgrlk

info-vax@ucbvax.ARPA (05/24/85)

From: sasaki@harvard.ARPA (Marty Sasaki)

I'm working on a basic ioctl() interface for terminals. I realized that I
needed to do this when I finally got around to trying to port GNU EMACS. I'll
post a message when the library gets done.

			Marty Sasaki

info-vax@ucbvax.ARPA (05/24/85)

From: Rudy.Nedved@CMU-CS-A.ARPA

Well,

I have a simple ioctl() interface for RAW/ECHO but alas I have
an extra call in my init and uninit screen routines that mashes
the VAX-11 C runtime system to
	1) not add CR for every LF
	2) not to delay the last character if it is a LF

You see I ported EMACS over from our Unix machines and discovered
that when I told EMACS to go to column 12 it 1) did not go there
until I did another command (like two control-Ns) or 2) it went
to column 15 and then went down a line.

Unix assumes that the tty driver handles EOL => CRLF. VMS on the
other hand has this weird concept of EOL so you can't easily
map EOL => CRLF...more like EOL => CR <wait for data> LF <data>.

The other problem we recently hit is that VAX-11 C runtime
library does $GET and $PUT on files and fails terribly if the
file has no records and is one continuous long file. I believe
(though I have not seen it myself) that DEC's RUNOFF generates
such "funny" files.

-Rudy

info-vax@ucbvax.ARPA (05/31/85)

From: ihnp4!uw-beaver!ssc-vax!stanford@BERKELEY (Stanford N Payzer)

Just read an article in which you mention porting Emacs to VMS. Is this a
publicly available VMS Emacs? Our system manager refuses to spend $2k for the
commercially available Emacx.

info-vax@ucbvax.ARPA (06/04/85)

From: decwrl!amdcad!vecpyr!greg@BERKELEY (Greg Millar)

Let me in on the info also please.


		
			Greg Millar

			...{ucbvax,decwrl}!dual!vecpyr!greg
			Visual Engineering, Inc.  
			2680 N. First
			San Jose, CA 95134
			(408) 945-9055

info-vax@ucbvax.ARPA (06/05/85)

From: ulysses!mhuxr!mhuxt!houxm!hou2d!afb3@BERKELEY

Add me to your list of interested parties!!


Al Baldwin
AT&T-Bell Labs
...!ihnp4!hou2d!afb3


[These opinions are my own....Who else would want them!!!]