[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/konsole/konsole
From: Kurt Hindenburg <kurt.hindenburg () kdemail ! net>
Date: 2005-04-08 18:41:35
Message-ID: 20050408184135.2712B648 () office ! kde ! org
[Download RAW message or body]
CVS commit by hindenburg:
Try to be more helpful when unable to open a PTY.
CCBUGS: 87481
M +6 -3 session.cpp 1.103
--- kdebase/konsole/konsole/session.cpp #1.102:1.103
@@ -98,5 +98,8 @@ void TESession::ptyError()
{
if ( sh->error().isEmpty() )
- KMessageBox::error(te->topLevelWidget(), i18n("Unable to allocate a pseudo \
teletype!")); + KMessageBox::detailedError( te->topLevelWidget(),
+ i18n("Konsole is unable to open a pseudo teletype!"),
+ i18n("Konsole needs to have read/write access to the system's PTYs. The \
exact location of the PTYs depends on the Linux kernel version (2.4.x or 2.6.x), the \
kernel configuration and which dev-filesystem (devfs or udev) is being used. \nUsing \
Linux kernel 2.6.x and udev this is typically /dev/pts/"), + i18n("A fatal \
error has occurred!") ); else
KMessageBox::error(te->topLevelWidget(), sh->error());
@@ -139,6 +142,6 @@ void TESession::run()
("DCOPRef("+appId+",konsole)").latin1(),
("DCOPRef("+appId+","+sessionId+")").latin1());
- if (result < 0) { // Error in creating pseudo teletype
- kdWarning()<<"Unable to allocate a pseudo teletype!"<<endl;
+ if (result < 0) { // Error in opening pseudo teletype
+ kdWarning()<<"Unable to open a pseudo teletype!"<<endl;
QTimer::singleShot(0, this, SLOT(ptyError()));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic