🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87593

Re: ^Y on hpux9 in no-window mode loses

#87593
From: dbrooks
Date: Thu, 15 Sep 1994 18:42
34 lines
2000 bytes
You wrote:

> 2) I can't duplicate the problem.  I just tried emacs -nw on my
>    hpux9.05 emacs-19.26.  \C-y is doing yank.  Do you only see this if
>    stty is set for the delayed suspend thing before you start emacs?
>    How can I duplicate this problem so I can try to fix it?

I get it on 9.05, using cc and gcc.  The answer to your question is yes; I
have ^Y set, and "stty dsusp ^-" makes the problem go away (I forgot to
mention that in the original report).  Here are my settings:

$stty -a
speed 9600 baud; line = 0; susp = ^Z; dsusp = ^Y
rows = 24; columns = 80
intr = ^C; quit = ^\; erase = ^H; kill = ^U; swtch = ^@
eof = ^D; eol = ^@; min = 4; time = 0; stop = ^S; start = ^Q
parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts 
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
ixon -ixany -ixoff -rtsxoff -ctsxon -ienqak 
isig icanon iexten -xcase echo echoe echok -echonl -noflsh 
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop 

I think dsusp gets set because I have this in my X defaults:

*ttyModes: erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z dsusp ^Y

but you can also use stty dsusp ^Y.

As I said, tcsetattr is the only documented way of setting it using
termios.  There *is* a definition for VDSUSP in /usr/include/sys/tty.h, but
that's a red herring.

David Brooks
ICS
Technical Details
Message-ID: <9409151835.AA13117@sunburn>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!usc!math.ohio-state.edu!cis.ohio-state.edu!ics.com!dbrooks

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,473ca912e1dc099e,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-09-16 07:04:17 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!usc!math.ohio-state.edu!cis.ohio-state.edu!ics.com!dbrooks
From: dbrooks@ics.com
Newsgroups: gnu.emacs.bug
Subject: Re: ^Y on hpux9 in no-window mode loses
Date: 15 Sep 1994 14:42:49 -0400
Organization: GNUs Not Usenet
Lines: 34
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9409151835.AA13117@sunburn>