Re: i did it again

2005-04-02 Thread Giorgos Keramidas
On 2005-04-01 23:46, Gert Cuykens <[EMAIL PROTECTED]> wrote:
>On Apr 1, 2005 11:57 AM, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
>> On 2005-04-01 03:46, Gert Cuykens <[EMAIL PROTECTED]> wrote:
>> > so termcap is like a x server but then for terminals ?
>>
>> Not really.  The termcap(5) manpage describes this in (hopefully)
>> adequate detail:
>>
>> %  The termcap file is a data base describing terminals, used, for
>> %  example, by vi(1) and ncurses(3).  Terminals are described in
>> %  termcap by giving a set of capabilities that they have and by
>> %  describing how operations are performed.  Padding requirements
>> %  and initialization sequences are included in termcap.
>
> isnt that the same as xserver does for xclients telling the clients
> what they can and cant do ?

In some ways yes, in other ways no.  The X servers do a better job of
abstracting away some hardware features than termcap.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i did it again

2005-04-01 Thread Gert Cuykens
On Apr 1, 2005 11:57 AM, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> On 2005-04-01 03:46, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> >On Fri, 1 Apr 2005 04:42:55 +0300, Giorgos Keramidas
> ><[EMAIL PROTECTED]> wrote:
> >>On 2005-04-01 03:31, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> >>> what is a termcap ?
> >>
> >> There's a manpage for this one.
> >
> >
> > so termcap is like a x server but then for terminals ?
> 
> Not really.  The termcap(5) manpage describes this in (hopefully)
> adequate detail:
> 
> % TERMCAP(5)FreeBSD File Formats Manual   TERMCAP(5)
> %
> % NAME
> %  termcap -- terminal capability data base
> %
> % SYNOPSIS
> %  termcap
> %
> % DESCRIPTION
> %  The termcap file is a data base describing terminals, used, for
> %  example, by vi(1) and ncurses(3).  Terminals are described in
> %  termcap by giving a set of capabilities that they have and by
> %  describing how operations are performed.  Padding requirements
> %  and initialization sequences are included in termcap.
> %  [...]
> 

isnt that the same as xserver does for xclients telling the clients
what they can and cant do ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i did it again

2005-04-01 Thread Giorgos Keramidas
On 2005-04-01 03:46, Gert Cuykens <[EMAIL PROTECTED]> wrote:
>On Fri, 1 Apr 2005 04:42:55 +0300, Giorgos Keramidas
><[EMAIL PROTECTED]> wrote:
>>On 2005-04-01 03:31, Gert Cuykens <[EMAIL PROTECTED]> wrote:
>>> what is a termcap ?
>>
>> There's a manpage for this one.
>
>
> so termcap is like a x server but then for terminals ?

Not really.  The termcap(5) manpage describes this in (hopefully)
adequate detail:

% TERMCAP(5)FreeBSD File Formats Manual   TERMCAP(5)
%
% NAME
%  termcap -- terminal capability data base
%
% SYNOPSIS
%  termcap
%
% DESCRIPTION
%  The termcap file is a data base describing terminals, used, for
%  example, by vi(1) and ncurses(3).  Terminals are described in
%  termcap by giving a set of capabilities that they have and by
%  describing how operations are performed.  Padding requirements
%  and initialization sequences are included in termcap.
%  [...]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i did it again

2005-03-31 Thread Gert Cuykens
On Fri, 1 Apr 2005 04:42:55 +0300, Giorgos Keramidas
<[EMAIL PROTECTED]> wrote:
> On 2005-04-01 03:31, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> > > 5. Mount all the rest, and then set your TERM to cons25 (TERM should be
> > > set IIRC only after termcap is available):
> > >
> > > # mount -va
> > > # TERM=cons25 ; export TERM
> >
> > what is IIRC ?
> 
> ``If I recall correctly''
> 
> > what is a termcap ?
> 
> There's a manpage for this one.
> 

so termcap is like a x server but then for terminals ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i did it again

2005-03-31 Thread Giorgos Keramidas
On 2005-04-01 03:31, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> > 5. Mount all the rest, and then set your TERM to cons25 (TERM should be
> > set IIRC only after termcap is available):
> >
> > # mount -va
> > # TERM=cons25 ; export TERM
>
> what is IIRC ?

``If I recall correctly''

> what is a termcap ?

There's a manpage for this one.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i did it again

2005-03-31 Thread Gert Cuykens
On Fri, 1 Apr 2005 04:21:07 +0300, Giorgos Keramidas
<[EMAIL PROTECTED]> wrote:
> On 2005-04-01 01:29, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> > i putted mysqlsafe in my rc.local and found out ctrl + c doesnt work :)
> > In single user mode i wanted to edit the file but joe crashed and vi
> > was very strange. it was like it only had one line to display the file
> > and the arrow keys where acting strange ?
> 
> Bring up all the file systems manually, and you should be set to edit
> any file with TERM=cons25.  This should be something like:
> 
> 1. Start in single-user mode.  When you enter the root shell of the
> single user mode, there's only one filesystem (the root filesystem) and
> this one is mounted read-only.
> 
> 2. If your system clock is set to local time (and not UTC), run
> adjkerntz.
> 
> # adjkerntz -i
> 
> 3. Do minimal sanity checks for all file systems:
> 
> # fsck -p
> 
> 4. Remount the root file system as read-write:
> 
> # mount -u /
> 
> 5. Mount all the rest, and then set your TERM to cons25 (TERM should be
> set IIRC only after termcap is available):
> 
> # mount -va
> # TERM=cons25 ; export TERM
> 
> 6. Edit your /etc/rc.local with any editor you prefer.
> 
> 7. Exit the single user shell and let the system go on booting in
> multi-user mode, as usual.
> 

what is IIRC ?
what is a termcap ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i did it again

2005-03-31 Thread Giorgos Keramidas
On 2005-04-01 01:29, Gert Cuykens <[EMAIL PROTECTED]> wrote:
> i putted mysqlsafe in my rc.local and found out ctrl + c doesnt work :)
> In single user mode i wanted to edit the file but joe crashed and vi
> was very strange. it was like it only had one line to display the file
> and the arrow keys where acting strange ?

Bring up all the file systems manually, and you should be set to edit
any file with TERM=cons25.  This should be something like:

1. Start in single-user mode.  When you enter the root shell of the
single user mode, there's only one filesystem (the root filesystem) and
this one is mounted read-only.

2. If your system clock is set to local time (and not UTC), run
adjkerntz.

# adjkerntz -i

3. Do minimal sanity checks for all file systems:

# fsck -p

4. Remount the root file system as read-write:

# mount -u /

5. Mount all the rest, and then set your TERM to cons25 (TERM should be
set IIRC only after termcap is available):

# mount -va
# TERM=cons25 ; export TERM

6. Edit your /etc/rc.local with any editor you prefer.

7. Exit the single user shell and let the system go on booting in
multi-user mode, as usual.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


i did it again

2005-03-31 Thread Gert Cuykens
i putted mysqlsafe in my rc.local and found out ctrl + c doesnt work :) 
In single user mode i wanted to edit the file but joe crashed and vi
was very strange. it was like it only had one line to display the file
and the arrow keys where acting strange ? Any ideas how i can fix this
? I read somthing with missing /etc/termcap ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"