If your distro follows the LSB, it should have a file at:
/etc/lsb-release
The content of this file on my Linux box:[EMAIL PROTECTED]:/etc$ cat lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=5.10
DISTRIB_CODENAME=breezy
DISTRIB_DESCRIPTION="Ubuntu (The Breezy Badger Release)"
[EMAIL PROTECTED]:/etc
Alain Michaud wrote:
> Hi,
>
> here is some info that can be usefull (for some it is trivial: sorry!):
>
> if you type (linux):
>
> uname -a
>
> you get the kernel version but not the distribution release!
>
> in fact this information is available:
>
>/etc/mandriva-release
>
> or
>
>
Hi,
here is some info that can be usefull (for some it is trivial: sorry!):
if you type (linux):
uname -a
you get the kernel version but not the distribution release!
in fact this information is available:
/etc/mandriva-release
or
/etc/suse-release
will tell you what distribution i
> > You should be able to get almost all of it from /proc normal users have
> > read-only privileges there, it's basically a case of reading files to get
> > the
> > information you want.
>
> This is a very simple and interesting approach.
> I checked suggested folder and found alot of files mo
On Monday 06 March 2006 01:24, Panagiotis Sidiropoulos wrote:
> > You should be able to get almost all of it from /proc normal users have
> > read-only privileges there, it's basically a case of reading files to get
> > the information you want.
>
> This is a very simple and interesting approach.
>
On Sun, 05 Mar 2006 23:52:06 +
Panagiotis Sidiropoulos <[EMAIL PROTECTED]> wrote:
> What I learned working with Linux is that codepage cannot be anything
> else but utf, am I wrong?
Yes, you are wrong.
The LANG environment variable contains this information
echo $LANG
Examples:
de_DE.ISO-885
What I learned working with Linux is that codepage cannot be anything
else but utf, am I wrong?
Panagiotis
Στις 05-03-2006, ημέρα Κυρ, και ώρα 22:32 +0100, ο/η darekM έγραψε:
> Hi
> How to obtain current codepage (UTF, 8859-?) under Linux
>
>
> Darek
>
> _
Hi
How to obtain current codepage (UTF, 8859-?) under Linux
Darek
_
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
> You should be able to get almost all of it from /proc normal users have
> read-only privileges there, it's basically a case of reading files to get the
> information you want.
This is a very simple and interesting approach.
I checked suggested folder and found alot of files most of them having
; >
> > > with verInfo do
> > > Result := WinVersion + #13#10 +
> > > Format('%d.%d (Build %d) %s',
> > > [dwMajorVersion, dwMinorVersion, dwBuildNumber,
> > > string(verInfo.szCSDVersion)]);
> > > end;
(Build %d) %s',
> > [dwMajorVersion, dwMinorVersion, dwBuildNumber,
> > string(verInfo.szCSDVersion)]);
> > end;
> > end;
> >
> >
> > - Original Message -
> > From: "Panagiotis Sidiropoulos" <[EMAI
> Maybe your outgoing mail server adds it? Maybe your incoming mailserver
> adds it?
I never think of it this way, I'll check it, thank you.
> P.S. It would be nice if you could adjust your clock / time zone
> settings. Your last mail was sent two hours into the future. It helps
> sorting my m
Hello,
There are probably better ways to do this, but the command "dir" on
Windows will give you the HD serial number. It´s hard to parse this,
since the command result can be on any language.
--
Felipe Monteiro de Carvalho
_
T
On Sunday 05 March 2006 22:29, Panagiotis Sidiropoulos wrote:
> I found Linux command "hdparm" at
> http://www.webmasterworld.com/forum40/957.htm. This command provides a
> part of information I need, as follows. Is it possible to retrieve this
> information from inside a Lazarus app but without ro
Panagiotis Sidiropoulos wrote:
I had problems again receiving messages to the list since yesterday
noon. Today I had to re-subscribe in order to get alive again. Now, a
reply from me considered as potential SPAM. Does anyone know why?
Maybe your outgoing mail server adds it? Maybe your incomi
I found Linux command "hdparm" at
http://www.webmasterworld.com/forum40/957.htm. This command provides a
part of information I need, as follows. Is it possible to retrieve this
information from inside a Lazarus app but without root previledges?
#> hdparm -i /dev/hda
/dev/hda:
dows 95/98/ME';
> >
> > with verInfo do
> > Result := WinVersion + #13#10 +
> > Format('%d.%d (Build %d) %s',
> > [dwMajorVersion, dwMinorVersion, dwBuildNumber,
> > string(verInfo.szCSDVersion)]);
> > end;
sion, dwMinorVersion, dwBuildNumber,
> string(verInfo.szCSDVersion)]);
> end;
> end;
>
>
> - Original Message -
> From: "Panagiotis Sidiropoulos" <[EMAIL PROTECTED]>
> To:
> Sent: Sunday, March 05, 2006 7:27 PM
> Subject: [lazarus] System
I get Windows version like this:
type
TVersaoDoWindows =
(
vwDesconhecida,
// Informações simplificadas
Serie9x, // 32s em 3.11, 95, 98 e Me
SerieNT, // NT 3.51, NT, 2000 e XP
// Informações completas
vwWin32sEm311,
vwWinNT351,
vwWin95,
vwWinNT,
vwW
;
end;
- Original Message -
From: "Panagiotis Sidiropoulos" <[EMAIL PROTECTED]>
To:
Sent: Sunday, March 05, 2006 7:27 PM
Subject: [lazarus] System Information
> I need to get information regarding system, such as user login name, OS
> Version/Distribution, Hard drive s
I need to get information regarding system, such as user login name, OS
Version/Distribution, Hard drive serial number, etc. (OS indepented).
Can anyone direct me where to find infomation and/or samples on this?
Panagiotis
_
To
21 matches
Mail list logo