Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Kevin Stevens


On Sun, 2 Feb 2003, Rich Fox wrote:
 I use a MacOS X workstation to connect to my FreeBSD box where I use Pine
 to compose these emails.
 Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
 which are used to postpone messages in Pine. Thus, when I use the key
 combination ctrl+o it never reaches the remote machine (or at least it
 doesn't appear to, but it doesn't appear to do anything at all on either
 machine.)

Works fine here.  I just postponed this reply in mid-sentence.  FreeBSD
4.7, standard pine 4.53 from ports.  I've been doing this since OS X
10.0.1 (currently 10.2.3) with the various pine builds in use since then.
You have some other problem.

KeS

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Rich Fox
Hi,

Thanks for the response.

Perhaps it is some other problem, but it is only manifest in Terminal.
I have no problem with this using BetterTelnet in emulation.

Any advice on how to troubleshoot it?

Rich.

 | Rich Fox
 | [EMAIL PROTECTED]
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050

On Sun, 2 Feb 2003, Kevin Stevens wrote:



 On Sun, 2 Feb 2003, Rich Fox wrote:
  I use a MacOS X workstation to connect to my FreeBSD box where I use Pine
  to compose these emails.
  Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
  which are used to postpone messages in Pine. Thus, when I use the key
  combination ctrl+o it never reaches the remote machine (or at least it
  doesn't appear to, but it doesn't appear to do anything at all on either
  machine.)

 Works fine here.  I just postponed this reply in mid-sentence.  FreeBSD
 4.7, standard pine 4.53 from ports.  I've been doing this since OS X
 10.0.1 (currently 10.2.3) with the various pine builds in use since then.
 You have some other problem.

 KeS

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Chuck Swiger
Rich Fox wrote:
[ ... ]

Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
which are used to postpone messages in Pine. Thus, when I use the key
combination ctrl+o it never reaches the remote machine (or at least it
doesn't appear to, but it doesn't appear to do anything at all on either
machine.)
Can anyone advise me on what I can use to change this?


Do a stty -all, and see what the quote character is set to.  Normally, 
it's cntl-v, but maybe it's cntl-o.  Or trying doing a cntl-v, cntl-o 
combination and see whether that gets the control character through.

-Chuck




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Mike Meyer
In [EMAIL PROTECTED], Rich Fox [EMAIL PROTECTED] 
typed:
 Hi
 
 I use a MacOS X workstation to connect to my FreeBSD box where I use Pine
 to compose these emails.
 Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
 which are used to postpone messages in Pine. Thus, when I use the key
 combination ctrl+o it never reaches the remote machine (or at least it
 doesn't appear to, but it doesn't appear to do anything at all on either
 machine.)
 Can anyone advise me on what I can use to change this?

Check the stty -all as already suggested here. My discard character
is set to to Control-O, and I haven't changed it so I believe that is
the default setting.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Rich Fox
Hi,

Thanks, I think that found the issue, however...

an stty -a returns...
[snip]
cchars: discard = ^O; dsusp = ^Y; eof
[snip]

man termios says:

DISCARD
Special character on input and is recognized if the IEXTEN flag
is set.  Receipt of this character toggles the flushing of termi-
nal output.


Unfortunately, I can't quite make out where this is set when reading the
various man pages regarding terminals.

In gettytab, I see:
# cflags: CLOCAL | HUPCL | CREAD | CS8
# oflags: OPOST | ONLCR | OXTABS
# iflags: IXOFF | IXON | ICRNL | IGNPAR
# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
#
# The `0' flags don't have input enabled.  The `1' flags don't echo.
# (Echoing is done inside getty itself.)
#

IEXTEN being the critter than enables or disables this functionality, and
sys/termios.h has this:

#define IEXTEN  0x0400  /* enable DISCARD and LNEXT */

However, under the local.9600 setting in gettytab, I don't see a setting
that matches IEXTEN...

local.9600|CLOCAL tty @ 9600 Bd:\
:c0#0xc300:c1#0xcb00:c2#0xcb00:\
:o0#0x0007:o1#0x0002:o2#0x0007:\
:i0#0x0704:i1#0x:i2#0x0704:\
:l0#0x05cf:l1#0x:l2#0x05cf:\
:sp#9600:

A grep'ing of the gettytab does not return any relevant data.

Am I even barking in the right forest?

Thanks,
Rich.

 | Rich Fox
 | [EMAIL PROTECTED]
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050

On Sun, 2 Feb 2003, Chuck Swiger wrote:

 Rich Fox wrote:
 [ ... ]
  Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
  which are used to postpone messages in Pine. Thus, when I use the key
  combination ctrl+o it never reaches the remote machine (or at least it
  doesn't appear to, but it doesn't appear to do anything at all on either
  machine.)
  Can anyone advise me on what I can use to change this?

 Do a stty -all, and see what the quote character is set to.  Normally,
 it's cntl-v, but maybe it's cntl-o.  Or trying doing a cntl-v, cntl-o
 combination and see whether that gets the control character through.

 -Chuck




 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Chuck Swiger
Rich Fox wrote:

Thanks, I think that found the issue, however...

an stty -a returns...
	[snip]
	cchars: discard = ^O; dsusp = ^Y; eof
	[snip]

[ ... ]

Am I even barking in the right forest?


Yes.  If you've also got lnext set like so:

lnext   min quitreprint start   status  stopsusptime
^V  1   ^\  ^R  ^Q  ^T  ^S  ^Z  0

...then typing ^V ^O should send a literal cntl-O to pine.  Cntl-v is 
used to quote shell line-editing characters.

-Chuck

PS: http://www.freebsd.org/cgi/query-pr.cgi?pr=47815 :-)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Kevin Stevens

On Sunday, Feb 2, 2003, at 12:07 US/Pacific, Rich Fox wrote:


Hi,

Thanks, I think that found the issue, however...

an stty -a returns...
	[snip]
	cchars: discard = ^O; dsusp = ^Y; eof
	[snip]


Umm, that's what mine reports, as well, both when I'm local to the Mac 
and when I'm ssh'ed to the FreeBSD machine from which I run pine.  
Still able to control-o (note case) to suspend in pine.  Are you 
possibly trying to use control-O (note case) instead?

KeS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Dirk-Willem van Gulik


On Sun, 2 Feb 2003, Rich Fox wrote:

 Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
 which are used to postpone messages in Pine. Thus, when I use the key

I use:

ssh -e none freebsd-machien.domain.com

dw.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message