Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Problem with Notepad
@ 1992-04-27 16:32 Yuan-Liang Tang
  1992-04-27 18:13 ` Michael Stoodt
  1992-04-29  1:31 ` Steve Wald
  0 siblings, 2 replies; 3+ messages in thread
From: Yuan-Liang Tang @ 1992-04-27 16:32 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with Notepad
  1992-04-27 16:32 Problem with Notepad Yuan-Liang Tang
@ 1992-04-27 18:13 ` Michael Stoodt
  1992-04-29  1:31 ` Steve Wald
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Stoodt @ 1992-04-27 18:13 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with Notepad
  1992-04-27 16:32 Problem with Notepad Yuan-Liang Tang
  1992-04-27 18:13 ` Michael Stoodt
@ 1992-04-29  1:31 ` Steve Wald
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Wald @ 1992-04-29  1:31 UTC (permalink / raw)


In article <&mdHwb$-6@cs.psu.edu> yltang@bree.endor.cs.psu.edu (Yuan-Liang Tang) writes:
>
>    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. 
>- Tang

I haven't seen ^M or ^H creep into the file, but dxnotepad WILL insert
an invisible <escape> for you whenever you touch you ESC key by mistake.
This kinda hurts anyone used to vi. I'm hitting ESC all the time.

I'm still waiting for any of these UNIX vendors to come up with a real
edit window like Apollo's dm editor. That was usable.


--
Steve Wald, Motorola Inc.
wald@borg.sps.mot.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1992-04-29  1:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-04-27 16:32 Problem with Notepad Yuan-Liang Tang
1992-04-27 18:13 ` Michael Stoodt
1992-04-29  1:31 ` Steve Wald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox