Re: copy/pasting into a terminal
  Home FAQ Contact Sign in
comp.lang.forth only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.forth Profile…
 Up
Re: copy/pasting into a terminal         


Author: Josh Grams
Date: Apr 9, 2008 15:31

David N. Williams umich.edu> wrote:
> Pasting with gforth didn't work at all. Here's a made-up
> example.
>
> If I paste the following into a gforth terminal window (Mac OS X
> Leopard, powerpc):
>
> \ RSTUVWXYZ
> \ RSTUVWXYZ

Works fine here (Dell laptop, Debian, rxvt and xterm).
I'm pretty sure I've pasted to gforth on my PPC Linux box with no
problems as well...

--Josh
5 Comments
Re: copy/pasting into a terminal         


Author: Dennis Ruffer
Date: Apr 9, 2008 15:47

On 2008-04-09 17:31:56 -0500, Josh Grams qualdan.com> said:
> David N. Williams umich.edu> wrote:
>> Pasting with gforth didn't work at all. Here's a made-up
>> example.
>>
>> If I paste the following into a gforth terminal window (Mac OS X
>> Leopard, powerpc):
>>
>> \ RSTUVWXYZ
>> \ RSTUVWXYZ
>
> Works fine here (Dell laptop, Debian, rxvt and xterm).
> I'm pretty sure I've pasted to gforth on my PPC Linux box with no
> problems as well...
>
> --Josh

Works fine here too on OS X 10.4.11 PPC
Show full article (0.92Kb)
no comments
Re: copy/pasting into a terminal         


Author: David N. Williams
Date: Apr 9, 2008 20:26

Josh Grams wrote:
> David N. Williams umich.edu> wrote:
>> Pasting with gforth didn't work at all. Here's a made-up
>> example.
>>
>> If I paste the following into a gforth terminal window (Mac OS X
>> Leopard, powerpc):
>>
>> \ RSTUVWXYZ
>> \ RSTUVWXYZ
>
> Works fine here (Dell laptop, Debian, rxvt and xterm).
> I'm pretty sure I've pasted to gforth on my PPC Linux box with no
> problems as well...

Aha! I found an older version of gforth on my system (0.5.0),
and pasting the example into it works.

Guess I'll try a few more things...

-- David
no comments
Re: copy/pasting into a terminal         


Author: David N. Williams
Date: Apr 10, 2008 07:12

David N. Williams wrote:
> Josh Grams wrote:
>> David N. Williams umich.edu> wrote:
>>> Pasting with gforth didn't work at all. Here's a made-up
>>> example.
>>>
>>> If I paste the following into a gforth terminal window (Mac OS X
>>> Leopard, powerpc):
>>>
>>> \ RSTUVWXYZ
>>> \ RSTUVWXYZ
>>
>> Works fine here (Dell laptop, Debian, rxvt and xterm).
>> I'm pretty sure I've pasted to gforth on my PPC Linux box with no
>> problems as well...
>
> Aha! I found an older version of gforth on my system (0.5.0),
> and pasting the example into it works.
>
> Guess I'll try a few more things... ...
Show full article (1.25Kb)
no comments
Re: copy/pasting into a terminal         


Author: Bernd Paysan
Date: Apr 10, 2008 07:30

David N. Williams wrote:
> Okay, I tested with gforth 0.6.2, and everthing is fine.
> Furthermore, it doesn't have the problem with pasted tabs that
> pfe does, even though it also uses tab autocompletion. So I'm
> guessing that gforth's autocompletion inserts whitespace into
> the terminal input buffer while pfe's doesn't.

The autocompletion just looks if further input is pending - if not,
autocomplete, if yes, insert tab into buffer.
> Looks like I should consult the pfe source.
>
> As for gforth, while the above simple paste works in 0.5.0, my
> more comprehensive tests do not. They do work in 0.6.2, and not
> in 0.6.9. Somehow I don't have a record of from whence I got
> 0.6.9 -- maybe there's some conflict between its build and my
> updated Leopard system...

During 0.6.9 development, the input editor was revised several times to make
wide char editing work. In between, things were broken.
Show full article (1.02Kb)
no comments
Re: copy/pasting into a terminal         


Author: David N. Williams
Date: Apr 10, 2008 08:00

Bernd Paysan wrote:
> David N. Williams wrote:
>> Okay, I tested with gforth 0.6.2, and everthing is fine.
>> Furthermore, it doesn't have the problem with pasted tabs that
>> pfe does, even though it also uses tab autocompletion. So I'm
>> guessing that gforth's autocompletion inserts whitespace into
>> the terminal input buffer while pfe's doesn't.
>
> The autocompletion just looks if further input is pending - if not,
> autocomplete, if yes, insert tab into buffer.

Thanks for the explanation!
Show full article (1.19Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Re: Copy & Paste Macromicrosoft.public.access.macros ·
Copy & Paste...ifmicrosoft.public.excel.programming ·
RE: how do i copy and paste text?microsoft.public.word.docmanagement ·
請問如何移除Terminal Server的關機選項?microsoft.public.tw.windows.server ·