Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cat //etc/localime posible error?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
g0su
Guru
Guru


Joined: 14 May 2003
Posts: 437
Location: Dresden, Deutschland

PostPosted: Fri Aug 22, 2003 8:40 am    Post subject: cat //etc/localime posible error? Reply with quote

Buenas a todos, esube mirando algunas cosillas cuando le hice sin darme cuenta un cat al localtime, cual fue mi sorpresa cuando en la consola el teclado cambio y en vez de letras me aparecia por pantalla simbolos. Quisiera saber como restaurar la consola, evidentemente si reinicio se soluciona pero no me seria viable mas adelante cuano tenga la pagina web lista, mas que nada por si me ocurriera de nuevo.

Un saludo y gracias
_________________
Busco desarrollador con complejo de proxy, interesados MP
Back to top
View user's profile Send private message
SpOeK
Apprentice
Apprentice


Joined: 07 Jan 2003
Posts: 164
Location: Getafe - Madrid (España)

PostPosted: Fri Aug 22, 2003 8:47 pm    Post subject: Reply with quote

Hola, ¿has probado con el comando reset? Te resetea la terminal.

Un saludo.
Back to top
View user's profile Send private message
neuronal
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 174
Location: Alicante/Spain

PostPosted: Wed Aug 27, 2003 3:34 pm    Post subject: Reply with quote

Hola g0su

El problema es que has imprimido por pantalla un archivo binario y el resultado es que la sesión con la que estás trabajando se ha corrompido. Una de las posibles soluciones es pulsar las teclas: Ctrl+V+O (es decir, pulsas la tecla Ctrl y sin soltarla pulsas V y luego pulsas O). Así se arregla el problemilla:



Code:
$ cat /etc/localtime
Íô’pðp¾öê`ºÅðŸ *ð ŽÊp¡^pªïpªç_ð­É§ð®§#ð¯ Op°‡ð±‰kð²p"p³rˆp´Pp¨÷pÃXNðÄ9¿pÅ80ðÆ:–ðÇ!MpÇõ&
#142;ðËõÞ`Ì–µ`ÍÃK`΢àÏ£-`ЍØ`у`Ò`™pÓbñ`ÔA¾àÙFàÙæ¸ð
Ôtp
   »à
¤9`Šýð…làtpd'TMD3ú#ëÜÍó¾ã¯Ó Ã‘½¬®œŸŒ| lr!\c"LT#<E$,6%'&
                                                                   'C'õ4(å%)Ր*Ő+´ø,¤é-”ڐ.„ː/t¼0d­1]Ù2r´3=»4R–562x6ý8
8Ýa9ûv:½C;ÛX<¦_=»:>†A?›@f#A„9BFCdD%çECýFɐG#ßGîæ
IÁIÎÈJã£K®ªLÌ¿MŽŒN¬¡OnnPŒƒQWŠRleS7lTLGUNV,)V\ ]´ì^ó_”Î`_Õa}êb?·c]̐d™e=®µgg藐hýriÈyjÝTk¨[lÆqmˆ=
n¦Sohp†5qQ<rfs1tEùuv/vðâx÷xÐÄyîِz°¦{λ|™Â}®~y¤Ž           WESTWETWEMTCESTCET^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^
[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c[b]^O[/]
bash: 1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c: command not found
neuronal@meteora:~$


La verdad que hay formas mucho más elegantes de arreglar esto;. El el foro de Tips & Tricks ya se ha hablado de esto. Aquí tienes el hilo

Un saludo
_________________
#!/Enrique/Barbeito/García ...
http://enrique.barbeito.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum