how copy entire text, support diatrics, dashes

33 views
Skip to first unread message

jinda...@yahoo.com

unread,
Oct 24, 2022, 1:53:11 PM10/24/22
to nicee...@googlegroups.com
i tried to use block option. after scrolling
down to bottom of page using pgdown
clickng again block says to specify
end of the document. my text file has
more than 500 lines. i am using ne on
debian 11 xterm.

how do i copy entire text?
do u support, diatrics, dashes (en. em)

yahooooooooo
jindam, vani

Aleksa Petrovic

unread,
Oct 26, 2022, 8:56:11 AM10/26/22
to niceeditor
Hi. What didn't work as you expected when using the block option, copying or pasting? What do you mean it said to specify end of the document? Is this the newest version of NE? In order to copy entire text in some document, you need to call the following commands (short names in brackets):
MoveSOF (SOF) Mark (M) MoveEOF (EOF) Copy (C). Optionally you can call ClipNumber (CN) to decide under which number to save the clip, and SetBookmark  - (SBM -)  and GotoBookmark - (GBM -) to save the position you were positioned at before copying the whole document, and to return to it. I am not sure that I understand what the problem is specifically, could you please provide more information?

Aleksa Petrovic

unread,
Oct 26, 2022, 8:58:41 AM10/26/22
to niceeditor
Not sure what you mean with diacritics and dashes? NE supports UTF-8, but if you search for such characters, there is no option for case-insensitive search, so that means you need to guess the right case of every letter in a word in order to match it.

uto...@gmail.com

unread,
Oct 26, 2022, 10:23:40 AM10/26/22
to niceeditor
Well, ne doesn't have a "block" option. Likewise, it doesn't support any mouse operations, so "clickng again" isn't going to affect ne. There seems to be some confusion about copying text.

There are two completely unrelated "copy" notions at work. First, there is the system clipboard which enables passing data between programs and various parts of the user interface. With text in a terminal, you can click-and-drag or click at one end of the text and shift-click at the other, which usually highlights that text and makes it available in other programs, typically pasteable with the middle mouse button. However, ne knows nothing about the system clipboard.

Second, there are "clips" which are internal to ne. In ne, you set a "Mark" -- usually with Ctrl-B. The mark stays put, and all the text between the mark and your cursor is "selected" -- though not highlighted. You can do several things with selected text: you can Erase it, Copy it to a "clip" (which, again, is internal to ne), Cut it which also copies it to a clip but removes it from your current text, or you can pass that text "Through" an shell command or pipeline. One interesting shell command you could pass the text through is

xclip -f

That will have the effect of copying the text between your mark and your cursor in ne to your system clipboard. You can then go to some other program, middle-click your mouse, and have your text show up there.

But this is all just background. It isn't clear to me from your question exactly what you're confused about. I hope the above description clears up something for you.

As for your second question: yes, ne supports a wide range of characters.

Sebastiano Vigna

unread,
Oct 26, 2022, 11:48:53 AM10/26/22
to niceeditor


> On 26 Oct 2022, at 14:58, Aleksa Petrovic <aleksa.petr...@gmail.com> wrote:
>
> Not sure what you mean with diacritics and dashes? NE supports UTF-8, but if you search for such characters, there is no option for case-insensitive search, so that means you need to guess the right case of every letter in a word in order to match it.

Yes, unfortunately that kind of support would be very difficult to implement with the library we're currently using. :(

Ciao,

seba

Reply all
Reply to author
Forward
0 new messages