From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f23f3badef927365 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-04-27 11:13:40 PST Path: sparky!uunet!ulowell!m2c!nic.umass.edu!cis.umassd.edu!stoodt From: stoodt@cis.umassd.edu (Michael Stoodt) Newsgroups: comp.sys.dec Subject: Re: Problem with Notepad Message-ID: <1992Apr27.181340.19504@cis.umassd.edu> Date: 27 Apr 92 18:13:40 GMT References: <&mdHwb$-6@cs.psu.edu> Distribution: usa Organization: University of Massachusetts Dartmouth In <&mdHwb$-6@cs.psu.edu> yltang@bree.endor.cs.psu.edu (Yuan-Liang Tang) writes: >Hi all, > I have a bizarre problem regarding the "Notepad" of DECstations -- >it sometimes inserts some control characters, such as ^M, ^H, ..., in >the file, which are not visible from using the Notepad. I got this >problem when I tried to compile a C program. The compiler complained >about "incorrect syntex" and it is due to the control characters >inserted by the Notepad. I found out the problem by using "vi" to edit >the file, where you can actually SEE the control characters. > Does anybody have the same problem? I am using DECstation 5000/240 >running Ultrix 4.2A. >- Tang I've had students end up with octal 240's in their source code files. What happens is they use the ComposeCharacter key for Alt-S Save commands or such, but dxnotepad then leaves the keyboard's compose flag (and LED) set, so the next character or two that gets typed gets mangled into something unrecognizable. I use this as an argument that they should be using Emacs (which handles the ComposeCharacter key quite nicely) instead of dxnotepad... Michael Stoodt