Re: coloration syntaxique avec mcedit

2021-10-10 Thread Th.A.C

Le 10/10/2021 à 11:16, Bernard Schoenacker a écrit :

Bonjour,

Je recherche un moyen d'obtenir une coloration
d'un fichier texte avec mcedit  qui est actuellement
tout tristounet ...


Bonjour,

regarde dans le man (man mcedit), à la partie "SYNTAX HIGHLIGHTING".

petit extrait:
SYNTAX HIGHLIGHTING
   mcedit supports syntax highlighting.  This means that keywords 
and contexts (like C comments, string constants, etc) are highlighted in 
different  colors.
   The following  section  explains  the format of the file 
~/.config/mc/mcedit/Syntax.  If this file is missing, system-wide 
/usr/share/mc/syntax/Syntax is used.
   The file ~/.config/mc/mcedit/Syntax is rescanned on opening of 
every new editor file.  The file contains rules for highlighting, each 
of which is given on  a  separate line, and define which keywords will 
be highlighted with what color.


   The  file  is divided into sections, each beginning with a line 
with the file command.  The sections are normally put into separate 
files using the include command.




Amuse-toi bien :-)



coloration syntaxique avec mcedit

2021-10-10 Thread Bernard Schoenacker
Bonjour,

Je recherche un moyen d'obtenir une coloration 
d'un fichier texte avec mcedit  qui est actuellement
tout tristounet ...

Merci pour votre aimable attention

Bien à vous 

Bernard



Re: mcedit behavior under X

2013-09-05 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

Hi,

The mcedit man-page has the following:

In  addition  to  that,  Shift  combined  with arrows does text 
highlighting (if supported by the terminal): Ctrl-Ins copies to the file 
~/.mc/cedit/cooledit.clip, Shift-Ins pastes from 
~/.mc/cedit/cooledit.clip, Shift-Del cuts to ~/.mc/cedit/cooledit.clip, 
and Ctrl-Del deletes highlighted text.  Mouse highlighting also works on 
 some  terminals.


That is true for me on a VT console, i.e. non-X. But under X Ctrl-Ins 
copies to the file ~/.mc/cedit/cooledit.clip but Shift-Ins *does not* 
paste from ~/.mc/cedit/cooledit.clip, but from the cliboard.


Can anyone verify that behavior? How would I make mcedit behave as it 
ought to?




I have asked that question before:
https://groups.google.com/forum/?hl=ia#!topic/linux.debian.user/48-BTjdzAy4

but apparently paid no attention because Camaleon had the answer in a mc 
ticket:

https://www.midnight-commander.org/ticket/2358

so when I change the shortcuts of konsole and delete ctrl+ins and 
shift+ins then it works.


But something weird: for shift+ins (paste from cooledit.clip) and 
shift+del (cuts to cooledit.clip) I have to turn on numlock!

This is on a US keyboard.

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/l0ajgv$d4l$1...@ger.gmane.org



mcedit behavior under X

2013-09-02 Thread Hugo Vanwoerkom

Hi,

The mcedit man-page has the following:

In  addition  to  that,  Shift  combined  with arrows does text 
highlighting (if supported by the terminal): Ctrl-Ins copies to the file 
~/.mc/cedit/cooledit.clip, Shift-Ins pastes from 
~/.mc/cedit/cooledit.clip, Shift-Del cuts to ~/.mc/cedit/cooledit.clip, 
and Ctrl-Del deletes highlighted text.  Mouse highlighting also works on 
 some  terminals.


That is true for me on a VT console, i.e. non-X. But under X Ctrl-Ins 
copies to the file ~/.mc/cedit/cooledit.clip but Shift-Ins *does not* 
paste from ~/.mc/cedit/cooledit.clip, but from the cliboard.


Can anyone verify that behavior? How would I make mcedit behave as it 
ought to?


Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/l02tcl$c2p$1...@ger.gmane.org



Re: mcedit copy to cooledit.clip

2012-01-04 Thread hvw59601

Bill Marcum wrote:

In gmane.linux.debian.user, you wrote:

Hi,

When mc runs in forked shell, like script, the ctrl-ins keys in mcedit 
to copy marked text to cooledit.clip doesn't work.

Anybody knows why not?


Hugo


Have you tried the Learn Keys function in mc? (I prefer using nano instead
of the mc editor, but it's worth a try).




Yes, I did. No clue.

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/je1kbq$ucr$1...@dough.gmane.org



Re: mcedit copy to cooledit.clip

2012-01-02 Thread Bill Marcum
In gmane.linux.debian.user, you wrote:
 Hi,

 When mc runs in forked shell, like script, the ctrl-ins keys in mcedit 
 to copy marked text to cooledit.clip doesn't work.
 Anybody knows why not?


 Hugo

Have you tried the Learn Keys function in mc? (I prefer using nano instead
of the mc editor, but it's worth a try).


-- 
Never believe the attribution of a quotation you find on the Internet.
(George Bernard Shaw)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/E1Rhmu8-0005z4-Nz@lat.local



Re: mcedit copy to cooledit.clip

2012-01-01 Thread Camaleón
On Sat, 31 Dec 2011 10:27:21 -0600, hvw59601 wrote:

 Camaleón wrote:
 On Sat, 31 Dec 2011 09:05:48 -0600, hvw59601 wrote:
 
 When mc runs in forked shell, like script, the ctrl-ins keys in mcedit
 to copy marked text to cooledit.clip doesn't work. Anybody knows why
 not?
 
 Could it be because of some sort of key binding problem within the
 terminal?
 
 I have tested mcedit (run inside script and also by direct call) on
 wheezy from gnome-terminal and xterm and ctrl+ins seems to do nothing
 but F3/F5 still does the mark/paste work :-?
 
 
 Right. F3/F5 still select/copy within the file, but ctrl-ins does not
 copy to cooledit.clip, it does nothing.

That's what I've been using since always, I didn't know about another key 
combos for copy/paste/delete until I read your message :-)
 
 In the man I find only that it is supposed to work, but the man is huge
 (3337 lines). This is not something new, I don't ever remember it
 working. I would like to know why.

Well, mcedit man page is more brief (just 391 lines) but in the end it 
neither seems to do what it states (I just have also tested in lenny with 
same results).

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2012.01.01.14.19...@gmail.com



Re: mcedit copy to cooledit.clip

2012-01-01 Thread hvw59601

Camaleón wrote:

On Sat, 31 Dec 2011 10:27:21 -0600, hvw59601 wrote:


Camaleón wrote:

On Sat, 31 Dec 2011 09:05:48 -0600, hvw59601 wrote:


When mc runs in forked shell, like script, the ctrl-ins keys in mcedit
to copy marked text to cooledit.clip doesn't work. Anybody knows why
not?

Could it be because of some sort of key binding problem within the
terminal?

I have tested mcedit (run inside script and also by direct call) on
wheezy from gnome-terminal and xterm and ctrl+ins seems to do nothing
but F3/F5 still does the mark/paste work :-?



Right. F3/F5 still select/copy within the file, but ctrl-ins does not
copy to cooledit.clip, it does nothing.


That's what I've been using since always, I didn't know about another key 
combos for copy/paste/delete until I read your message :-)
 


snip

Then you only copied/pasted within files? Because with ctrl-ins you can 
copy/paste between files because it copies to cooledit.clip.


And here's something funny: I just did a test install of the latest mc: 
4.8.1 and ctrl-ins does not work with that either. I still am using mc 
4.6.2 because I have difficulty with the colors of the later release.


Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/jdpvlm$i2d$1...@dough.gmane.org



Re: mcedit copy to cooledit.clip

2012-01-01 Thread Camaleón
On Sun, 01 Jan 2012 09:55:33 -0600, hvw59601 wrote:

 Camaleón wrote:
 On Sat, 31 Dec 2011 10:27:21 -0600, hvw59601 wrote:
 
 Camaleón wrote:
 On Sat, 31 Dec 2011 09:05:48 -0600, hvw59601 wrote:

 When mc runs in forked shell, like script, the ctrl-ins keys in
 mcedit to copy marked text to cooledit.clip doesn't work. Anybody
 knows why not?
 Could it be because of some sort of key binding problem within the
 terminal?

 I have tested mcedit (run inside script and also by direct call) on
 wheezy from gnome-terminal and xterm and ctrl+ins seems to do
 nothing but F3/F5 still does the mark/paste work :-?


 Right. F3/F5 still select/copy within the file, but ctrl-ins does not
 copy to cooledit.clip, it does nothing.
 
 That's what I've been using since always, I didn't know about another
 key combos for copy/paste/delete until I read your message :-)
  
  
 snip
 
 Then you only copied/pasted within files? Because with ctrl-ins you can
 copy/paste between files because it copies to cooledit.clip.

Yup, in fact the usual operations I do are done in the same open file 
(mcedit is my Mutt's default editor) :-)

 And here's something funny: I just did a test install of the latest mc:
 4.8.1 and ctrl-ins does not work with that either. I still am using mc
 4.6.2 because I have difficulty with the colors of the later release.

Wow :-O

I also found this similar issue:

[Shift + Ins] didn't paste from cooledit.clip
https://www.midnight-commander.org/ticket/2358

Although the user reports that he can at least copy the text to 
cooledit.clip file, what seems to fail is the paste operation. Weird.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2012.01.01.16.41...@gmail.com



mcedit copy to cooledit.clip

2011-12-31 Thread hvw59601

Hi,

When mc runs in forked shell, like script, the ctrl-ins keys in mcedit 
to copy marked text to cooledit.clip doesn't work.

Anybody knows why not?


Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/jdn8cd$3eh$1...@dough.gmane.org



Re: mcedit copy to cooledit.clip

2011-12-31 Thread Camaleón
On Sat, 31 Dec 2011 09:05:48 -0600, hvw59601 wrote:

 When mc runs in forked shell, like script, the ctrl-ins keys in mcedit
 to copy marked text to cooledit.clip doesn't work. Anybody knows why
 not?

Could it be because of some sort of key binding problem within the 
terminal?

I have tested mcedit (run inside script and also by direct call) on 
wheezy from gnome-terminal and xterm and ctrl+ins seems to do nothing 
but F3/F5 still does the mark/paste work :-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.12.31.16.07...@gmail.com



Re: mcedit copy to cooledit.clip

2011-12-31 Thread hvw59601

Camaleón wrote:

On Sat, 31 Dec 2011 09:05:48 -0600, hvw59601 wrote:


When mc runs in forked shell, like script, the ctrl-ins keys in mcedit
to copy marked text to cooledit.clip doesn't work. Anybody knows why
not?


Could it be because of some sort of key binding problem within the 
terminal?


I have tested mcedit (run inside script and also by direct call) on 
wheezy from gnome-terminal and xterm and ctrl+ins seems to do nothing 
but F3/F5 still does the mark/paste work :-?




Right. F3/F5 still select/copy within the file, but ctrl-ins does not 
copy to cooledit.clip, it does nothing.


In the man I find only that it is supposed to work, but the man is huge 
(3337 lines). This is not something new, I don't ever remember it 
working. I would like to know why.


Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/jdnd59$vlo$1...@dough.gmane.org



Re: mcedit copy to cooledit.clip

2011-12-31 Thread Wayne Topa

On 12/31/2011 11:27 AM, hvw59601 wrote:

Camaleón wrote:

On Sat, 31 Dec 2011 09:05:48 -0600, hvw59601 wrote:


When mc runs in forked shell, like script, the ctrl-ins keys in mcedit
to copy marked text to cooledit.clip doesn't work. Anybody knows why
not?


Could it be because of some sort of key binding problem within the
terminal?

I have tested mcedit (run inside script and also by direct call) on
wheezy from gnome-terminal and xterm and ctrl+ins seems to do
nothing but F3/F5 still does the mark/paste work :-?



Right. F3/F5 still select/copy within the file, but ctrl-ins does not
copy to cooledit.clip, it does nothing.

In the man I find only that it is supposed to work, but the man is huge
(3337 lines). This is not something new, I don't ever remember it
working. I would like to know why.


I had never used mcedit so tried it on Wheezy with version 3:4.7.0.9-2. 
I used mrxvt for the test.


Used Ctrl-ins to copy a line then Shift-ins to paste it somewhere else.
Works here as discribed in the man page.

I thenm treid it in an xterm and it did not work. As mentioned in the 
man page these do not work in some terminals so they covered all the bases.


/Quote:
In  addition  to  that, Shift combined with arrows does text 
highlighting (if supported by the terminal): Ctrl-Ins copies to the file 
~/.mc/cedit/cooledit.clip,
   Shift-Ins pastes from ~/.mc/cedit/cooledit.clip, Shift-Del cuts 
to ~/.mc/cedit/cooledit.clip, and Ctrl-Del deletes highlighted text. 
Mouse  highlighting  also
   works  on  some terminals.  To use the standard mouse support 
provided by your terminal, hold the Shift key.  Please note that the 
mouse support in the terminal

   doesn't share the clipboard with mcedit.
Quote/

HTH

WT


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4eff7019.6050...@gmail.com



Re: mcedit copy to cooledit.clip

2011-12-31 Thread hvw59601

Wayne Topa wrote:

On 12/31/2011 11:27 AM, hvw59601 wrote:

Camaleón wrote:

On Sat, 31 Dec 2011 09:05:48 -0600, hvw59601 wrote:


When mc runs in forked shell, like script, the ctrl-ins keys in mcedit
to copy marked text to cooledit.clip doesn't work. Anybody knows why
not?


Could it be because of some sort of key binding problem within the
terminal?

I have tested mcedit (run inside script and also by direct call) on
wheezy from gnome-terminal and xterm and ctrl+ins seems to do
nothing but F3/F5 still does the mark/paste work :-?



Right. F3/F5 still select/copy within the file, but ctrl-ins does not
copy to cooledit.clip, it does nothing.

In the man I find only that it is supposed to work, but the man is huge
(3337 lines). This is not something new, I don't ever remember it
working. I would like to know why.


I had never used mcedit so tried it on Wheezy with version 3:4.7.0.9-2. 
I used mrxvt for the test.


Used Ctrl-ins to copy a line then Shift-ins to paste it somewhere else.
Works here as discribed in the man page.

I thenm treid it in an xterm and it did not work. As mentioned in the 
man page these do not work in some terminals so they covered all the bases.





snip

Wayne, did you try ctrl-ins in mcedit under script on a vt?

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/jdnumq$v2r$1...@dough.gmane.org



Re: mcedit copy to cooledit.clip

2011-12-31 Thread Wayne Topa

On 12/31/2011 04:26 PM, hvw59601 wrote:

Wayne Topa wrote:

On 12/31/2011 11:27 AM, hvw59601 wrote:

Camaleón wrote:

On Sat, 31 Dec 2011 09:05:48 -0600, hvw59601 wrote:


When mc runs in forked shell, like script, the ctrl-ins keys in mcedit
to copy marked text to cooledit.clip doesn't work. Anybody knows why
not?


Could it be because of some sort of key binding problem within the
terminal?

I have tested mcedit (run inside script and also by direct call) on
wheezy from gnome-terminal and xterm and ctrl+ins seems to do
nothing but F3/F5 still does the mark/paste work :-?



Right. F3/F5 still select/copy within the file, but ctrl-ins does not
copy to cooledit.clip, it does nothing.

In the man I find only that it is supposed to work, but the man is huge
(3337 lines). This is not something new, I don't ever remember it
working. I would like to know why.


I had never used mcedit so tried it on Wheezy with version
3:4.7.0.9-2. I used mrxvt for the test.

Used Ctrl-ins to copy a line then Shift-ins to paste it somewhere else.
Works here as discribed in the man page.

I thenm treid it in an xterm and it did not work. As mentioned in the
man page these do not work in some terminals so they covered all the
bases.




snip

Wayne, did you try ctrl-ins in mcedit under script on a vt?
Not sure just what you mean by  under script on a vt but I tried it in 
a console, as root, and in mrxvt and xterm as a user.


Note:  I don not care for gnome, at all, so do not have any gnome pgms
installed other then some libs that, for some reason, needs them.

Hope that answers your question.

WT


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4eff87ab.8000...@gmail.com



Lenny+mc+mcedit

2009-01-09 Thread Fábio Rabelo
Acabei de instalar o Lenny a partir do DVD, sem nenhum problema .
Rápido e funcional !
Mas tenho um outro problema, qdo eu tento editar alguma coisa dentro
do MC ( Midnight Command ) ele abre a tranqueira do VI ao invés do
mcedit, procurei no changelog e não achei nada sobre isto .

COMO eu tiro esta tranqueira e coloco de volta o mcedit como editor
padrão do MC ??

agradeco antecipadamente ..

ps.: sem cedinha pois acabei de descobrir que o mapa de teclado não
esta correto, depois resolvo isto ...


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny+mc+mcedit

2009-01-09 Thread Fabiano Manoel de Andrade
Em Sex, 2009-01-09 às 17:15 -0200, Fábio Rabelo escreveu:
 Acabei de instalar o Lenny a partir do DVD, sem nenhum problema .
 Rápido e funcional !
 Mas tenho um outro problema, qdo eu tento editar alguma coisa dentro
 do MC ( Midnight Command ) ele abre a tranqueira do VI ao invés do
 mcedit, procurei no changelog e não achei nada sobre isto .
 
 COMO eu tiro esta tranqueira e coloco de volta o mcedit como editor
 padrão do MC ??
 
 agradeco antecipadamente ..
 
 ps.: sem cedinha pois acabei de descobrir que o mapa de teclado não
 esta correto, depois resolvo isto ...
 
 
Olá.
Como root faça:
update-alternatives --config  editor
e digite o número referente ao editor mc (/usr/bin/mcedit-debian)
Abraço.
Fabiano.


-- 
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny+mc+mcedit

2009-01-09 Thread paulobruck1
Em Sex, 2009-01-09 às 17:15 -0200, Fábio Rabelo escreveu:
 Acabei de instalar o Lenny a partir do DVD, sem nenhum problema .
 Rápido e funcional !
 Mas tenho um outro problema, qdo eu tento editar alguma coisa dentro
 do MC ( Midnight Command ) ele abre a tranqueira do VI ao invés do
 mcedit, procurei no changelog e não achei nada sobre isto .
 
 COMO eu tiro esta tranqueira e coloco de volta o mcedit como editor
 padrão do MC ??


hehehehe eu tambem era fa do mc e uso até hoje, até o dia em que me
colocaram na frente de um firewall para instalação e só tinha o VI...

bem depois de aprender o VI vc não troca por nada.80)))

bem respondendo a sua pergunta vc tem que definir qual editor padrão
usar..

veja minha máquina:

#) update-alternatives --list editor
/bin/ed
/bin/nano
/usr/bin/vim.tiny
/usr/bin/mcedit-debian
/usr/bin/vim.basic


#) update-alternatives --config editor

Existem 5 alternativas que fornecem 'editor'.

  Seleção  Alternativa
---
  1/bin/ed
 +2/bin/nano
  3/usr/bin/vim.tiny
  4/usr/bin/mcedit-debian
* 5/usr/bin/vim.basic

Pressione enter para manter o padrão[*] ou digite o número da seleção:  


boa legal se vc ler o man do update-alternatives80)))

[]s 


 
 agradeco antecipadamente ..
 
 ps.: sem cedinha pois acabei de descobrir que o mapa de teclado não
 esta correto, depois resolvo isto ...
 
 


-- 
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Mcedit no Debian Stable desconfigurado

2008-05-23 Thread Rodrigo Tavares
Pessoal,

Instalei o Debian Stable, e instalei o pacote mc que vem o mcedit. Mas quando 
abro um arquivo com ele as teclas como F10 para sair de um arquivo, não 
funciona e escreve na tela.

Alguem ja teve esse tipo de erro ?

Preciso dele por causa da simplicidade para usuarios.

Att,

Faria


  Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mcedit no Debian Stable desconfigurado

2008-05-23 Thread Rodrigo Tavares
Pessoal,

Foi vacilo meu, a variavel de ambiente TERM estava configurado para vt100, aí 
mudei pra linux.

Att,

Faria



--- Em sex, 23/5/08, Rodrigo Tavares [EMAIL PROTECTED] escreveu:

 De: Rodrigo Tavares [EMAIL PROTECTED]
 Assunto: Mcedit no Debian Stable desconfigurado
 Para: debian-user-portuguese@lists.debian.org
 Data: Sexta-feira, 23 de Maio de 2008, 14:52
 Pessoal,
 
 Instalei o Debian Stable, e instalei o pacote mc que vem o
 mcedit. Mas quando abro um arquivo com ele as teclas como
 F10 para sair de um arquivo, não funciona e escreve na
 tela.
 
 Alguem ja teve esse tipo de erro ?
 
 Preciso dele por causa da simplicidade para usuarios.
 
 Att,
 
 Faria
 
 
   Abra sua conta no Yahoo! Mail, o único sem limite de
 espaço para armazenamento!
 http://br.mail.yahoo.com/
 
 
 --
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


  Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mcedit in X

2005-12-28 Thread Ioannou Ioannis
On Tue, Dec 27, 2005 at 02:56:12PM -0600, Hugo Vanwoerkom wrote:
 Hi,
 
 mcedit in a text console uses Ins+Ctrl and Ins+Shift to copy and paste.
 
 That does not work in X.
 
 Anybody know a way around that?

A keyboard-lover I presume ? :-)

Where did you remembered these key-combinations ? 
These come from the old-old DOS editors.  And yes, 
you are right, they were supposed to work in mcedit, 
at least they are working in the console. 

In my xterm (Sarge) SHIFT-INS seems to paste by 
default (no matter the program used) while CTRL-INS 
produces kIC (named as 'shifted-ins') terminfo key. 
It is not matter of learning keys in mc, since 
my keyboard in xterm has all the keys correct, it 
is maybe matter of using something like xmodmap to 
produce the correct key for mcedit.

But you know what ? Why to bother ? F5 is working
just fine. Just use SHIFT-arrows to mark, and then
use F5 or F6.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: mcedit in X

2005-12-28 Thread Hugo Vanwoerkom

Ioannou Ioannis wrote:

On Tue, Dec 27, 2005 at 02:56:12PM -0600, Hugo Vanwoerkom wrote:

Hi,

mcedit in a text console uses Ins+Ctrl and Ins+Shift to copy and paste.

That does not work in X.

Anybody know a way around that?


A keyboard-lover I presume ? :-)

Where did you remembered these key-combinations ? 
These come from the old-old DOS editors.  And yes, 
you are right, they were supposed to work in mcedit, 
at least they are working in the console. 

In my xterm (Sarge) SHIFT-INS seems to paste by 
default (no matter the program used) while CTRL-INS 
produces kIC (named as 'shifted-ins') terminfo key. 
It is not matter of learning keys in mc, since 
my keyboard in xterm has all the keys correct, it 
is maybe matter of using something like xmodmap to 
produce the correct key for mcedit.


But you know what ? Why to bother ? F5 is working
just fine. Just use SHIFT-arrows to mark, and then
use F5 or F6.




Right. That works, but you have to unselect what you selected and in the 
text console that happens automatically. Thanks.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




mcedit in X

2005-12-27 Thread Hugo Vanwoerkom

Hi,

mcedit in a text console uses Ins+Ctrl and Ins+Shift to copy and paste.

That does not work in X.

Anybody know a way around that?

Thanks!

H


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: mcedit in X

2005-12-27 Thread Lubos Vrbka

mcedit in a text console uses Ins+Ctrl and Ins+Shift to copy and paste.

That does not work in X.

Anybody know a way around that?

don't know if i got your question right...

press shift while selecting the text to copy from the mcedit window 
(using the left mouse button). paste can be done using shift+middle 
mouse button. (i.e. standard X copy/paste, just add the shift key)


--
Lubos
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




mcedit editörü

2005-06-22 Thread yaşar tunçez
Merhaba,
debian sarge 3.1 e mcedit yüklemek istedim ama bulamadım. apt-cache
search ile arama yapmak istedim ama herhangi bir çıktı vermeden geri #
e düştü.


Re: mcedit editörü

2005-06-22 Thread Cafer Simsek
mc paketini yükleyin, onun içerisinde geliyordur o editör.

Saygılar

-Cafer

Çrş, 2005-06-22 tarihinde 09:55 +0300 saatinde, yaşar tunçez yazdı:
 Merhaba,
 debian sarge 3.1 e mcedit yüklemek istedim ama bulamadım. apt-cache
 search ile arama yapmak istedim ama herhangi bir çıktı vermeden geri #
 e düştü.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mcedit editörü

2005-06-22 Thread Yilmaz Bilgili
Gnome terminalde Düzenle/Klavye kısayolları menüsünden Menü ulaşım
tuşlarını etkinsizleştir seçeneğini temizlerseniz sorun olmaz.

Selamlar.



Çrş, 2005-06-22 tarihinde 12:49 +0300 saatinde, sinan , yazdı:
 bende bunla biraz alakali bir soru sorayim, mc yi gnome-terminalde
 kullaniyorum . F10 mc de exit anlamina geliyor fakat
 gnome-terminal`dede menu acmakta kullanildigi icin mc den F10 la
 cikamiyorum. nasi yapabilirim ?
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mutt/Mcedit, Zeilenumbruch...

2002-06-20 Thread Joachim

On Donnerstag, 20. Juni 2002 14:26, Udo Mueller wrote:

Hallo,

 Dann schau doch mal in die ~/.mc/ini, da sind 3 Optionen mit wrap
 drin. Aktiviere die erste und stelle die anderen 2 auf 72. Dann
 hast du nen Zeilenumbruch bei 72 Zeichen.

Ich nehmen an du meinst die folgenden 3 Zeilen:

wrap_mode=1
editor_word_wrap_line_length=72
editor_option_typewriter_wrap=0

1. ICh muss doch die letze auf 1 stellen, oder? Muss ich sonst noch was 
ändern?
2. Wenn ich was ändere und dann speicher dann kommt zwar keine Fehlermeldung, 
aber wen ichb die Datei nochmal öffne ist sie wie vor der Änderung :-(((

Weiß du warum?

 Oder nimm einen anderen Editor :)

ICh weiß nicht ich mag die Editor im vi stiehl nicht wirklich. Bin aber gerne 
bereit mir mal einen guten anzugucken, wen mir jemand einen empfehlt.

Gruß Joachim


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Mutt/Mcedit, Zeilenumbruch...

2002-06-20 Thread debian_user


Hallo,

  editor_word_wrap_line_length=72
  editor_key_emulation=0
  editor_tab_spacing=8
  editor_fill_tabs_with_spaces=0
  editor_return_does_auto_indent=1
  editor_backspace_through_tabs=0
  editor_fake_half_tabs=1
  editor_option_save_mode=0
  editor_option_backup_ext_int=-1
  editor_option_auto_para_formatting=0
  editor_option_typewriter_wrap=0
 ^
 da ist es noch ausgeschaltet:
 
 0 = aus
 1 = dynamisch
 2 = harter umbruch

Wen ich was aender, speicher und dann den editor verlaase und ihn mit der
gleichen DAtei neustarte sehe ich das sich da nichts geaendert hat :o((

Wei\t du warum?

Gru\ Joachim

--
Joachim Blum a debian user... [EMAIL PROTECTED]

Linux is for networking, 
OS is for working,
Windoes is for Solitär!







--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: Mutt/Mcedit, Zeilenumbruch...

2002-06-20 Thread Udo Mueller

Hallo Joachim,

* Joachim schrieb [20-06-02 23:25]:
 On Donnerstag, 20. Juni 2002 14:26, Udo Mueller wrote:
 
  Dann schau doch mal in die ~/.mc/ini, da sind 3 Optionen mit wrap
  drin. Aktiviere die erste und stelle die anderen 2 auf 72. Dann
  hast du nen Zeilenumbruch bei 72 Zeichen.
 
 Ich nehmen an du meinst die folgenden 3 Zeilen:
 
 wrap_mode=1
 editor_word_wrap_line_length=72
 editor_option_typewriter_wrap=0
 
 1. ICh muss doch die letze auf 1 stellen, oder? Muss ich sonst noch was 
 ändern?

Ja, und den letzten Eintrag auf 72 stellen, erst dann machte mein
mcedit nen Zeilenumbruch. Allerdings wrapped er nicht ganze Worte,
sondern bricht hart um.

 2. Wenn ich was ändere und dann speicher dann kommt zwar keine Fehlermeldung, 
 aber wen ichb die Datei nochmal öffne ist sie wie vor der Änderung :-(((
 Weiß du warum?

s.o.

  Oder nimm einen anderen Editor :)
 
 ICh weiß nicht ich mag die Editor im vi stiehl nicht wirklich. Bin aber gerne 
 bereit mir mal einen guten anzugucken, wen mir jemand einen empfehlt.

joe, nano, ee ... sind _ganz_ einfache Editoren, die nicht im
vi-Stil sind. joe ist mein persönlicher Favorit.
Ctrl-K H gibt ne Hilfe aus.

Aus .muttrc zu starten mit

  set editor=/usr/bin/joe -wordwrap -rmargin 72

Gruss Udo

-- 
Da kam dann das Elfmeterschießen. Wir hatten alle die Hosen voll, aber
bei mir lief's ganz flüssig.
-- Paul Breitner



msg10863/pgp0.pgp
Description: PGP signature


Colours in MCEDIT

2001-01-29 Thread Russ Pitman
Can anyone tell me specifically how to change the colour of comments lines
in mcedit (Midnight Commander).

The default is illegible to my old eyes and I got bushed in the various docs.

TIA,
-- 
russ






Re: mcedit?

1999-10-13 Thread Laurent PICOULEAU
On Sun, 10 Oct, 1999 à 11:04:53AM +0300, tf wrote:
 Hey guys,
 
 before I installed gnome, I could call up mcedit independently of
 Midnight commander.  It will no longer come up.  This is a drag, since I
 would like to use mcedit as my primary editor for a while.  
 
 I don't suppose anyone knows how I can get it back?

mc -e filename

Doesn't seem to work without providing a filename alas.
(It's not in manpages but mc -h does give this trick)

-- 
 ( -   Laurent PICOULEAU  - )
 /~\   [EMAIL PROTECTED]  /~\
|  \)Linux : mettez un pingouin dans votre ordinateur !(/  |
 \_|_Seuls ceux qui ne l'utilisent pas en disent du mal.   _|_/


gnome removal, and mcedit

1999-10-13 Thread tf
hey guys,

I want mcedit back, and decided to experiment.  If I reinstall midnight
commander:

apt-get install mc
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  task-gnome-desktop task-gnome-apps gmc task-gnome-net task-gnome-wm 
The following NEW packages will be installed:
  mc 
0 packages upgraded, 1 newly installed, 5 to remove and 1 not upgraded.
Need to get 455kB of archives. After unpacking 1522kB will be freed.
Do you want to continue? [Y/n] n

I also get rid of the gnome stuff (and it looks like all of the gnome
stuff) that I installed.  This is a cool thing.  is there anything wrong
with killing two birds with one stone this way?
-- 


-tf