Re: [dwm] st

From: John Norton <>
Date: Tue, 8 Aug 2006 22:34:19 -0500

On 01:25 Wed 09 Aug , Marco Squarcina wrote:
> On Tue, Aug 08, 2006 at 12:42:42PM -0400, John Gosset wrote:
> > Unfortunately, at the moment, I get the following error
> > whenever I run st:
> >
> > st: Can't open a pseudo teletype
> > st: Quitting
> I have the same issue.
> I gave a look to its code, and I *think* (I do not know C :/) it's using
> BSD pseudo-terminals, which are not supported on my OS.
> man pty should be quite clear about it
> Cheers,
> --
> Marco Squarcina >|< >|< GPG key: 6E47BFC5
I am having the same issues, however I found a workaround that may be a
great hint for those troubleshooting this (and that have more knowledge
on the subject than I).

I was able to run st as root, which probably means there is a permission
issue in the BSD psuedo-teletype terminals (looking through the source I
believe /dev/ptyxx as master and /dev/ttyxx as slave means they are
indeed BSD type not UNIX98).

I also had an issue with the fallback of `csh' as I do not have said
shell. It is in main.c, which I just replaced with `bash' instead.

I know these are probably amateur workarounds, but I hope that their
nature could point some more knowledgeable people in the right direction.


Received on Wed Aug 09 2006 - 05:34:50 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:03 UTC