Re: interrobang and other fun characters
On Thu, May 15, 2008 at 12:51:24AM +0100, Frank Shute wrote: On Tue, May 13, 2008 at 10:25:37PM -0600, Chad Perrin wrote: I'm looking for an easier way to insert interrobangs and other non-ASCII characters (em-dashes, et cetera) into text on my FreeBSD laptop than by way of copy/paste. Any recommendations? A hunt-and-select clicky GUI probably wouldn't be any better than just copy/paste, but something like holding down Alt while typing 8253 might be an improvement. You can get multibyte characters in vim, if $TERM is something sensible like xterm and you use a font with the characters in it. See: I tend to use rxvt-unicode which, judging by my results (see below), must be a sensible terminal emulator. :help dig in vim. E.g: ^k DG - ° (degree) ^k Cu - € (euro) (in: iso8859-15) ^k Co - © (company) ^k o: - ö (o umlaut) You can also call them by number but I find the 2 characters easier to remember. Excellent! This works well for me. Thanks for the tip. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] MacUser, Nov. 1990: There comes a time in the history of any project when it becomes necessary to shoot the engineers and begin production. pgpG6QYbhV8fh.pgp Description: PGP signature
Re: interrobang and other fun characters
Em Ter, 2008-05-13 às 22:25 -0600, Chad Perrin escreveu: I'm looking for an easier way to insert interrobangs and other non-ASCII characters (em-dashes, et cetera) into text on my FreeBSD laptop than by way of copy/paste. Any recommendations? A hunt-and-select clicky GUI probably wouldn't be any better than just copy/paste, but something like holding down Alt while typing 8253 might be an improvement. Hello... seems that X (and than keyboard) have names for all symbols for example - çÇ - name ccedilla,Ccedilla and € (named EuroSign) you can use the program xmodmap and a custom map. to redefine all your keyboard... so if you define a META KEY (in my case the windows one...), you can type any kind of wierd symbol utf8 defines... (and it defines a lot of) take a look at here for my brazilian keyboard map... in an acer 5050 with a custom brazilian keyboard see xmodmap (man xmodmap...) you can use the program xev to show what key gives what code Have fun = keycode 8 = keycode 9 = Escape keycode 10 = 1 exclam onesuperior exclamdown keycode 11 = 2 at twosuperior onehalf oneeighth keycode 12 = 3 numbersign threesuperior threequarters keycode 13 = 4 dollar sterling onequarter keycode 14 = 5 percent cent threeeighths keycode 15 = 6 dead_diaeresis notsign fiveeighths keycode 16 = 7 ampersand braceleft seveneighths keycode 17 = 8 asterisk bracketleft trademark keycode 18 = 9 parenleft bracketright plusminus keycode 19 = 0 parenright braceright degree keycode 20 = minus underscore backslash questiondown keycode 21 = equal plus section dead_ogonek keycode 22 = BackSpace keycode 23 = Tab ISO_Left_Tab keycode 24 = q Q slash keycode 25 = w W question keycode 26 = e E keycode 27 = r R paragraph registered keycode 28 = t T tslash Tslash keycode 29 = y Y leftarrow yen keycode 30 = u U downarrow uparrow keycode 31 = i I rightarrow idotless keycode 32 = o O oslash Ooblique keycode 33 = p P thorn THORN keycode 34 = dead_acute dead_grave dead_breve keycode 35 = bracketleft braceleft ordfeminine keycode 36 = Return keycode 37 = Control_L keycode 38 = a A ae AE keycode 39 = s S ssharp section keycode 40 = d D eth ETH keycode 41 = f F dstroke keycode 42 = g G eng ENG keycode 43 = h H hstroke Hstroke keycode 44 = j J keycode 45 = k K kra ampersand keycode 46 = l L lstroke Lstroke keycode 48 = dead_tilde dead_circumflex dead_caron keycode 47 = ccedilla Ccedilla keycode 49 = apostrophe quotedbl keycode 50 = Shift_L keycode 51 = bracketright braceright masculine keycode 52 = z Z guillemotleft less keycode 53 = x X guillemotright greater keycode 54 = c C cent copyright keycode 55 = v V leftdoublequotemark grave keycode 56 = b B rightdoublequotemark apostrophe keycode 57 = n N keycode 58 = m M mu keycode 59 = comma less horizconnector multiply keycode 60 = period greater periodcentered division keycode 61 = semicolon colon keycode 62 = Shift_R keycode 63 = KP_Multiply keycode 64 = Alt_L keycode 65 = space keycode 66 = Caps_Lock keycode 67 = F1 keycode 68 = F2 keycode 69 = F3 keycode 70 = F4 keycode 71 = F5 keycode 72 = F6 keycode 73 = F7 keycode 74 = F8 keycode 75 = F9 keycode 76 = F10 keycode 77 = Num_Lock Pointer_EnableKeys keycode 78 = Scroll_Lock keycode 79 = KP_Home KP_7 keycode 80 = KP_Up KP_8 keycode 81 = KP_Prior KP_9 keycode 82 = KP_Subtract keycode 83 = KP_Left KP_4 keycode 84 = KP_Begin KP_5 keycode 85 = KP_Right KP_6 keycode 86 = KP_Add KP_Add keycode 87 = KP_End KP_1 keycode 88 = KP_Down KP_2 keycode 89 = KP_Next KP_3 keycode 90 = KP_Insert KP_0 keycode 91 = KP_Delete KP_Separator keycode 92 = keycode 93 = keycode 94 = backslash bar keycode 95 = F11 keycode 96 = F12 keycode 97 = Home keycode 98 = Up keycode 99 = Prior keycode 100 = Left keycode 101 = keycode 102 = Right keycode 103 = End keycode 104 = Down keycode 105 = Next keycode 106 = Insert keycode 107 = Delete keycode 108 = KP_Enter keycode 109 = slash question degree keycode 110 = Pause Break keycode 111 = Print Execute keycode 112 = slash keycode 113 = Mode_switch keycode 114 = !keycode 115 = Meta_L keycode 116 = Multi_key keycode 117 = Menu keycode 118 = keycode 119 = keycode 120 = keycode 121 = keycode 122 = keycode 123 = slash question degree questiondown keycode 124 = keycode 125 = keycode 126 = keycode 127 = keycode 128 = keycode 129 = keycode 130 = keycode 131 = keycode 132 = keycode 133 = keycode 134 = KP_Decimal keycode 179 = EuroSign keycode 180 = dollar keycode 211 = slash question keycode 228 = slash question clear Mod1 clear Mod3 clear Mod4 add Mod1 = Alt_L add Mod3 = Mode_switch add Mod4 = Meta_L ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: interrobang and other fun characters
On Wed, May 14, 2008 at 09:34:15AM -0300, sergio lenzi wrote: seems that X (and than keyboard) have names for all symbols for example - çÇ - name ccedilla,Ccedilla and € (named EuroSign) you can use the program xmodmap and a custom map. to redefine all your keyboard... so if you define a META KEY (in my case the windows one...), you can type any kind of wierd symbol utf8 defines... (and it defines a lot of) take a look at here for my brazilian keyboard map... in an acer 5050 with a custom brazilian keyboard see xmodmap (man xmodmap...) you can use the program xev to show what key gives what code Thanks. I'll look into that. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Ben Franklin: As we enjoy great Advantages from the Inventions of others we should be glad of an Opportunity to serve others by any Invention of ours, and this we should do freely and generously. pgpYi5DUcfPPM.pgp Description: PGP signature
Re: interrobang and other fun characters
On Tue, May 13, 2008 at 10:25:37PM -0600, Chad Perrin wrote: I'm looking for an easier way to insert interrobangs and other non-ASCII characters (em-dashes, et cetera) into text on my FreeBSD laptop than by way of copy/paste. Any recommendations? A hunt-and-select clicky GUI probably wouldn't be any better than just copy/paste, but something like holding down Alt while typing 8253 might be an improvement. You can get multibyte characters in vim, if $TERM is something sensible like xterm and you use a font with the characters in it. See: :help dig in vim. E.g: ^k DG - ° (degree) ^k Cu - € (euro) (in: iso8859-15) ^k Co - © (company) ^k o: - ö (o umlaut) You can also call them by number but I find the 2 characters easier to remember. Use xfd(1) and xlsfonts(1) to see which fonts have which characters. I always use an iso8859-15 font because it's got the Euro. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
interrobang and other fun characters
I'm looking for an easier way to insert interrobangs and other non-ASCII characters (em-dashes, et cetera) into text on my FreeBSD laptop than by way of copy/paste. Any recommendations? A hunt-and-select clicky GUI probably wouldn't be any better than just copy/paste, but something like holding down Alt while typing 8253 might be an improvement. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Rudy Giuliani: You have free speech so I can be heard. pgp1CdZ4Six43.pgp Description: PGP signature
Re: interrobang and other fun characters
On Tuesday, 13 May 2008 at 22:25:37 -0600, Chad Perrin wrote: : I'm looking for an easier way to insert interrobangs and other non-ASCII : characters (em-dashes, et cetera) into text on my FreeBSD laptop than by : way of copy/paste. Any recommendations? A hunt-and-select clicky GUI : probably wouldn't be any better than just copy/paste, but something like : holding down Alt while typing 8253 might be an improvement. Like â? or like ã? or like ã? How about è? I just used KCharSelect. It's listed under ports[1]. I have no idea what tools exist out there that allows you to do that using certain keybindings though. [1] http://www.freebsdports.info/ports/misc/kdeutils3.html Cheers, Bikal KC (Please use: nepbababucxspamfree_at_yahoo DOT ca) Journal: http://nepbabu.livejournal.com || pubkey: see header Rule 6: There is no Rule 6. - Rob Pike Those who can make you believe absurdities, can make you commit atrocities. - François-Marie Arouet pgpxrS4DaL3RC.pgp Description: PGP signature