You are not logged in.
Pages: 1
Hi I've this problem: I use Arch with XFCE and terminal doesn't recognize d key but it recognize D key! in other applications "d" works fine. I think this problem is come after pacman -Syu. And if I paste a word with "d" inside, terminal doesn't put the "d".
I've also tried with gnome terminal but the problem still the same.
Thanks a lot!
Offline
Any chance it was remapped to something else? What happens if you create a new user (with a clean profile) and log in as that user?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Sorry I'm not very able. How can I create a new user if the "adduser" command requires two "d"?
Offline
Sorry I'm not very able. How can I create a new user if the "adduser" command requires two "d"?
Open your favorite text editor and create a small shell script for that ?
Offline
Sorry I'm not very able. How can I create a new user if the "adduser" command requires two "d"?
Or simply cut and paste "adduser" from this message to the terminal.
Offline
Still Life wrote:Sorry I'm not very able. How can I create a new user if the "adduser" command requires two "d"?
Or simply cut and paste "adduser" from this message to the terminal.
Or use tty... many options
GCS d- s-:+ a12 C++++ U++++ L+++ P--- E--- W+++ N+ o K- w--- O? M-- V? PS PE
Y- PGP? t? 5? X? R tv b+++ DI+ D- G++ e++ h! !r !y
Please ignore me... I'm pretty weird...
Offline
Another one!
type '/usr/sbin/a??user'
Now the cool solution
$(printf a\\x64\\x64user)
Use printf and the ascii value of the char!
EDIT: With you like to use the decimal value, and are too lazy to convert to hex:
$(printf $(printf a\\%03o\\%03ouser 100 100))
Last edited by kazuo (2010-05-16 15:28:34)
Offline
Another one!
type '/usr/sbin/a??user'Now the cool solution
$(printf a\\x64\\x64user)
Use printf and the ascii value of the char!
I win!
$(perl -e 'printf("a%s%suser\n", chr('100') x 2);')
Offline
I win!
$(perl -e 'printf("a%s%suser\n", chr('100') x 2);')
No, you dont
$ time (for i in {1..1000}; perl -e 'printf("a%s%suser\n", chr('100') x 2);' >| /dev/null)
(; for i in {1..1000}; do; perl -e 'printf("a%s%suser\n", chr('100') x 2);' ) 0.50s user 0.64s system 32% cpu 3.551 total
$ time (for i in {1..1000}; printf a\\x64\\x64user >| /dev/null)
(; for i in {1..1000}; do; printf a\\x64\\x64user >| /dev/null; done; ) 0.00s user 0.01s system 91% cpu 0.015 total
Mine is ways ways ways much faster! Ha!
Offline
dmz wrote:I win!
$(perl -e 'printf("a%s%suser\n", chr('100') x 2);')
No, you dont
$ time (for i in {1..1000}; perl -e 'printf("a%s%suser\n", chr('100') x 2);' >| /dev/null) (; for i in {1..1000}; do; perl -e 'printf("a%s%suser\n", chr('100') x 2);' ) 0.50s user 0.64s system 32% cpu 3.551 total $ time (for i in {1..1000}; printf a\\x64\\x64user >| /dev/null) (; for i in {1..1000}; do; printf a\\x64\\x64user >| /dev/null; done; ) 0.00s user 0.01s system 91% cpu 0.015 total
Mine is ways ways ways much faster! Ha!
Hah! Mine is SO much sexier!
#!/usr/bin/perl
eval eval '"'.
('['^'+').('['^
')').('`'|')').('`'|'.').
('['^'/').('`'|'&').'('.('\\').
'"'.('`'|'!').'%'.('['^'(').('%').(
'['^'(').('['^'.').('['^'(').('`'|'%').
+( ( ( (( ('[')))))^ ')').'\\'.''. '\\'.('`'| (( ( ( ((
(( ( ( (( '.'))))))) )))))).'\\' .'"'.','.( (( ( ( ((
'{'))))) )^'[').('{' ^'[').('`'| '#').("\`"| ('(')).(
'['^')').'('."'".('^'^( '`'|('/'))).( '^'^('`'|'.')).(('^')^(
'`'|'.'))."'".')'.('{'^'[').('['^'#').('{'^'[').('^'^('`'|"\,")).
')' .';'.('!'^'+').'"';$:='.'^'~';$~='@'|'(';$^=')' ^((
'[') );$/='`'|'.';$,='('^'}';$\='`'|'!';$:=')'^"\}"; ($~)
=(( '*'))|'`';$^='+'^'_';$/='&'|'@';$,='['&"\~";$\= ','
^'|';$:="\."^ '~';$~='@'|'(';$^=')'^'[';$/='`'|"\."; $,='('^"\}";
$\='`'|'!';$: =')'^'}';$~='*'|'`';$^='+'^('_');$/= '&'|"\@";$,=
'[' &'~' ;$\=','^'|';$:='.'^'~';$~=('@')| '(' ;$^
=')' ^'[';$/='`'|'.';$,='('^"\}"; $\=
'`'| '!';$:=')'^'}';$~='*'| '`'
;($^) ='+'
^"\_"; $/='&'|'@';$,= "\["&
'~';$\= ','^('|');$:= ('.')^
'~';$~='@' |'(';$^=')' ^'[';
$/='`'|'.'; $,='('^'}' ;
$\='`'| '!';$:=')'^
'}';$~="\*"|
'`';$^='+'^
('_');#;#
Offline
Wtf?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
dmz, thank you for making my day. Can you please explain that code?
Offline
Pages: 1