putty и перевод строки

  • хочу с копировать в буфер обмена сообщения из putty


    выделяю, жму среднюю кнопку мыши, вставляю из буфера - получаю вот что



    arvdr:/home/cdspeed# makegcc -Wall -O2 -Wno-unused -o cdspeed cdspeed.ccdspeed.c:3:19: stdio.h: No such file or directorycdspeed.c:4:20: stdlib.h: No such file or directorycdspeed.c:5:22: sys/stat.h: No such file or directorycdspeed.c:6:20: unistd.h: No such file or directorycdspeed.c:7:19: ctype.h: No such file or directorycdspeed.c:8:21: strings.h: No such file or directorycdspeed.c:9:20: string.h: No such file or directorycdspeed.c:10:23: sys/ioctl.h: No such file or directorycdspeed.c:11:25: linux/cdrom.h: No such file or directorycdspeed.c:12:23: sys/types.h: No such file or directorycdspeed.c:13:19: fcntl.h: No such file or directorycdspeed.c: In function `help':cdspeed.c:26: warning: implicit declaration of function `printf'cdspeed.c:49: warning: implicit declaration of function `puts'cdspeed.c:51: warning: implicit declaration of function `exit'cdspeed.c: In function `main':cdspeed.c:63: warning: implicit declaration of function `getopt'cdspeed.c:67: warning: implicit declaration of function `malloc'cdspeed.c:67: warning: implicit declaration of function `strlen'cdspeed.c:68: warning: implicit declaration of function `strcpy'cdspeed.c:71: warning: implicit declaration of function `atoi'cdspeed.c:73: warning: implicit declaration of function `fprintf'cdspeed.c:73: error: `stderr' undeclared (first use in this function)cdspeed.c:73: error: (Each undeclared identifier is reported only oncecdspeed.c:73: error: for each function it appears in.)cdspeed.c:92: warning: implicit declaration of function `open'cdspeed.c:92: error: `O_RDONLY' undeclared (first use in this function)cdspeed.c:92: error: `O_NONBLOCK' undeclared (first use in this function)cdspeed.c:97: warning: implicit declaration of function `ioctl'cdspeed.c:97: error: `CDROM_SELECT_SPEED' undeclared (first use in this function)cdspeed.c:101: warning: implicit declaration of function `close'make: *** [cdspeed] Error 1



    короче, переводы строки пропали - это лечится ?

  • заодно и про компиляцию спрошу


    arvdr:/home/cdspeed# make
    gcc -Wall -O2 -Wno-unused -o cdspeed cdspeed.c
    cdspeed.c:3:19: stdio.h: No such file or directory
    cdspeed.c:4:20: stdlib.h: No such file or directory
    cdspeed.c:5:22: sys/stat.h: No such file or directory
    cdspeed.c:6:20: unistd.h: No such file or directory
    cdspeed.c:7:19: ctype.h: No such file or directory
    cdspeed.c:8:21: strings.h: No such file or directory


    .......................



    что ему не хватает ?

  • eisfair setup
    base: 1.1.3 eiskernel: 1.0.13 (2.4.26-1)







    1: System administration


    2: Package administration


    3: Service administration


    4: User administration


    0: Exit







    Command (1-4, ENTER=Return 0=Exit)


    Я вот по другому делаю ,нажимаю левую кнопку на мышке и маркирую текст. В другоу программе нажимаю на правую и вставить и вот что получилось!

  • >>нажимаю левую кнопку на мышке и маркирую текст.


    f как в буфер то копируешь ?


    >>В другоу программе нажимаю на >>правую и вставить и вот что получилось!


    не прокатывает. в другой прогрмме вставляется то, что копировал ранее в буфер обмена стандартным путем


    Забыл сказать, что у меня putty под линуксом.
    В виндузовой версии - все ОК.



    >>eisfair setup
    >>base: 1.1.3 eiskernel: 1.0.13 (2.4.26-1)


    вот тут ты что имеешь ввиду ?

  • Цитата

    Со слов пользователя free-x
    и зачем нужен putty из под Linux? Других нормальных консолей нет (konsole, gterm,xterm) и из под них ssh на нужный сервер?


    хе-хе, действительно зачем ? :) так что убираю из быстрого запуска путти.
    я по умолчанию юзаю gnome-terminal, пока полет нормальный.