вида echo "blahblahblah" например

Модератор: terminus
Вот .cshrc:Гость писал(а):возможно это прописано в .cshrc или подобном.
вида echo "blahblahblah" например
Код: Выделить всё
>cat .cshrc
# $FreeBSD: src/share/skel/dot.cshrc,v 1.14.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
# A righteous umask
umask 22
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
set prompt="%{^[[40;33;1m%}[%P] %{^[[40;32;1m%}%m%{^[[40;31;1m%}@%{^[[40;34;1m%}%n %{^[[40;31;1m%}[%c]%{^[[40;32;1m%}%#"
setenv EDITOR ee
setenv PAGER more
setenv BLOCKSIZE K
if ($?prompt) then
# An interactive shell -- set some stuff up
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif
Код: Выделить всё
>cat /etc/motd
FreeBSD 8.1-RELEASE (REDQUEEN) #0: Sun Sep 5 01:41:31 EEST 2010
Welcome to FreeBSD!
он конечно же использует csh как шелл? или нет?.cshrc который лежит в директории юзвера
Вы это имеете ввиду?Гость писал(а):он конечно же использует csh как шелл? или нет?.cshrc который лежит в директории юзвера
Код: Выделить всё
[4:18:19] FOX@root [fox]#pw usershow fox
fox:*:1001:0:russian:0:0:fox:/home/fox:/bin/csh
Я нашёл виновика торжества, методом тыка...Гость писал(а):значит это в ~/.profile или ~/.login
Код: Выделить всё
.login
Код: Выделить всё
# $FreeBSD: src/share/skel/dot.login,v 1.17.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# .login - csh login script, read by login shell, after `.cshrc' at login.
#
# see also csh(1), environ(7).
#
if ( -x /usr/games/fortune ) /usr/games/fortune freebsd-tips
Код: Выделить всё
[4:51:30] FOX@root [~]#cat ./.login
# $FreeBSD: src/etc/root/dot.login,v 1.22.36.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# .login - csh login script, read by login shell, after `.cshrc' at login.
#
# see also csh(1), environ(7).
#
# Uncomment to display a random cookie each login:
# [ -x /usr/games/fortune ] && /usr/games/fortune -s
а зачем? я в DOS на 256 цветах отличные картинки видел.FreeBSP писал(а):а у 7 подозреваю что на этапе загрузки грузится драйвер видюхи для многоцветного режима
минусы есть?manefesto писал(а):я ставил
Код: Выделить всё
/*-
* Copyright (c) 2008-2009 Oliver Fromme <olli@fromme.com> <olli@secnetix.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
/* VGA BIOS functions */
void gfx_setmode(int mode, int xres, int yres, int depth);
int gfx_getmode(void);
void gfx_putpixel(int x, int y, int color);
void gfx_setborder(int color);
void gfx_setcolor(int index, int color);
void gfx_setcolorlist(char *table);
void gfx_setblink(int enable);
void gfx_setrgb(int color, int red, int green, int blue);
void gfx_setrgblist(int start, int count, char *table);
int gfx_isvga(void);
void gfx_vesacheck(void);
/* VGA graphics functions */
void gfx_usecolor(int color);
void gfx_usergbcolor(int r, int g, int b);
void gfx_setrgbborder(int r, int g, int b);
void gfx_pixel(int x, int y);
void gfx_vline(int x, int y, int length);
void gfx_hline(int x, int y, int length);
void gfx_rect(int x, int y, int width, int height);
void gfx_line(int x1, int y1, int x2, int y2);
void gfx_triangle(int x1, int y1, int x2, int y2, int x3, int y3);
void gfx_circle(int x, int y, int diameter, int arcmask);
void gfx_disc(int x, int y, int diameter);
void gfx_text(int *x, int *y, unsigned char *text, int length);
int gfx_textwidth(unsigned char *text, int length);
void gfx_character(int *x, int *y, int c);
struct fontinfo *gfx_loadfont(char *filename);
struct fontinfo *gfx_usefont(struct fontinfo *new_font);
void gfx_freefont(struct fontinfo *font);
unsigned char *gfx_loadpcx(char *filename);
void gfx_freepcx(unsigned char *pcx);
void gfx_showpcx(unsigned char *pcx, int xstart, int ystart);