9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Acme win and 75+ character Send commands
@ 2013-09-05 20:16 James A. Robinson
  2013-09-05 20:17 ` James A. Robinson
  0 siblings, 1 reply; 7+ messages in thread
From: James A. Robinson @ 2013-09-05 20:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

Hi folks,

I can't spot anything in the man page about this:  is
it expected that Acme win will echo the trailing part
of a Send command if the length of the command
exceeds 75 characters?

An example:

  http://highwire.stanford.edu/~jimr/acme-win-76.png


Jim

[-- Attachment #2: Type: text/html, Size: 522 bytes --]

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

* Re: [9fans] Acme win and 75+ character Send commands
  2013-09-05 20:16 [9fans] Acme win and 75+ character Send commands James A. Robinson
@ 2013-09-05 20:17 ` James A. Robinson
  2013-09-05 22:13   ` erik quanstrom
  0 siblings, 1 reply; 7+ messages in thread
From: James A. Robinson @ 2013-09-05 20:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

D'oh, I'm thinking maybe it's bash that is doing
this (since bash is my default shell instead of
rc).


On Thu, Sep 5, 2013 at 1:16 PM, James A. Robinson <
jimr@highwire.stanford.edu> wrote:

> Hi folks,
>
> I can't spot anything in the man page about this:  is
> it expected that Acme win will echo the trailing part
> of a Send command if the length of the command
> exceeds 75 characters?
>
> An example:
>
>   http://highwire.stanford.edu/~jimr/acme-win-76.png
>
>
> Jim
>
>

[-- Attachment #2: Type: text/html, Size: 1073 bytes --]

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

* Re: [9fans] Acme win and 75+ character Send commands
  2013-09-05 20:17 ` James A. Robinson
@ 2013-09-05 22:13   ` erik quanstrom
  2013-09-06  0:30     ` Rob Pike
  0 siblings, 1 reply; 7+ messages in thread
From: erik quanstrom @ 2013-09-05 22:13 UTC (permalink / raw)
  To: jimr, 9fans

On Thu Sep  5 16:19:19 EDT 2013, jimr@highwire.stanford.edu wrote:

> D'oh, I'm thinking maybe it's bash that is doing
> this (since bash is my default shell instead of
> rc).

it's likely readline, which has an 80-column mind.

- erik



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

* Re: [9fans] Acme win and 75+ character Send commands
  2013-09-05 22:13   ` erik quanstrom
@ 2013-09-06  0:30     ` Rob Pike
  2013-09-06  3:06       ` James A. Robinson
  0 siblings, 1 reply; 7+ messages in thread
From: Rob Pike @ 2013-09-06  0:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs; +Cc: jimr

Try

set +o emacs

(sic)

-rob



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

* Re: [9fans] Acme win and 75+ character Send commands
  2013-09-06  0:30     ` Rob Pike
@ 2013-09-06  3:06       ` James A. Robinson
  2013-09-06  4:10         ` Rob Pike
  0 siblings, 1 reply; 7+ messages in thread
From: James A. Robinson @ 2013-09-06  3:06 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]

2013/9/5 Rob Pike <robpike@gmail.com>

> Try
>
> set +o emacs
>
> (sic)
>

Thank you, that did it.  Interesting that it's a +o command
to turn something off.

bash(1)
...
READLINE
       This  is  the library that handles reading input when using
       an interactive shell, unless the --noediting option is given
       at shell invocation.  By default, the line editing commands
       are similar to those of emacs.  A vi-style line editing
       interface is also available.  To turn off line editing after
       the shell  is  running, use the +o emacs or +o vi options
       to the set builtin (see SHELL BUILTIN COMMANDS below).
...

[-- Attachment #2: Type: text/html, Size: 1558 bytes --]

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

* Re: [9fans] Acme win and 75+ character Send commands
  2013-09-06  3:06       ` James A. Robinson
@ 2013-09-06  4:10         ` Rob Pike
  2013-09-06  5:23           ` Bruce Ellis
  0 siblings, 1 reply; 7+ messages in thread
From: Rob Pike @ 2013-09-06  4:10 UTC (permalink / raw)
  To: jimr, Fans of the OS Plan 9 from Bell Labs

You give a shell command the flag -X to turn on X, so +X to turn off X
makes sense in a negative true kinda way.

-rob



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

* Re: [9fans] Acme win and 75+ character Send commands
  2013-09-06  4:10         ` Rob Pike
@ 2013-09-06  5:23           ` Bruce Ellis
  0 siblings, 0 replies; 7+ messages in thread
From: Bruce Ellis @ 2013-09-06  5:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

just don't forget to unset nonomatch


On 6 September 2013 14:10, Rob Pike <robpike@gmail.com> wrote:

> You give a shell command the flag -X to turn on X, so +X to turn off X
> makes sense in a negative true kinda way.
>
> -rob
>
>

[-- Attachment #2: Type: text/html, Size: 606 bytes --]

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

end of thread, other threads:[~2013-09-06  5:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-05 20:16 [9fans] Acme win and 75+ character Send commands James A. Robinson
2013-09-05 20:17 ` James A. Robinson
2013-09-05 22:13   ` erik quanstrom
2013-09-06  0:30     ` Rob Pike
2013-09-06  3:06       ` James A. Robinson
2013-09-06  4:10         ` Rob Pike
2013-09-06  5:23           ` Bruce Ellis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).