Thread View: news.software.readers
10 messages
10 total messages
Started by Desmond Coughlan
Fri, 12 Nov 1999 00:00
Extended Characters in slrn
Author: Desmond Coughlan
Date: Fri, 12 Nov 1999 00:00
Date: Fri, 12 Nov 1999 00:00
16 lines
1235 bytes
1235 bytes
Does anyone have any idea how to use extended, i.e., foreign-language characters in slrn, with vi as the editor? I have put isolatin in my .slrnrc but when I hit an accented character on my keyboard (which is AZERTY), I get: � Any ideas ..? Ta. -- Desmond Coughlan |Administrateur Syst�me desmond@coughlan.net |UNIX, Linux, NT http://212.198.64.228/
Re: Extended Characters in slrn
Author: Sylvan Butler
Date: Fri, 12 Nov 1999 00:00
Date: Fri, 12 Nov 1999 00:00
23 lines
1960 bytes
1960 bytes
On 12 Nov 1999 14:48:28 GMT, Desmond Coughlan <desmond@tortue.coughlan.net> wrote:
>Desmond Coughlan <desmond@tortue.coughlan.net> wrote:
>}> Does anyone have any idea how to use extended, i.e., foreign-language
>}> characters in slrn, with vi as the editor?
>}>
>}> I have put isolatin in my .slrnrc but when I hit an accented character on
>}> my keyboard (which is AZERTY), I get: �
>
>LOL ... I just read that post, and the character comes out correctly, but
>when I view it *in* vi, it looks like a backslash, and xe9.
On mine it shows up as a ~B in vi...
sdb
--
| Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
| Watch out for my e-mail address. Thank UCE. #### change ^ to @ #### |
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
"Don't Tread On Me!"
Re: Extended Characters in slrn
Author: Desmond Coughlan
Date: Fri, 12 Nov 1999 00:00
Date: Fri, 12 Nov 1999 00:00
19 lines
1490 bytes
1490 bytes
Desmond Coughlan <desmond@tortue.coughlan.net> wrote: }> Does anyone have any idea how to use extended, i.e., foreign-language }> characters in slrn, with vi as the editor? }> }> I have put isolatin in my .slrnrc but when I hit an accented character on }> my keyboard (which is AZERTY), I get: � LOL ... I just read that post, and the character comes out correctly, but when I view it *in* vi, it looks like a backslash, and xe9. :-) -- Desmond Coughlan |Administrateur Syst�me desmond@coughlan.net |UNIX, Linux, NT http://212.198.64.228/
Re: Extended Characters in slrn -> set editor "vim"
Author: Sven Guckes
Date: Sat, 13 Nov 1999 00:00
Date: Sat, 13 Nov 1999 00:00
25 lines
2013 bytes
2013 bytes
* Sylvan Butler <nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid>:
> Desmond Coughlan <desmond@tortue.coughlan.net> wrote:
> > >> Does anyone have any idea how to use extended, i.e.,
> > >> foreign-language characters in slrn, with vi as the editor?
> > >> I have put isolatin in my .slrnrc but when I hit an accented
> > >> character on my keyboard (which is AZERTY), I get: �
> >... I just read that post, and the character comes out correctly,
> >but when I view it *in* vi, it looks like a backslash, and xe9.
> On mine it shows up as a ~B in vi...
Vim shows it as '�' ("e'") of course. :-)
I suggest you put this into your slrnrc:
set editor_command "vim %s +%d -c ':0;/^$/+'"
set score_editor_command "vim %s +%d -c ':0;/^$/+'"
Sven
--
Sven Guckes guckes-slrn@math.fu-berlin.de Slrn latest version:
SLRN Home Page: http://www.slrn.org/ Slrn-0.9.5.7 [9907..]
SLRN Wishlist: http://www.slrn.org/wish.html Lots of things to do!
SLRN Author: http://space.mit.edu/~davis/slrn.html John E. Davis aka JED
Re: Extended Characters in slrn -> set editor "vim"
Author: Sylvan Butler
Date: Mon, 15 Nov 1999 00:00
Date: Mon, 15 Nov 1999 00:00
51 lines
3121 bytes
3121 bytes
On 13 Nov 1999 17:10:58 GMT, Sven Guckes <guckes@math.fu-berlin.de> wrote:
>* Sylvan Butler <nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid>:
>> Desmond Coughlan <desmond@tortue.coughlan.net> wrote:
>> >... I just read that post, and the character comes out correctly,
>> >but when I view it *in* vi, it looks like a backslash, and xe9.
>> On mine it shows up as a ~B in vi...
>
>Vim shows it as '�' ("e'") of course. :-)
Nope. Or rather as your line appears while editing:
>Vim shows it as '~B' ("e'") of course. :-)
>I suggest you put this into your slrnrc:
>
> set editor_command "vim %s +%d -c ':0;/^$/+'"
> set score_editor_command "vim %s +%d -c ':0;/^$/+'"
No difference.
slrn itself shows it properly, but not vim. Of course it is time for an
update to vim on this system:
:ver
VIM - Vi IMproved 5.0 (1998 Feb 19, compiled Mar 4 1998 18:37:30)
Compiled with (+) or without (-):
+autocmd +builtin_terms +cindent +digraphs -emacs_tags +eval +ex_extra
+extra_search -farsi
+file_in_path +find_in_path +fork() -GUI +insert_expand -langmap
+lispindent -mouse_dec
-mouse_netterm +mouse_xterm -perl +quickfix -python -rightleft +showcmd
+smartindent -sniff
+syntax +tag_binary +tag_old_static -tag_any_white +terminfo
+textobjects +viminfo
-xterm_save +writebackup -X11
user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc"
system vimrc file: "$VIM/vimrc"
default for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -Wall -Wshadow
Linking: gcc -o vim -lncurses
sdb
--
| Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
| Watch out for my e-mail address. Thank UCE. #### change ^ to @ #### |
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
"Don't Tread On Me!"
Re: Extended Characters in slrn -> set editor "vim"
Author: Sven Guckes
Date: Mon, 15 Nov 1999 00:00
Date: Mon, 15 Nov 1999 00:00
11 lines
1217 bytes
1217 bytes
> slrn itself shows it properly, but not vim. Of course > it is time for an update to vim on this system: > :ver > VIM - Vi IMproved 5.0 (1998 Feb 19, compiled Mar 4 1998 18:37:30) Definitely! This is missing 18 months of vim development. Please upgrade and check with us again after that. Thanks. Sven
Re: Extended Characters in slrn
Author: Matthew Malthouse
Date: Tue, 16 Nov 1999 00:00
Date: Tue, 16 Nov 1999 00:00
28 lines
1806 bytes
1806 bytes
On 12 Nov 1999 18:52:32 GMT Sylvan Butler wrote: } On 12 Nov 1999 14:48:28 GMT, Desmond Coughlan <desmond@tortue.coughlan.net> wrote: } >Desmond Coughlan <desmond@tortue.coughlan.net> wrote: } >}> Does anyone have any idea how to use extended, i.e., foreign-language } >}> characters in slrn, with vi as the editor? } >}> } >}> I have put isolatin in my .slrnrc but when I hit an accented character on } >}> my keyboard (which is AZERTY), I get: � } > } >LOL ... I just read that post, and the character comes out correctly, but } >when I view it *in* vi, it looks like a backslash, and xe9. } } On mine it shows up as a ~B in vi... On my Vim 5.3-9 the accented character displays correctly (although what will get through the server is another matter). But how to create such characters in the first place? Matthew -- "Nice boy, but about as sharp as a sack of wet mice." -- Foghorn Leghorn http://www.calmeilles.demon.co.uk
Re: Extended Characters in slrn -> vim and digraph input
Author: Sven Guckes
Date: Tue, 16 Nov 1999 00:00
Date: Tue, 16 Nov 1999 00:00
26 lines
2125 bytes
2125 bytes
* Matthew Malthouse <usenet@calmeilles.demon.co.uk> informed > >But how to create such characters in the first place? * Heikki Kantola <hezu@iki.fi>: > Unfortunately I don't know if vi(m) has any accented char composition > features (like Emacs/Jed does with C-x 8 <accent> <char>).. Vim allows input of special characters by compsition of two characters. Use CTRL-K and Vim wil display a '?'; now press eg 'a' and '"' and you will get '�' as a result. The table of combinations is displayed with the command ":digraph" and the method is know as "digraph input". > ..but the other method is of course to get your terminal (emulator) > to generate these character with certain key (combinations). eek! ;-) Sven -- Sven Guckes guckes@math.fu-berlin.de Join the supporter group for umlauts and diacritics! � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
Re: Extended Characters in slrn
Author: Heikki Kantola
Date: Tue, 16 Nov 1999 00:00
Date: Tue, 16 Nov 1999 00:00
37 lines
2697 bytes
2697 bytes
Matthew Malthouse <usenet@calmeilles.demon.co.uk> informed news.software.readers with the following: >On 12 Nov 1999 18:52:32 GMT Sylvan Butler wrote: >} On 12 Nov 1999 14:48:28 GMT, Desmond Coughlan <desmond@tortue.coughlan.net> wrote: >} >Desmond Coughlan <desmond@tortue.coughlan.net> wrote: >} >}> Does anyone have any idea how to use extended, i.e., foreign-language >} >}> characters in slrn, with vi as the editor? >} >}> >} >}> I have put isolatin in my .slrnrc but when I hit an accented character on >} >}> my keyboard (which is AZERTY), I get: � >} > >} >LOL ... I just read that post, and the character comes out correctly, but >} >when I view it *in* vi, it looks like a backslash, and xe9. >} >} On mine it shows up as a ~B in vi... > >On my Vim 5.3-9 the accented character displays correctly (although what >will get through the server is another matter). All the modern news servers should be able to transfer 8-bit characters fine. >But how to create such characters in the first place? Unfortunately I don't know if vi(m) has any accented char composition features (like Emacs/Jed does with C-x 8 <accent> <char>), but the other method is of course to get your terminal (emulator) to generate these character with certain key (combinations). Without knowing what sort of computer you're using, I won't go into details. -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: Extended Characters in slrn
Author: Rofi
Date: Wed, 17 Nov 1999 00:00
Date: Wed, 17 Nov 1999 00:00
43 lines
2234 bytes
2234 bytes
On 16 Nov 1999 07:54:02 GMT, Matthew Malthouse <usenet@calmeilles.demon.co.uk> wrote: >On 12 Nov 1999 18:52:32 GMT Sylvan Butler wrote: >} On 12 Nov 1999 14:48:28 GMT, Desmond Coughlan <desmond@tortue.coughlan.net> wrote: >} >Desmond Coughlan <desmond@tortue.coughlan.net> wrote: >} >}> Does anyone have any idea how to use extended, i.e., foreign-language >} >}> characters in slrn, with vi as the editor? >} >}> >} >}> I have put isolatin in my .slrnrc but when I hit an accented character on >} >}> my keyboard (which is AZERTY), I get: � >} > >} >LOL ... I just read that post, and the character comes out correctly, but >} >when I view it *in* vi, it looks like a backslash, and xe9. >} >} On mine it shows up as a ~B in vi... > >On my Vim 5.3-9 the accented character displays correctly (although what >will get through the server is another matter). > >But how to create such characters in the first place? On Vim 5.5 (just in case it makes a different) do a :help on digraph and c_digraph As long as vim is compiled with digraph feature then � can be typed by typing ctrl-k a " which produces �. or if digraph option is set then it can be entered by typing a <BS> " which produces � the same as the other method. Hope this helps Rofi -- Ifor Gaukroger, Rofi, Eve ... If ? :wq ( d'oh not in vi :-) )
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads