Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 1995 10:59:05 +0300
From:      kallio@jyu.fi (Seppo Kallio)
To:        freebsd-questions@FreeBSD.org
Subject:   ** Problem with direct emacs+Macintosh NCSA Telnet 2.6 **
Message-ID:  <v01510104abef263bbeb4@[130.234.41.39]>

index | next in thread | raw e-mail

Hi

I have one node with FreeBSD 2.0 and one with SNAP-950412

Both have same problem with emacs if I do telnet directly from my Macintosh:

1. In emacs C-c does not work. 2. When I return to emacs with fg after
Control-Z, emacs seems to be in line mode.

I can se no differences in set or env output. stty -a has some differences:
Direct NCSA Telnet has: stty -a
speed 9600 baud; 50 rows; 80 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
        -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
        extproc
iflags: istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
        brkint -inpck -ignpar -parmrk
oflags: opost onlcr -oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
        min = 1; quit = ^C; reprint = ^R; start = ^Q; status = <undef>;
        stop = ^S; susp = ^Z; time = 0; werase = ^W;

Indirect NCSA Telnet has: stty -a differences in
-extproc
-istrip
quit = ^\

Changing them seem to have no efect.

It seems that emacs is doing something to terminal parameters. It is acting
differently after visiting emacs. But nothing is wisible in stty -a.

-----------------------------

If I start emacs with "emacs" and type som text the screen is:

--------------------------------------------------------------------------
Test text to scratch

--**-Emacs: *scratch*         (Lisp Interaction)--All---------------------
Symbol's value as variable is void: scratch

What is this "Symbol's value as variable is void: scratch"

If I do Control-Z screen looks like this:

--------------------------------------------------------------------------
Test text to scratch

Suspended
         itu:~%

--**-Emacs: *scratch*         (Lisp Interaction)--All--------------------
Symbol's value as variable is void: scratch

The Suspended is in the meiddle of the screen.

If I do fg and then C-x C-c I am getting

-------------------------------------------------------------------------
Test text to scratch

Suspended
         itu:~% fg
emacs
^X^C

--**-Emacs: *scratch*         (Lisp Interaction)--All--------------------
quit

--------

If I first telnet to some other node and then telnet into FreeBSD node, no
problems.


Seppo





help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v01510104abef263bbeb4>