[Konsole-devel] [Bug 87481] Konsole freezes on startup when unable to allocate PTY

Kurt V.Hindenburg kurt.hindenburg at kdemail.net
Mon Apr 11 04:45:43 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=87481         




------- Additional Comments From kurt.hindenburg kdemail net  2005-04-11 06:45 -------
CVS commit by hindenburg: 

Simplify PTY error message.

CCBUGS: 87481


  M +3 -3      session.cpp   1.104


--- kdebase/konsole/konsole/session.cpp  #1.103:1.104
 @ -97,8 +97,8  @ TESession::TESession(TEWidget* _te, cons
 void TESession::ptyError()
 {
+  // FIXME:  sh->error() is always empty
   if ( sh->error().isEmpty() )
-    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/"), 
+    KMessageBox::error( te->topLevelWidget(),
+       i18n("Konsole is unable to open a PTY (pseudo teletype)!  This is likely due to an incorrect configuration of the PTY devices.  Konsole needs to have read/write access to the PTY devices."), 
        i18n("A fatal error has occurred!") );
   else



More information about the konsole-devel mailing list